Basic Prerequisites: Econometrics & Time Series (ARMA, long memory, regression) and Statistics & Inference (OLS).


1. Intuition & Practical Objective

GARCH infers one latent per day from a single daily return. But with intraday data you can measure daily variance directly: sum the squared intraday returns. That quantity, the realized volatility, is a far less noisy estimate of the day’s latent variance - it uses returns instead of one, and it turns volatility modeling into something closer to estimation of an observable than inference about a hidden state.

The payoff compounds: because is (nearly) observable, volatility forecasting becomes a plain regression problem - no constrained likelihood, no flat surface. The HAR-RV model (Corsi 2009) is the punchline: a simple three-timescale linear cascade - daily, weekly, monthly averages of past - that reproduces the long-memory (slowly, hyperbolically decaying) autocorrelation of volatility without fractional integration, price to pay zero extra estimation pain, and beats GARCH on forecast accuracy in many studies.

The practical objective: give the practitioner the fastest reasonable volatility forecast - a 3-regressor OLS - and the understanding of why averaging over three horizons generates long memory.


2. Mathematical Ground Truth & Derivations

Realized variance (Tsay §3.15.1). With intraday returns in day ,

and when intraday returns are conditionally zero-mean - i.e. is an (almost) unbiased estimator of daily variance. Its log, , is close to Gaussian and behaves like an ARIMA(0,1,) with a weakly negative MA term: near-unit-root persistence at the daily level, the signature of long memory in volatility ( in fractionally-integrated terms; Bollerslev–Jubinski; Ray–Tsay).

Microstructure bias and the sampling choice. In the limit the noise in intraday returns (bid–ask bounce, discreteness) dominates and diverges with sampling frequency. The classic fix is to sample at a moderate frequency; the empirical optimum (Tsay §3.15.1) is 4–15 minutes. (Note: this 4–15 min rule is a Ch3 result; Ch5 of Tsay does not re-derive it - attribute it here.) Alternatives: the two-scale / multi-scale estimators and bipower variation , which is robust to jumps.

Range estimators (Tsay §3.15.2). When only OHLC data exist, ranges recover efficiency: Parkinson (≈5× more efficient than close-to-close), Garman–Klass, Rogers–Satchell, and the Yang–Zhang combination

HAR-RV (Corsi 2009). Regress tomorrow’s realized variance on averages of past over three horizons:

where (daily / weekly / monthly averages, the last two being the interesting ones; Corsi includes itself as the daily term). The model is linear in three positive, slowly-different horizons, and the sum is close to 1. Fitting in logs (log-HAR) is common because is far closer to Gaussian and stabilises the residuals.

Why three timescales create long memory. A sum of AR(1) components with geometrically-spaced decay rates has an autocorrelation that decays hyperbolically over a wide range of lags - an excellent approximation to true long memory. Three horizons (≈1, 5, 22 days) span roughly two decades of decay, so the HAR’s implied ACF mimics a fractional process while remaining a finite, estimable OLS. That is the “simple approximate long-memory model” of the title.

Extensions. HARQ (adds a realized-quarticity term for time-varying smoothness), HAR-J (adds the jump component ), and HAR with a leverage term (negative yesterday’s return raises today’s ) - see 06.


3. Computational Implementation - realized variance and a fitted HAR

Standard library only. (a) Confirms is an unbiased daily-variance estimator by simulation; (b) builds a long-memory series (fast + slow AR components) and fits log-HAR by OLS via the normal equations, solved with Gaussian elimination.

Read it: the mean () nails the true daily variance () - unbiasedness confirmed numerically. The log-HAR fit reaches , and all three horizon slopes are positive with a sum near 1 (): the daily term captures the immediate shock, the monthly term carries the slow long-memory weight, and the near-unit sum is exactly what makes multi-day forecasts decay only slowly. (On real S&P 500 data Corsi reports – for level-HAR - our synthetic series is smoother than reality, so treat the exact split as illustrative, not a calibration.)


4. Failure Modes & First-Principles Breakdowns

  1. The sampling-frequency trap. Too fine (1-min) microstructure noise inflates without bound; too coarse (daily) you are back to one observation. The 4–15-minute band is a bias-variance compromise, not a law - it depends on the asset’s tick size and liquidity.
  2. Jumps masquerade as volatility. A single overnight gap or macro release inflates for that day; if you then model as purely persistent you over-forecast for weeks. Separating continuous () from jump () variation is the fix (HAR-J).
  3. Overnight returns are dropped. built from intraday bars misses the close-to-open move, which is a large share of total variance for equities. Include the overnight squared return where material (small for indices/FX).
  4. Long memory is approximate, not exact. HAR is a finite AR approximation to a fractional process; at very long horizons (weeks–months) it understates persistence. For term-structure work, a true ARFIMA or GARCH with the appropriate persistence may be preferable.
  5. Regime and volatility-of-volatility. is itself heteroskedastic (vol-of-vol). In calm regimes is precise; in crises it is noisy and extreme - exactly when you rely on it. HARQ’s extra term exists to model that time-varying noise.
  6. Data quality is everything. Non-synchronised trades, stale quotes, and corporate-action errors contaminate more than they contaminate daily returns - the reason pipelines need their own hygiene (see Algorithmic & HFT / microstructure).

5. References

  • Corsi, Fulvio (2009): A Simple Approximate Long-Memory Model of Realized Volatility, J. Financial Econometrics 7(2), 174–196
  • Andersen, Bollerslev, Diebold & Labys (2003): Modeling and Forecasting Realized Volatility, Econometrica 71(2)
  • Barndorff-Nielsen & Shephard (2002): Econometric Analysis of Realized Volatility and its Use in Estimating Stochastic Volatility Models, JRSS-B 64(2)
  • Parkinson, Michael (1980) / Garman & Klass (1980) / Yang & Zhang (2000)
  • Tsay, Ruey S.: Analysis of Financial Time Series (3rd ed., 2010)

6. Connected Graph Bridges