توضیح 1
The live starter code is self-contained and uses only runner-compatible functions.
Loading
درس 15 از 22
Advanced Topic – Optional. Model volatility clustering with conditional variance recursions and distribution-aware diagnostics.
Advanced Topic – Optional
This chapter extends the core pathway. Complete Chapters 1–14 first, then use this material when your question and data justify the added model complexity.
Motivation
Returns may show little linear predictability while their variance remains strongly predictable, affecting intervals and risk forecasts.
Why this matters
Model volatility clustering with conditional variance recursions and distribution-aware diagnostics.
Packages and data
Base-R simulation; rugarch 1.5-6 is recommended for full estimation.
توضیح 1
The live starter code is self-contained and uses only runner-compatible functions.
توضیح 2
Book-only outputs are labelled when the separate source dataset or advanced package was not supplied.
توضیح 3
R code, paths, function names, and formulas remain left-to-right in every locale.
اصطلاحات
Variance given information available at time t-1.
Latent model quantity
alpha + beta in GARCH(1,1).
Near one implies slow decay
Residual divided by fitted conditional standard deviation.
Inspect values and squares
نمادگذاری و فرمولها
sigma_t^2 = omega + alpha error_(t-1)^2 + beta sigma_(t-1)^2
With positive omega, nonnegative alpha/beta, and alpha+beta<1, the standard model has finite unconditional variance.
مثال حلشده
سناریو
How persistent is a GARCH model with alpha 0.08 and beta 0.90?
بررسی با R
omega <- .000004; alpha <- .08; beta <- .90
persistence <- alpha + beta
unconditional_vol <- sqrt(omega/(1-persistence))
half_life <- log(.5)/log(persistence)
print(c(persistence=persistence, unconditional_vol=unconditional_vol, half_life=half_life))A volatility shock decays slowly even though raw return signs may remain difficult to predict. Limitation: Conditional variance is latent; squared return is only a noisy proxy. This is educational model analysis, not financial advice.
Visual
Illustrative conditional volatility decays slowly after a shock.
ارتباط با R
Run the self-contained starter code in the protected STATLAB R runner. The code prints an auditable result and avoids network or unrestricted file access.
Live R Lab
Run a self-contained example, verify its output, and explain one limitation for arch and garch volatility models.
Ready to run
Common mistake
alpha + beta is a persistence measure, not a probability.
STATLAB Tip
Inspect standardized residuals, squared standardized residuals, and a QQ plot.
تمرین هدایتشده
سناریو
Hold unconditional variance fixed and compare persistence 0.70 with 0.98 after a common shock.
Compare your result with the definition, units, and model assumptions—not only with a target number.
Exercises
Complete these without looking at the selected solutions. More than one defensible program may exist.
توضیح 1
Compute half-life.
توضیح 2
Derive unconditional variance by expectations.
توضیح 3
Explain why price levels are usually inappropriate inputs.
Selected solutions
These are compact solution routes. Confirm dimensions, units, and any changed modelling choices.
توضیح 1
log(.5)/log(.98)
توضیح 2
Set E[sigma_t^2]=V and solve V=omega+(alpha+beta)V.
توضیح 3
Nonstationary price levels do not represent mean-zero innovations.
Chapter summary
Model volatility clustering with conditional variance recursions and distribution-aware diagnostics.
توضیح 1
GARCH models conditional variance.
توضیح 2
Persistence controls shock decay.
توضیح 3
Distribution and recursion are separate choices.
توضیح 4
Diagnostics use standardized residuals and squares.
اصطلاحات
volatility diagnostic
Use in ARCH and GARCH Volatility Models.
specify
Use in ARCH and GARCH Volatility Models.
estimate
Use in ARCH and GARCH Volatility Models.
conditional volatility
Use in ARCH and GARCH Volatility Models.
References and provenance
Engle (1982); Bollerslev (1986); Safavi (2026), Chapter 15. Student notes: Mohammad Safavi, Ph.D., STATLAB Academy, Version 1.0.
منبع
The authoritative 125-page English PDF accompanies this native lesson.
دریافتبازاندیشی
Name the assumption, evidence you would seek, and how the recommendation might change.
ارزیابی پایانی