Cookies on Macro by Mark.We use essential cookies for sign-in, locale, and security. With your permission, we also use optional cookies for preferences, for analytics, and for advertising measurement with the Meta (Facebook) Pixel. Read our cookie policy.
Regression with gradual regime weights, allowing coefficients to transition smoothly as a threshold variable changes.
Graph workspace
The transition function is the defining feature. The top panel plots against the transition variable to show where the economy sits on the regime spectrum. The bottom panel shows the fitted time series with color coding by value, making the gradual regime shift visible over time.
Transition zone fraction
Share of observations in the transition zone. High values mean the economy spends most of its time between regimes, validating the smooth specification.
0.3100
proportion
Effective AR range
Width of the range the time-varying AR coefficient spans, from when to when : one number, the distance between the two regime coefficients. A wide range indicates strong nonlinearity; a narrow range means the linear model is adequate.
0.5000
coefficient units
RMSE improvement over linear
Fractional reduction in root mean squared error of the STR, evaluated at its true parameters, against the best-fitting linear AR(1) on the same sample. Values below 5 percent suggest the STR adds little; a NEGATIVE value means the least-squares linear AR fit this sample slightly better than the true nonlinear model. The linear fit is chosen to minimize this sample's error and the true model is not, so whenever the nonlinearity is small against the noise the sign can go either way: regimes that barely differ, or a gradual switch on an unlucky sample, as at the defaults and in the Gradual Phillips curve preset (about -0.4 and -0.2 percent at 300 observations).
-0.0040
signed fraction (negative = worse than linear)
Transition midpoint location
The value of where , as set on the page: this toy evaluates the STR at its true parameters, so nothing is estimated and the reported midpoint is itself. The economic interpretation depends on what represents (e.g., an output gap of zero, a credit spread of 200 bps).
0.0000
transition variable units
Transition speed: 3
How quickly the model moves from one regime to the other; large values make it a jump.
Controls the steepness of the S-curve in the top panel. At low values the curve is nearly flat; at high values it snaps vertically.
Location parameter: 0
The level of the transition variable at which the model sits halfway between the two regimes.
Moves the vertical dashed line and the S-curve horizontally, changing which observations fall in each regime.
AR(1) coefficient, regime 1: 0.3
How long a shock keeps affecting the series while the model sits in regime 1.
Changes the decay rate of the fitted series during blue (regime 1) periods.
AR(1) coefficient, regime 2: 0.8
How long a shock keeps affecting the series while the model sits in regime 2.
Changes the decay rate during red (regime 2) periods. Near-unit-root values produce sluggish dynamics.
How many observations the simulation generates; longer runs show more switches between regimes.
Extends the bottom-panel time series. More data makes the transition pattern clearer.