Skip to content

Commit

Permalink
Add simple solver for ConsGenIncProcess
Browse files Browse the repository at this point in the history
I've tested it on the PersistentIncomeShock model, and it reproduces the solution exactly. Strangely, it's 5-6x *faster* than the existing code, even though I made this version by "flattening" the old version. That probably means there's a hidden loop of some kind that I (unknowingly) skipped over.

Also: I think PersistentShockType doesn't initialize properly with default parameters. I'll look into it.
  • Loading branch information
mnwhite committed Mar 14, 2024
1 parent ccbdd76 commit f33f16d
Showing 1 changed file with 434 additions and 5 deletions.
Loading

0 comments on commit f33f16d

Please sign in to comment.