Quant Memo
Advanced

Threshold and Smooth Transition Models

Time series models that let the underlying dynamics themselves switch depending on where a variable sits relative to a threshold — abruptly (TAR) or gradually (STAR) — capturing behavior that changes character across regimes rather than staying fixed.

Prerequisites: Particle Filters and Sequential Monte Carlo

A currency pair might drift almost like a random walk near its long-run fair value, but snap back forcefully once it strays too far — central bank intervention, or simple arbitrage pressure, kicks in only past a certain distance from equilibrium. A single linear model (one fixed set of coefficients everywhere) can't capture this: it either fits the calm, near-equilibrium behavior and misses the snap-back, or averages the two regimes together and describes neither well. Threshold and smooth transition models solve this by letting the model's coefficients themselves change depending on where the series currently sits — either abruptly, once a threshold is crossed (TAR), or gradually, phasing in over a transition zone (STAR).

An analogy: a rubber band with slack

Picture a rubber band tied loosely around a peg, with some slack. Move an object a little within the slack, and there's no pull back — it just drifts freely, like a random walk. But once the object moves far enough that the band pulls taut, a restoring force kicks in and pulls it back. A threshold model (TAR) is like a stiff rubber band that has zero tension right up to the point of going taut, then applies full tension instantly. A smooth transition model (STAR) is like a band made of a slightly stretchy material — the pull increases gradually as the object gets further out, rather than switching on all at once.

The mechanics, one symbol at a time

A two-regime threshold autoregressive (TAR) model switches abruptly between two AR processes depending on whether a "transition variable" ztdz_{t-d} (often a lag of the series itself) crosses a threshold cc:

yt={ϕ1(1)yt1+εtif ztdcϕ1(2)yt1+εtif ztd>c.y_t = \begin{cases} \phi_1^{(1)} y_{t-1} + \varepsilon_t & \text{if } z_{t-d} \le c \\ \phi_1^{(2)} y_{t-1} + \varepsilon_t & \text{if } z_{t-d} > c \end{cases}.

In plain English: the series follows one set of dynamics (say, near-random-walk behavior, ϕ1(1)\phi_1^{(1)} close to 1) when it's within the threshold, and a different set (say, strongly mean-reverting, ϕ1(2)\phi_1^{(2)} well below 1) once it crosses the threshold — a hard, discontinuous switch. A smooth transition (STAR) model replaces the abrupt switch with a continuous blend:

yt=ϕ1(1)yt1(1G(ztd))+ϕ1(2)yt1G(ztd)+εt,G(z)=11+eγ(zc),y_t = \phi_1^{(1)} y_{t-1}\big(1-G(z_{t-d})\big) + \phi_1^{(2)} y_{t-1}\, G(z_{t-d}) + \varepsilon_t, \qquad G(z) = \frac{1}{1+e^{-\gamma(z-c)}},

where G(z)G(z) is a logistic function sliding smoothly from 0 to 1 as ztdz_{t-d} crosses cc, and γ\gamma controls how sharp that transition is — a large γ\gamma makes GG behave almost like the TAR model's hard switch, while a small γ\gamma spreads the transition out over a wide zone, blending the two regimes' coefficients gradually rather than flipping between them.

Worked example 1: a TAR mean-reversion signal

Suppose a currency deviation series yty_t (percent from fair value) follows ϕ(1)=0.98\phi^{(1)} = 0.98 (near unit root, essentially drifting) when yt12%|y_{t-1}| \le 2\%, and ϕ(2)=0.60\phi^{(2)} = 0.60 (strong mean reversion) when yt1>2%|y_{t-1}| > 2\%. If today's deviation is yt=1.5%y_t = 1.5\% (inside the threshold), the forecast for tomorrow is 0.98×1.5=1.47%0.98 \times 1.5 = 1.47\% — barely any pull back, essentially persisting. If instead today's deviation is yt=3.0%y_t = 3.0\% (outside the threshold), the forecast is 0.60×3.0=1.80%0.60 \times 3.0 = 1.80\% — a much sharper pull back toward zero, a 40% reduction in one step, reflecting the regime switch into active mean-reversion dynamics.

Worked example 2: comparing TAR and STAR at the boundary

Using the same threshold c=2%c=2\% but a STAR model with γ=5\gamma = 5, evaluate G(z)G(z) at z=1.9%z = 1.9\% (just inside) and z=2.1%z=2.1\% (just outside): G(1.9)=11+e5(1.92)=11+e0.511+1.650.377G(1.9) = \frac{1}{1+e^{-5(1.9-2)}} = \frac{1}{1+e^{0.5}} \approx \frac{1}{1+1.65} \approx 0.377, and G(2.1)=11+e5(2.12)=11+e0.511+0.610.622G(2.1) = \frac{1}{1+e^{-5(2.1-2)}} = \frac{1}{1+e^{-0.5}} \approx \frac{1}{1+0.61} \approx 0.622. The blended coefficient at z=1.9z=1.9 is 0.98(10.377)+0.60(0.377)0.611+0.226=0.8370.98(1-0.377) + 0.60(0.377) \approx 0.611 + 0.226 = 0.837, and at z=2.1z=2.1 it's 0.98(0.378)+0.60(0.622)0.371+0.373=0.7440.98(0.378) + 0.60(0.622) \approx 0.371+0.373=0.744 — the effective mean-reversion strength shifts gradually from about 0.84 to 0.74 across this narrow zone, rather than jumping abruptly from 0.98 to 0.60 as the TAR model would at exactly c=2%c=2\%.

threshold c TAR (abrupt) STAR (smooth)
TAR's effective coefficient jumps discontinuously right at the threshold; STAR's blends gradually across a transition zone around the same threshold — same underlying two regimes, different sharpness of switch.
y=1.5% → 1.47% y=3.0% → 1.80%
Inside the threshold, tomorrow's forecast barely moves from today's value (near-random-walk); outside it, the forecast snaps back hard toward zero — two very different one-step predictions from the same model.

What this means in practice

Threshold and smooth transition models are the standard tool for capturing "band-limited" mean reversion — FX pairs kept within intervention bands, spreads that only correct once transaction costs are cleared, or entry/exit zones in pairs trading (see Entry and Exit Bands for Spreads) where reversion strength genuinely depends on how far a series has strayed, not just whether it has strayed at all.

Threshold (TAR) and smooth transition (STAR) models let a series' dynamics genuinely change depending on where it currently sits relative to a threshold — abruptly in TAR, gradually in STAR — capturing regime-dependent behavior like mean reversion that only activates once a deviation is large enough, which a single linear model can't represent.

Estimating a threshold or transition point (the value of cc) from the same data used to test whether the regime-switching effect is real invites overfitting — a threshold that happens to split the historical sample favorably can look statistically significant purely by chance, especially with a small sample. Always validate a fitted threshold model out of sample, and be skeptical of thresholds chosen by searching over many candidate values without correcting for that search.

Related concepts

Practice in interviews

Further reading

  • Tong, Non-Linear Time Series: A Dynamical System Approach, ch. 3
  • Teräsvirta, Modelling Economic Relationships with Smooth Transition Regressions
ShareTwitterLinkedIn