Commit b37d0ca
* Add continuous distribution and volatility analysis to McCall model (#707)
This commit addresses issue #707 by extending the basic McCall model:
- Add "Continuous Offer Distribution" section
- Move continuous wage distribution from exercises to main content
- Implement lognormal wage distribution with Monte Carlo integration
- Show how reservation wage varies with c and β using contour plots
- Add "Volatility" section
- Demonstrate that reservation wage increases with volatility
- Use mean-preserving spread with lognormal distribution
- Illustrate how workers prefer more volatile distributions
- Update exercise mm_ex1 solution
- Change from discrete to continuous distribution
- Use JAX implementation with continuous wage draws
- Remove exercise mm_ex2 (now covered in main text)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* misc
* misc
* Add lifetime value analysis for volatility in McCall model
- Add new section showing expected lifetime value increases with volatility
- Implement parallel JAX code for simulating job search with optimal policy
- Use jax.vmap to vectorize 10,000 simulation replications
- Compute reservation wage and lifetime value across volatility levels
- Plot demonstrates option value of search under uncertainty
- Fix LaTeX escape sequence warnings in xlabel (use raw strings)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Simplify lifetime value simulation to fixed 100 periods
- Replace while_loop with fixed-period simulation (100 periods)
- Draw all wage offers upfront using vectorized operations
- Use cumsum to track employment status from first acceptance
- Simpler logic that's easier to parallelize (same path length)
- Cleaner code without nested loop functions
- Update description to reflect simplified approach
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* misc
* misc
---------
Co-authored-by: Claude <noreply@anthropic.com>
1 parent d1d868c commit b37d0ca
2 files changed
+327
-202
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments