Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct human wealth with risky returns #1403

Merged
merged 8 commits into from
Apr 12, 2024
Merged

Commits on Mar 28, 2024

  1. Found correct human wealth formula with risky returns

    Through a combination of math and experimentation, I've found the correct computation of "human wealth" in the presence of risky returns. I've implemented it for RiskyAssetModel and FixedShareModel. On the next commit I'll get it working for the PortfolioChoice models, and then turn to ConsMarkovModel.
    mnwhite committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    821f0fd View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2024

  1. Added cFunc extrapolation to basic portfolio model

    Seems to mostly work, *except* that MPCmin is now off by 0.00001 or so. This only becomes evident if you have an enormous top gridpoint, like m=10000. I have a guess why.
    mnwhite committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    f36700e View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. Add "refinement loop" to basic portfolio solver

    The proper human wealth and lower bound of MPC calculations are now in the "advanced" portfolio solver in ConsPortfolioModel, but not actually used in the consumption function. Calculation of the limiting share has been tweaked to be more accurate.
    
    The "basic" solver in ConsRiskyAssetModel now goes through a loop to refine its search for optimal portfolio share at each aNrm gridpoint by "zooming in". We will probably want to add a parameter to specify how many times to do this loop, but it's currently set to 3.
    mnwhite committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    fbb84d8 View commit details
    Browse the repository at this point in the history
  2. Reformatting run

    mnwhite committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    a8c7b24 View commit details
    Browse the repository at this point in the history
  3. Fix indexing error

    I broke everything
    mnwhite committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    1007037 View commit details
    Browse the repository at this point in the history
  4. Missed two tabs

    mnwhite committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    3287467 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. Correct human wealth calculation in ConsMarkovModel

    Incorporate proper discounting for human wealth into ConsMarkovModel so that extrapolation works properly.
    mnwhite committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    352e1f1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a27df5 View commit details
    Browse the repository at this point in the history