You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve mccall_model_with_sep_markov.md: Add explanations and simplify simulation loop
Made the following improvements:
- Added explanatory sentences above all code blocks that lacked context
- Replaced lax.scan with lax.fori_loop in cross-sectional simulation (simpler and more appropriate since we only need final state)
- Renamed body_fn to update for clarity
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
Now let's compare the time-average unemployment rate (from a single agent's long simulation) with the cross-sectional unemployment rate (from many agents at a single point in time):
685
+
683
686
```{code-cell} ipython3
684
687
model = create_js_with_sep_model()
685
688
cross_sectional_unemp = simulate_cross_section(
@@ -725,6 +728,8 @@ changes with unemployment compensation.
725
728
:class: dropdown
726
729
```
727
730
731
+
We compute the steady-state unemployment rate for different values of unemployment compensation:
0 commit comments