econ-ark / DistributionOfWealthMPC

The Distribution of Wealth and the Marginal Propensity to Consume
2 stars 8 forks source link

An automated test that makes sure the results match the paper #7

Closed sbenthall closed 1 year ago

sbenthall commented 1 year ago

Related to #1213

Create an automated test that makes sure the results match (within reason) the results of the paper.

This test can be ran automatically on the master branch (but it's computationally expensive so there is the possibility of GitHub Action timeouts). Or manually when the repository is updated.

sbenthall commented 1 year ago

do_min

sbenthall commented 1 year ago

The test should check that the average MPCs are identical up to two digits. And quintiles not much further than 10% of the original results, which were:

https://gist.github.com/sbenthall/ab205807836deed3dd30e1c914a6ddeb