Lecture 12 of 15
Predictable risk with an unpredictable return
Can tomorrow's risk be predictable when tomorrow's return is not?
Prerequisites: Lectures 3–4, conditional moments, likelihood, and financial return units.
Unzip the bundle, open its code folder, and run ch12 in Python, R, or Julia; the entry point loads the course file and data beside it.
The conditional mean and conditional variance can behave differently
Let a return be , with . Zero predictable mean does not imply constant risk. Write
Then . It is known at the forecast origin under the specified variance recursion, while the next standardized shock is not. A sequence can have little autocorrelation in returns and appreciable dependence in squared returns.
Financial returns provide a familiar application, but the distinction also matters for economic quantities whose uncertainty changes across seasons, regimes, or measurement systems. A larger mean model does not automatically explain conditional variance dynamics.
Before estimating volatility, define the return. A decimal return of 0.01 is a one-percent return; a percentage-point return of 1 represents the same change on a different numerical scale. Log returns and simple returns are also different transformations. State the definition and use it consistently in means, variances, and risk thresholds.
ARCH and GARCH recursions
An ARCH(1) variance is . A GARCH(1,1) adds lagged variance:
Sufficient elementary restrictions for positive conditional variance are , , and . For a finite unconditional second moment in the standard model, impose . Strict stationarity can have a different condition involving an expected log; the finite-variance restriction used here is stronger than some stationarity conditions and should be named accurately.
The units agree: , , and have squared return units; and are dimensionless. The lagged squared error updates risk after a large realized surprise, while the lagged variance carries previously assessed risk forward.
Taking expectations under a finite stationary second moment gives
As approaches one with fixed , unconditional variance increases. At the boundary, that finite-variance formula no longer applies. A routine that reports a negative unconditional variance for an inadmissible parameter set has failed a basic domain check.
Forecast conditional variance
At date , after observing , the one-step variance forecast is
For later horizons, use under the model. This yields
Variance reverts toward its long-run level at persistence . At , the exponent is zero and the expression returns the known one-step forecast. If , risk is constant at .
Variance of a multi-period cumulative return is the sum of the conditional variance forecasts when the mean-adjusted returns form the required martingale-difference sequence and cross-covariances vanish. The square-root-of-time rule requires constant per-period variance and the appropriate independence or orthogonality assumptions. Applying it mechanically during changing volatility can misstate multi-period risk.
Estimate a declared objective
Under conditional Gaussianity, the negative log-likelihood apart from constants is
The supplied code minimizes the average expression without the factor one-half over a declared admissible grid. Multiplying an objective by a positive constant does not change its minimizer. The grid estimator is coarse and transparent; it is not a substitute for a carefully checked continuous optimizer when precise estimation is required.
Under suitable conditions, Gaussian quasi-likelihood can estimate variance parameters without exactly Gaussian innovations. Standard errors then require the appropriate robust treatment. The core grid example supplies no maximum-likelihood standard errors and makes no inferential claim based on a Hessian it has not computed.
The variance recursion is initialized at its candidate unconditional variance. Alternative backcasts or initial values can change short-sample objectives. Retain the initial rule, estimation dates, mean-model treatment, convergence diagnostics, and parameter restrictions when comparing package outputs.
A risk quantile needs a distribution
If is standard normal and the conditional mean is , the conditional return quantile is
For , the standard-normal multiplier is approximately . A variance forecast alone does not establish that tail quantile. Heavy-tailed or asymmetric standardized shocks require a different distributional model or a justified empirical quantile procedure.
Value at Risk needs a sign and loss convention. A negative return quantile can correspond to a positive loss threshold. Define whether the reported object is a return, a dollar loss, or a portfolio loss; identify the horizon and confidence level. Expected shortfall is a different tail summary and cannot be inferred by merely renaming the same quantile.
Evaluate risk forecasts using actual subsequent outcomes. Count and date threshold exceedances; inspect clustering as well as their overall frequency. A model can have the desired average exception rate while failing during the periods when risk decisions matter most. Repeatedly changing a threshold after inspecting its exceptions invalidates a clean later-target comparison.
Scaling is an exact audit
If returns are rescaled as , an equivalent variance model has
Moving from percentage-point returns to decimal returns sets , so variance and divide by 10,000. Standard deviations and quantiles divide by 100. A failure of these transformations reveals a units error independent of whether the model fits well.
The code tests this identity directly using the same residuals and parameters. It also deliberately presents an inadmissible parameter set with and checks that the finite-variance routine rejects it. These tests establish computational invariants. They do not establish that the fitted variance model describes real financial markets.
Simulated returns and their generating conditional variance. Return surprises can be unpredictable while risk varies.
Execute, break, and repair
Run ch12. The synthetic process has , , and , giving unconditional variance one. The declared coarse grid selects on this realization. Including the true parameters in a finite-sample grid does not guarantee that they will minimize the realized objective.
The squared-return lag-one correlation is around 0.151, while the squared standardized-residual correlation is around 0.012. This is consistent with the fitted variance recursion removing much of the visible clustering in the chosen realization. Inspect additional lags and tail behavior before treating that diagnostic as a complete verdict.
Break the risk calculation by using in place of after the latest residual has arrived. The mistake ignores the newest variance update. Repair it with the one-step recursion and compare the threshold. Then divide returns by 100 without rescaling ; identify the resulting units inconsistency and correct it.
Worked risk forecast and audit repair
Let , , , current variance , and current residual in percentage points. Next variance is , and next standard deviation is percentage points. Under a zero-mean normal specification, the 5% return quantile is approximately percentage points.
Long-run variance is . The two-step variance forecast is . The model expects risk to decline gradually from the elevated current forecast. With decimal-return units, next variance is 0.00027 and the quantile is approximately .
Project 2’s repair can address a variance error without changing the entire mean model. Show which risk decision changes and which assumptions remain unresolved. Project 3 should evaluate the repaired procedure on later outcomes, preserving the loss and threshold rules chosen before the continuation data are examined.
Sources
Bollerslev (1986) introduces GARCH. The arch package’s official volatility-model documentation describes mean, variance, and distribution components.
Practice and laboratory for Lecture 12
- Assignment 12: Conditional risk, three tasks with worked answers.
- Run ch12 from the laboratory bundle in Python, R, or Julia.
- Interactive experiment: A surprise changes the next risk forecast
- Lecture 12 summary, with the central equation, a problem, a failure, and its repair.