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

CAP analysis v1 #139

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open

CAP analysis v1 #139

wants to merge 24 commits into from

Conversation

jwal1024
Copy link
Contributor

@jwal1024 jwal1024 commented Jun 2, 2021

Edits to the .py. Separate the .py into a JupyterBook. Upload dataset. More to come.

jwal1024 and others added 24 commits June 2, 2021 11:30
Edits to the .py. Separate the .py into a JupyterBook. Upload dataset. More to come.
Child allowance.py working with Max on the person_sim.
Add in remaining simulations to check with max
Replaced over_5 with adult to help clean up the low_qual sim being smaller issue. Still a size issue (likely due to state merging). Divided SPM weights by 3 for 3 years of data. Added notes. Added 0 costs for adults to the CAP dataset. Added deep poverty and poverty flags.
Updated person_sim output. low_qual having fewer observations (likely induced by extra/missing state) issue persists
Updates to python code to have dummy for whether any child expenditures, started regression for any expenditures, corrected path, commented out double quoted comments.

Notes: Py issues -
dataset merge still not merging fully (different number of states?) Not sure if SPM aggregation is working as intended after changes.

Jupyter book has key error on scenario.
Poverty rates are 0 for the 4 quality sims
Low_full still has too few values (likely due to missing/extra tates)
Data frame doesn’t recognise sim as a column name
Anyspm not merging as intended
Corrected aggregation to spmu, moved flags out of spmu to person calc level.
To do: Visualizations.
Committing current code used to produce outputs for the paper. Code will be cleaned.
Add Paper to the child allowance folder so that it is sharable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants