vfitoolkit / IntroToLifeCycleModels

Gradually build up a life-cycle model
GNU General Public License v3.0
18 stars 10 forks source link

Lifecyclemodel20 #7

Closed aledinola closed 48 minutes ago

aledinola commented 2 hours ago

The comment jequaloneDist(1,:)=statdist_z; % All agents start with zero assets, and the median shock

Is not correct since agents start from the long run distrib of z, not from the median shock

aledinola commented 2 hours ago

Also, line 160-161 the comment says the model is deterministic but this model has shocks

robertdkirkby commented 48 minutes ago

fixed, thanks! https://github.com/vfitoolkit/IntroToLifeCycleModels/commit/7274b5ca32f50a64a7cc54ff325b2b87d485f979