A short, hands-on exercise about appraisal smoothing and lag-corrected market beta.
You will use quarterly U.S. market returns and three reported asset series to:
- build a Dimson-style lagged regression;
- choose the number of lags with a simple stopping rule; and
- estimate each asset's total market beta and reporting weights; and
- compute the total beta's standard error using the full covariance matrix.
- Click Open in Colab above.
- In Colab, choose File → Save a copy in Drive.
- Run the setup cell once.
- Complete the cells marked TODO, in order.
- Run each check cell before moving on.
The exercise should take about 15–20 minutes. No local installation or separate data download is required.
- Make sure you ran the setup cell first.
- Rerun your function cell after editing it.
- If the notebook state becomes confusing, choose Runtime → Restart session, then start again from the setup cell.
The market series is derived from the daily U.S. Fama/French 5 Factors (2x3) file from Kenneth French's Data Library. Daily total market returns are compounded into complete calendar quarters. The frozen exercise sample covers 1963Q3–2026Q1.
The code and original teaching material are MIT licensed. The underlying Fama/French source data remain subject to their original attribution and terms.