Closed rickecon closed 8 years ago
@jdebacker, @kerkphil , and I talked about what levers a user should be able to pull in the OG-USA model through a web app. We thought the following list of three parameter (non-tax) levers would be a good start.
Parameter levers:
@jdebacker , @kerkphil , and I talked about what output to show in an initial version of the dynamic model integrated with the microsimulation model. We thought showing percent changes in dynamic model variables over a 10-year window. Macro variables for which to show percent changes are:
We also thought it would be straightforward to show some percent changes in the distribution of certain variables across the population in each year, similar to the distributional tables from the microsimulation model output. Population distribution variables could include the following:
I think all of these variables are output in the pickle OG-USA/Python/OUTPUT/TPIinit/TPIinit_vars.pkl. We would simply have to calculate the percent change from the pickle of Case Y from the pickle of Case X.
@chrisrytting and I have been working on integrating the tax data from the microsimulation model into the OG-USA model. Our current work is in the repository https://github.com/rickecon/microsimint. The current python script in that repo, simtaxfuncs.py, generates 1,600 series of synthetic tax rate and income data that should have the same properties as the data that comes from tax-calculator. We are currently writing code to estimate parameters for tax functions from each of those 1,600 data series and incorporate those parameters into the tax functions and Euler equations of the OG-USA model.
The duplication of parameter values in dynamic/parameters.py is on me. I put two functions in there as an expedient way to get two different simulations to run: the real one and a "fake" one for a smoke test. A reasonable refactor is to have these values specified in a JSON file, and then have each simulation read from the JSON file. The effort level for such a task is not high.
@MattHJensen and @Amy-Xu. The tax data we need from the tax calculator is the total effective (average) tax rate for individuals as well as their labor income and capital income for all individuals of a given age and for a given period (t=1=the first year to t=10=the final year of the forecast). This means we need three data series (tax rate, capital income, labor income) for each age group in e@ch year of the forecast. This is a block of data the dimensions of which are S x T x N x 3. Instead of the total effective tax rate (total taxes paid / total income) you could just give us total taxes paid, total income, and capital income and we can back out the rest. @jdebacker @kerkphil @chrisrytting
I have a detailed email written and will follow up. Unexpected power outage here.
On Oct 21, 2015, at 2:31 PM, Richard Evans notifications@github.com wrote:
@MattHJensen and @Amy-Xu. The tax data we need from the tax calculator is the total effective (average) tax rate for individuals as well as their labor income and capital income for all individuals of a given age and for a given period (t=1=the first year to t=10=the final year of the forecast). This means we need three data series (tax rate, capital income, labor income) for each age group in e@ch year of the forecast. This is a block of data the dimensions of which are S x T x N x 3. Instead of the total effective tax rate (total taxes paid / total income) you could just give us total taxes paid, total income, and capital income and we can back out the rest. @jdebacker @kerkphil @chrisrytting
― Reply to this email directly or view it on GitHub.
@chrisrytting @jdebacker . Chris, will you please go ahead and start estimating tax functions from the data that we currently have. @jdebacker is working with @Amy-Xu and @MattHJensen to make sure the data are correct and fix some potential problems. Here are the steps that we need to do.
This seems to now be integrated. @rickecon if you are satisfied, we can close this issue.
This one is done.
This issue contains the discussion of how to integrate the rich tax functions produced by the microsimulation model into the dynamic (OG-USA) model.