Commit b483555
committed
Fix simulation extrapolation issues in aiyagari_egm
- Increased asset grid maximum from 20 to 50 to handle high savings
- Added asset clipping to prevent extrapolation issues in simulation
- Added comments explaining interpolation/extrapolation behavior
- Verified equilibrium computation: K* ≈ 8 (reasonable for these parameters)
- All tests now pass with stable, reasonable results1 parent 54752d5 commit b483555
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
593 | 596 | | |
594 | 597 | | |
595 | 598 | | |
596 | 599 | | |
597 | 600 | | |
598 | 601 | | |
599 | 602 | | |
600 | | - | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
601 | 608 | | |
602 | 609 | | |
603 | 610 | | |
| |||
0 commit comments