CAPM — Single-Factor Model, Beta, and the Market Risk Premium
Companion notebook to the CAPM — Single-Factor Model article
(Factor Models, Module 1). Uses numpy throughout; no other external dependencies.
- §0 — Imports and simulation setup: define true parameters, seed RNG
- §1 — Simulate market and asset returns; estimate β via OLS on excess returns
- §2 — Variance decomposition: systematic (β²σₑ²) vs. idiosyncratic (σε²); verify R²
- §3 — Jensen’s alpha: compute α̂, t-statistic, 95% confidence interval
- §4 — Portfolio beta linearity: verify β̣ = weighted average of individual betas
- §5 — Validation summary