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
Here are a few things to look to fix in TPI.py (not necessarily an exhaustive list, but some that jump out at me):
The distance calculation for the guessed and implied paths should look at deviations for the BQ path and the r path
There should be updating of the r path just like the BQ path is updated in lines 68-70
When updating the paths of r and BQ, just update through period T (though you will need the arrays to be of length T+S-1 to solve the full time path (which includes those born in period T)
The defining of initial paths (lines 21-34 -- or at least the parts of these that set the initial BQ and r paths) should be outside the while loop
The time path solution should return aggregate labor over the path, since that is one other variables you'll need to plot
Here are a few things to look to fix in
TPI.py(not necessarily an exhaustive list, but some that jump out at me):