Skip to content

Commit d1f6ec2

Browse files
mmckythomassargent30claudejstacCopilot
authored
Review and improve black_litterman, BCG_complete_mkts, BCG_incomplete… (#384)
* Review and improve black_litterman, BCG_complete_mkts, BCG_incomplete_mkts Correct mathematical and code errors, apply QuantEcon style, and add three exercises with dropdown solutions to each lecture. black_litterman: - Fix the T operator closed form, relative entropy definition, robust objective display, Leamer program, regularization mapping, ridge matrix, standardization, and the appendix variance bound; add the closed form for B(h) - Explain the role of tau, note that robustness rescales positions without changing signs, correct the sampling-frequency direction, cite Merton (1980), seed the Numba Monte Carlo, and use d_m for the Black-Litterman weights BCG_complete_mkts: - Fix the Arrow price formula, consumer Lagrangian and FOCs, allocation subscripts, and shock/loading ranges; correct code comments and labels - Distinguish the market value of securities from net firm value, fix a forward reference, call chi_i loadings, and interpret the 3D figure BCG_incomplete_mkts: - Fix dp/dk, default-state bond payoffs, notation slips, and the off_eq_check integrand; add Makowski (1983) citation - Warn when the equilibrium hits a corner, clarify the role of Eqn2, sharpen the comfort check and stability wording, fix the density grid, clip the default threshold, and delete dead commented-out code Co-Authored-By: Claude Opus 5 <[email protected]> * Fix formatting issue in black_litterman.md Co-authored-by: Copilot Autofix powered by AI <[email protected]> * Fix terminology, warning pass-through, and typos from review of #384 BCG_complete_mkts: call V-tilde + pb the market value of the firm's securities in exercise 1, matching the lecture body; fix four typos. BCG_incomplete_mkts: let the exercise helper pass on solve_eq's corner warning instead of swallowing it; print k and b where the prose quotes them; drop three leftover commented-out lines. black_litterman: use mu_BL and delta_m consistently, replace the undefined w_BL with w_m, and use gamma_h(k) in the Bartlett sum. Co-Authored-By: Claude Fable 5.1 <[email protected]> --------- Co-authored-by: thomassargent30 <[email protected]> Co-authored-by: Claude Opus 5 <[email protected]> Co-authored-by: John Stachurski <[email protected]> Co-authored-by: Copilot Autofix powered by AI <[email protected]>
1 parent 1fe489c commit d1f6ec2

4 files changed

Lines changed: 1621 additions & 1133 deletions

File tree

0 commit comments

Comments
 (0)