CONTENTS

Chi-Squared and Related Distributions

Motivation: why this matters in quant finance

The chi-squared distribution is what appears when Gaussian shocks are squared and added. Squaring removes sign and measures magnitude, so chi-squared variables naturally arise in variance estimation, residual diagnostics, goodness-of-fit tests, and positive stochastic state variables.

In finance, this gives two roles: statistical testing and positive diffusion modelling. Sample variance theory uses chi-squared variables. CIR short rates and Heston variance transitions use non-central chi-squared laws.

Definition

If Z1,,ZkZ_1,\ldots,Z_k are independent standard normals, then

V=i=1kZi2χk2.V=\sum_{i=1}^{k}Z_i^2\sim\chi^2_k.

Its density is

f(v)=12k/2Γ(k/2)vk/21ev/2,v>0.f(v)=\frac{1}{2^{k/2}\Gamma(k/2)}v^{k/2-1}e^{-v/2}, \qquad v>0.

A non-central chi-squared variable arises from squaring normals with nonzero means:

iYi2χk2(δ),δ=iμi2.\sum_iY_i^2\sim\chi^2_k(\delta), \qquad \delta=\sum_i\mu_i^2.

Key Properties

For Vχk2V\sim\chi^2_k,

E[V]=k,Var(V)=2k.\mathbb{E}[V]=k, \qquad \operatorname{Var}(V)=2k.

If independent Viχki2V_i\sim\chi^2_{k_i}, then iViχiki2\sum_iV_i\sim\chi^2_{\sum_i k_i}. The MGF is

MV(t)=(12t)k/2,t<1/2.M_V(t)=(1-2t)^{-k/2}, \qquad t<1/2.

Related distributions are built from chi-squared variables:

DistributionConstruction
Exponentialχ22Exp(1/2)\chi^2_2\sim\operatorname{Exp}(1/2)
Student's ttZ/V/νZ/\sqrt{V/\nu}
FF(V1/k1)/(V2/k2)(V_1/k_1)/(V_2/k_2)
Gammaχk2=Gamma(k/2,2)\chi^2_k=\operatorname{Gamma}(k/2,2)

In Quant Finance

If X1,,XnN(μ,σ2)X_1,\ldots,X_n\sim\mathcal{N}(\mu,\sigma^2) and S2S^2 is the sample variance, then

(n1)S2σ2χn12.\frac{(n-1)S^2}{\sigma^2}\sim\chi^2_{n-1}.

This is the exact Gaussian theory behind volatility confidence intervals.

For goodness-of-fit, Pearson's statistic

χ2=i(OiEi)2Ei\chi^2=\sum_i\frac{(O_i-E_i)^2}{E_i}

measures whether observed bin counts match model probabilities. VaR exception backtests and distributional diagnostics often use this logic.

For the CIR/Heston variance process,

dvt=κ(θvt)dt+ξvtdWt,dv_t=\kappa(\theta-v_t)dt+\xi\sqrt{v_t}dW_t,

the transition law is scaled non-central chi-squared. The Feller condition is tied to the degrees-of-freedom parameter 4κθ/ξ24\kappa\theta/\xi^2.

Worked Example: Variance Uncertainty

With n=252n=252 Gaussian daily returns and sample volatility σ^\widehat{\sigma},

251σ^2σ2χ2512.\frac{251\widehat{\sigma}^2}{\sigma^2}\sim\chi^2_{251}.

Even if the Gaussian return model were correct, volatility estimated from one year of data would still have sampling uncertainty.

Common Confusions and Pitfalls

Chi-squared distributions are symmetric. They are right-skewed for small degrees of freedom.
Non-central means shifted. Non-centrality changes the whole shape, not merely the location.
A goodness-of-fit test proves the model is right. It can reject visible misfit; it cannot prove truth.

Where This Goes Next

References

  • Bertsekas and Tsitsiklis, Introduction to Probability, 2nd ed., Ch. 3 Sec. 3.3 and Ch. 4 Sec. 4.4.
  • Mosteller, Fifty Challenging Problems in Probability, Problems 27-30 and 45-46, for count and matching-problem intuition behind goodness-of-fit thinking.
  • James, Witten, Hastie, and Tibshirani, An Introduction to Statistical Learning, 2nd ed., Ch. 3 and Ch. 7, for standard errors, tt and FF tests, and ANOVA output.
Chi-Squared and Related Distributions | q4quant.studio