σμimplied vol · KKmax(S−K,0)udβρᵢⱼfat tailsPnL · drawdownyield · TdSₜ = μSₜ dt + σSₜ dWₜC = S·N(d₁) − K·e⁻ʳᵀ·N(d₂)σₚ² = wᵀΣwd₁ = [ln(S/K) + (r + σ²⁄2)T] ⁄ σ√T∂V/∂t + ½σ²S²·∂²V/∂S² + rS·∂V/∂S − rV = 0Sharpe = (Rₚ − R_f) ⁄ σₚVaR₉₉ = μ − 2.33σρ = Cov(X,Y) ⁄ σₓσᵧE[Rₚ] = Σ wᵢ·E[Rᵢ]φ(x) = e^(−x²/2) ⁄ √2πE[Rᵢ] = R_f + βᵢ(E[Rₘ] − R_f)dXₜ = θ(μ − Xₜ)dt + σ dWₜσ²ₜ = ω + α·ε²ₜ₋₁ + β·σ²ₜ₋₁C − P = S − K·e⁻ʳᵀΔ = ∂V/∂S Γ = ∂²V/∂S²p = (e^(rΔt) − d) ⁄ (u − d)rₜ = ln(Pₜ ⁄ Pₜ₋₁)E[Xₜ₊₁ | ℱₜ] = Xₜf* = (bp − q) ⁄ bz = (x − μ) ⁄ σP(N=k) = λᵏe^(−λ) ⁄ k!Θ = −∂V/∂Tν = S·φ(d₁)·√Tmin wᵀΣw s.t. wᵀμ = μ*∫Σ∂∞λ
uantCraft AcademyRoadmapsSkills
Ctrl K
AO
+1.2k Learners
LoginJoin ↗
RoadmapsSkills
AO
+1.2k Learners
Login
  • English
  • Français
  • Español
  • العربية
  • Português
  • Deutsch
  • 日本語
  • 中文
σμimplied vol · KKmax(S−K,0)udβρᵢⱼfat tailsPnL · drawdownyield · TdSₜ = μSₜ dt + σSₜ dWₜC = S·N(d₁) − K·e⁻ʳᵀ·N(d₂)σₚ² = wᵀΣwd₁ = [ln(S/K) + (r + σ²⁄2)T] ⁄ σ√T∂V/∂t + ½σ²S²·∂²V/∂S² + rS·∂V/∂S − rV = 0Sharpe = (Rₚ − R_f) ⁄ σₚVaR₉₉ = μ − 2.33σρ = Cov(X,Y) ⁄ σₓσᵧE[Rₚ] = Σ wᵢ·E[Rᵢ]φ(x) = e^(−x²/2) ⁄ √2πE[Rᵢ] = R_f + βᵢ(E[Rₘ] − R_f)dXₜ = θ(μ − Xₜ)dt + σ dWₜσ²ₜ = ω + α·ε²ₜ₋₁ + β·σ²ₜ₋₁C − P = S − K·e⁻ʳᵀΔ = ∂V/∂S Γ = ∂²V/∂S²p = (e^(rΔt) − d) ⁄ (u − d)rₜ = ln(Pₜ ⁄ Pₜ₋₁)E[Xₜ₊₁ | ℱₜ] = Xₜf* = (bp − q) ⁄ bz = (x − μ) ⁄ σP(N=k) = λᵏe^(−λ) ⁄ k!Θ = −∂V/∂Tν = S·φ(d₁)·√Tmin wᵀΣw s.t. wᵀμ = μ*∫Σ∂∞λ
uantCraft AcademyRoadmapsSkills
Ctrl K
AO
+1.2k Learners
LoginJoin ↗
RoadmapsSkills
AO
+1.2k Learners
Login
  • English
  • Français
  • Español
  • العربية
  • Português
  • Deutsch
  • 日本語
  • 中文
Time Series skill›Module 5 · Evaluation and practice›Topic 5.2·~55 minAdvanced

Structural breaks

Skill positionModule 5 of 5 · Topic 2 of 3
5.2 Structural breaks
—Lab score— / 100Total XP—Streak—

When the rules change

A structural break is a point in time after which the parameters of the process, its mean, variance or regression coefficients, are different. The cause may be a crisis, a policy change, a new market structure such as decimalisation or a change in the index a stock belongs to. Parameters estimated across a break are an average of two different worlds and describe neither, so forecasts built on them are biased. Breaks also fool other tools. A one-time shift in the mean looks like a unit root, so the ADF test fails to reject (Perron). A shift in the variance level looks like extreme persistence in a GARCH model.

F=(SSRp−SSR1−SSR2)/k(SSR1+SSR2)/(n−2k),τ^=arg⁡min⁡τ[SSR1(τ)+SSR2(τ)]F=\frac{\big(\mathrm{SSR}_{p}-\mathrm{SSR}_{1}-\mathrm{SSR}_{2}\big)/k}{\big(\mathrm{SSR}_{1}+\mathrm{SSR}_{2}\big)/(n-2k)},\qquad \hat\tau=\arg\min_{\tau}\big[\mathrm{SSR}_{1}(\tau)+\mathrm{SSR}_{2}(\tau)\big]F=(SSR1​+SSR2​)/(n−2k)(SSRp​−SSR1​−SSR2​)/k​,τ^=argτmin​[SSR1​(τ)+SSR2​(τ)](1)

