Quant techniques · volatility forecasting

HAR-RV: a simple model for forecasting realized volatility

Volatility is persistent: a turbulent day raises the chance of turbulent days ahead, and the effect fades over many horizons. A GARCH model captures persistence recursively; Corsi’s HAR-RV model takes a simpler route. It regresses future realized volatility on daily, weekly, and monthly averages, approximating long memory with a small linear model.

A volatility shock enters the HAR forecast

Next-period variance forecast

Toy HAR coefficients for daily, weekly and monthly variance predictors; weekly=3, monthly=2.

The heterogeneous autoregression

Let RVtRV_t denote daily realized volatility (or a consistently defined realized measure). Define backward-looking components

RVt(d)=RVt,RVt(w)=15∑j=04RVt−j,RVt(m)=122∑j=021RVt−j.RV_t^{(d)}=RV_t,\qquad RV_t^{(w)}=\frac15\sum_{j=0}^{4}RV_{t-j},\qquad RV_t^{(m)}=\frac1{22}\sum_{j=0}^{21}RV_{t-j}.

A one-day HAR forecast is

RVt+1=β0+βdRVt(d)+βwRVt(w)+βmRVt(m)+ϵt+1.RV_{t+1}=\beta_0+\beta_dRV_t^{(d)}+\beta_wRV_t^{(w)}+\beta_mRV_t^{(m)}+\epsilon_{t+1}.

The components overlap, but that is intentional: each represents a different horizon of market participants’ activity. Daily shocks affect the next forecast strongly, while weekly and monthly averages provide slower-moving context. The model is linear in these components and can be estimated by OLS, with robust inference as appropriate.

Why three averages mimic long memory

A long-memory process has dependence that decays slowly over time. HAR-RV is not literally a fractional integration model; it approximates persistent dynamics by combining a few lag aggregates. Its parsimonious structure can reproduce many empirical features of realized volatility while remaining easy to estimate and interpret.

For an hh-day cumulative variance forecast, the target should match the application. One common formulation regresses future average realized variance over the next hh days on the same components:

1h∑j=1hRVt+j=β0(h)+βd(h)RVt(d)+βw(h)RVt(w)+βm(h)RVt(m)+ϵt+h(h).\frac1h\sum_{j=1}^{h}RV_{t+j}=\beta_0^{(h)}+\beta_d^{(h)}RV_t^{(d)}+\beta_w^{(h)}RV_t^{(w)}+\beta_m^{(h)}RV_t^{(m)}+\epsilon_{t+h}^{(h)}.

Directly forecasting the horizon of interest avoids assuming a particular one-day recursion, but overlapping targets create serial dependence in forecast errors. Use HAC errors or suitable non-overlapping evaluation where inference requires it.

Worked forecast

Suppose a fitted daily model has β0=0.02\beta_0=0.02, βd=0.5\beta_d=0.5, βw=0.3\beta_w=0.3, and βm=0.2\beta_m=0.2. Current daily RV is 0.8, the weekly average is 0.6, and the monthly average is 0.5, all in the same units. The forecast is

0.02+0.5(0.8)+0.3(0.6)+0.2(0.5)=0.70.0.02+0.5(0.8)+0.3(0.6)+0.2(0.5)=0.70.

These coefficients are illustrative. They should be estimated on training data, and the realized measure’s units (variance, volatility, or log variance) must be kept consistent between regressors and target.

Variance or volatility?

Corsi’s original HAR-RV is commonly written for realized volatility. Many implementations instead model realized variance or its logarithm. These targets have different units and forecast interpretation; transform back carefully and account for retransformation bias if forecasting in logs.

Forecast evaluation

Use a rolling or expanding window so each forecast is produced using only past data. Compare against meaningful baselines such as the historical mean, a simple autoregression, and GARCH. For a volatility proxy with measurement error, QLIKE is often used alongside MSE; report the scoring rule because models can rank differently under different losses.

Check residual dependence and forecast calibration, not only a single average score. If the target is a noisy realized measure, standard forecast comparison tests need to account for overlapping horizons and serially dependent loss differences. Re-estimate all transformations and tuning choices within each forecast window.

Common mistakes

  • Accidentally including RVt+1RV_{t+1} in a predictor average when forecasting from time tt.
  • Mixing variance and volatility definitions or changing annualisation conventions between target and regressors.
  • Treating HAR-RV as a true fractional-integration model. It is a finite-horizon approximation to heterogeneous persistence.
  • Using random train/test splits that mix future volatility regimes into training.
  • Ignoring overlapping multi-day targets when computing standard errors or comparing models.

Practice

ComponentsIf daily RV observations are 0.4, 0.6, 0.8, 1.0, and 1.2 from oldest to newest, what are today’s 5-day weekly average and daily component?
Show answer

The weekly average is (0.4+0.6+0.8+1.0+1.2)/5=0.8(0.4+0.6+0.8+1.0+1.2)/5=0.8. The daily component is the newest observation, 1.2.

ForecastUsing β₀ = 0.01, βd = 0.4, βw = 0.35, βm = 0.25 and components 1.0, 0.8, 0.6, what is the one-day forecast?
Show answer

0.01+0.4(1.0)+0.35(0.8)+0.25(0.6)=0.720.01+0.4(1.0)+0.35(0.8)+0.25(0.6)=0.72 in the target’s units.

EvaluationWhy can daily forecasts of a 5-day average target have correlated errors?
Show answer

Adjacent targets overlap four of their five realized days, so forecast errors share outcomes. Use dependence-robust inference or design the evaluation to account for overlap.

Further reading: Fulvio Corsi (2009), “A Simple Approximate Long-Memory Model of Realized Volatility,” Journal of Financial Econometrics 7(2), 174–196. Author paper record.