A GARCH(p, q) model lets conditional variance depend on q past squared shocks and p past variances, with an ARCH-LM test for volatility clustering.
Financial returns show volatility clustering — calm and turbulent periods bunch together. GARCH models the conditional variance hₜ = ω + Σα·ε²ₜ₋ᵢ + Σβ·hₜ₋ⱼ, capturing that persistence. GARCH(1,1) is the field's default.
Persistence α + β near 1 means shocks to volatility decay slowly (near-integrated variance). The ARCH-LM test (LM = n·R² from regressing squared values on their lags) checks whether any ARCH effect is present before/after fitting.
One numeric series (typically returns) + GARCH order p and ARCH order q + optional demeaning.
ω / α / β estimates with SEs, persistence, log-likelihood, AIC, and the ARCH-LM test.
Significant α and β confirm ARCH/GARCH effects. α + β ≥ 1 warns of non-stationary variance.