If the break date is known, the Chow test compares the sum of squared residuals of one regression on all the data, SSRp\mathrm{SSR}_pSSRp​, with those of separate regressions before and after the date, SSR1+SSR2\mathrm{SSR}_1+\mathrm{SSR}_2SSR1​+SSR2​. A large drop is evidence of a break, and the statistic follows an FFF distribution with kkk and n−2kn-2kn−2k degrees of freedom, where kkk is the number of parameters. The date is usually unknown. Then you try every candidate date, keep the one that minimises the combined squared residuals, and use the largest FFF (the sup-FFF, or Quandt-Andrews, test). Since the date was chosen to maximise the statistic, ordinary FFF critical values are far too low and special ones apply. The edges are trimmed, often by 15%, because a break near the ends leaves too few observations on one side. Several breaks can be found with the Bai-Perron method. The CUSUM test, which accumulates standardised forecast errors, flags the moment errors stop looking like zero-mean noise and is natural for monitoring a live model.

A Chow test by handA regression with k=2k=2k=2 parameters on n=100n=100n=100 days has SSRp=120\mathrm{SSR}_p=120SSRp​=120. Split at the suspected date, the two halves give SSR1=40\mathrm{SSR}_1=40SSR1​=40 and SSR2=50\mathrm{SSR}_2=50SSR2​=50. The numerator is (120−90)/2=15(120-90)/2=15(120−90)/2=15 and the denominator is 90/(100−4)=0.937590/(100-4)=0.937590/(100−4)=0.9375, so F=16F=16F=16, far above any usual critical value: the single set of coefficients was a poor description. With n=200n=200n=200 and 15% trimming, 303030 observations are cut from each end before searching for the date.
  • Break: the mean, variance or coefficients change at some date; a full-sample fit averages two regimes.
  • Chow for a known date; sup-FFF for an unknown date, with special critical values and trimmed edges.
  • CUSUM monitors forecast errors in real time; a mean shift can pass for a unit root.

Lab · what's graded

  • A Chow statistic15 pts
  • The drop in squared errors10 pts
  • Averaging across a break15 pts
  • Trimming the edges10 pts
  • A shift that looks like a unit root15 pts
  • Match the vocabulary15 pts
  • Handling a break10 pts
  • Estimating across a break10 pts
0/ 8 answered
Tasks
1Numeric answer15 ptsNot answered

A regression with k=2k=2k=2 parameters on n=100n=100n=100 days has SSRp=120\mathrm{SSR}_p=120SSRp​=120, and the two sub-sample fits have SSR1=40\mathrm{SSR}_1=40SSR1​=40 and SSR2=50\mathrm{SSR}_2=50SSR2​=50. What is the Chow F=(SSRp−SSR1−SSR2)/k(SSR1+SSR2)/(n−2k)F=\dfrac{(\mathrm{SSR}_p-\mathrm{SSR}_1-\mathrm{SSR}_2)/k}{(\mathrm{SSR}_1+\mathrm{SSR}_2)/(n-2k)}F=(SSR1​+SSR2​)/(n−2k)(SSRp​−SSR1​−SSR2​)/k​?

F=F =F=accepted: ± 0.1
2Numeric answer10 ptsNot answered

By what percentage does splitting the sample cut the sum of squared residuals, from SSRp=120\mathrm{SSR}_p=120SSRp​=120 to SSR1+SSR2=90\mathrm{SSR}_1+\mathrm{SSR}_2=90SSR1​+SSR2​=90?

pct=pct =pct=accepted: ± 0.1
3Numeric answer15 ptsNot answered

Before a break the mean daily return is 0.05%0.05\%0.05% over 600 days, and after it −0.10%-0.10\%−0.10% over 400 days. What is the full-sample mean, in percent?

m=m =m=accepted: ± 0.002
4Numeric answer10 ptsNot answered

A sup-F test with n=200n=200n=200 trims 15% of the sample at each end. How many observations are excluded from each end?

cut=cut =cut=accepted: ± 0.5
5Choice15 ptsNot answered

A stationary series jumps to a new, higher mean once and stays there. What does an ordinary ADF test tend to do?

6Match15 ptsNot answered

Match each method with when it is used.

Pick the partner of each item on the left.

Chow test
Sup-F (Quandt-Andrews)
CUSUM
Bai-Perron
7Order the steps10 ptsNot answered

Put the steps in order.

Drag to reorder, or focus an item, press Space to lift it, the arrow keys to move it and Space to drop it.

  1. 1Keep monitoring the forecast errors with CUSUM
  2. 2Locate the most likely break date
  3. 3Test for a break with an unknown date (sup-F)
  4. 4Re-estimate on the new regime and compare forecasts
8Explain in words10 ptsNot answered

In one or two sentences, explain why estimating a model on a sample that contains a structural break gives poor forecasts.

Math modeKeyboard or LaTeX inputTask 1 of 8 · Ctrl ⏎ to check

Log in to run your code.

Every lecture is free to read. Create an account or log in to run code, run tests and submit this lab.

  • In-browser IDE with a bash terminal — nothing to install
  • Instant grading, XP and your place on the skill
Create an accountLog in
OR
Continue with GitHub