Skip to content

TPI fixes #43

@jdebacker

Description

@jdebacker

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions