Repository navigation
Commit 6ad797a
black_litterman: fix broken decolletage cells and revise the lecture (#403)
Fix the two decolletage cells that fail under NumPy 2 (TypeError: only
0-dimensional arrays can be converted to Python scalars), which passed
length-1 arrays to matplotlib as text and marker coordinates.
Revise the lecture:
- Redesign the simulated example (one-factor market, monthly Sharpe
ratio 0.12, T = 120, true means close to the market-implied ones), so
that extreme estimated portfolios come from estimation error rather
than from the true parameters. The old example's true optimum was
itself extreme, so shrinking toward the market made things worse.
- Add sections on views about a few assets (He-Litterman P, Q, Omega),
on whether shrinkage pays (Monte Carlo certainty-equivalent losses),
and on robustness about the mean, including its Bayesian reading as
shrinkage toward zero along an information contract curve.
- Refactor the decolletage figures into one function with distinct
colors and a legend; show Black-Litterman mixtures for three taus.
- Appendix: define B as a ratio of limits, normalize the relative-MSE
figure by its IID value, use "sampling interval" consistently, and
move Merton's fixed-span experiment into the text.
- Update Exercises 1-3, add figure captions, and fix wording, notation
and citation style.
- Add bib entries HeLitterman1999, GarlappiUppalWang2007, and
DeMiguelGarlappiUppal2009.
Co-authored-by: thomassargent30 <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>1 parent 9604f98 commit 6ad797a
2 files changed
Lines changed: 796 additions & 492 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3901 | 3901 | | |
3902 | 3902 | | |
3903 | 3903 | | |
| 3904 | + | |
| 3905 | + | |
| 3906 | + | |
| 3907 | + | |
| 3908 | + | |
| 3909 | + | |
| 3910 | + | |
| 3911 | + | |
| 3912 | + | |
| 3913 | + | |
| 3914 | + | |
| 3915 | + | |
| 3916 | + | |
| 3917 | + | |
| 3918 | + | |
| 3919 | + | |
| 3920 | + | |
| 3921 | + | |
| 3922 | + | |
| 3923 | + | |
| 3924 | + | |
| 3925 | + | |
| 3926 | + | |
| 3927 | + | |
| 3928 | + | |
| 3929 | + | |
| 3930 | + | |
| 3931 | + | |
0 commit comments