taxdata
taxdata copied to clipboard
The TaxData project prepares microdata for use with the Tax-Calculator microsimulation project.
See the full discussion: https://github.com/PSLmodels/Tax-Calculator/issues/2483 An incremental approach would be to add nu01. To fully satisfy the request we would need to add nu01 through nu05.
Including some as young as zero ([notebook](https://colab.research.google.com/drive/1yniTmGymHGqJZ9bef-FlGKjIGz1ByTIO?usp=sharing)): ``` (cps.groupby('age_head').s006.sum().iloc[:18] / 100).astype(int) ``` ``` age_head 0 34752 1 39530 2 35297 3 29054 4 25753 5 34461 6 16484 7 28085...
The phaseout of the qualified business income deduction (QBID) is determined by three factors: - Whether the business is a specialized service business (`PT_SSTB_income`). - The amount of W-2 wages...
This was suggested at a forum I presented a paper at this week, per [Meyer (2019)](https://www.census.gov/content/dam/Census/library/working-papers/2019/econ/adep-wp-2019-02.pdf), who does it the following way: >Among those still in extreme poverty after incorporating...
When @MattHJensen, @Peter-Metz, and I were investigating creating state-specific PUFs, we noted that some of the values we were targeting have substantially different national totals reported in our source of...
There is a replicability issue using the `CVXOPT` solver in Python to calculate the PUF and CPS weights - the `md5` hash for the weight file changes every time the...
*Not ready to merge* In filing #323 I looked through this file, and took a stab at streamlining the code. Changes include: 1. Using a `wage_bin` function to create wage...
In a recent PSL call, we discussed improving the age variable on the PUF, which is currently brought over in the CPS match. This discussion followed a comment from @jdebacker...
I've been giving some thought as to how we refactor TaxData and wanted to share what I've come up with here. The general goal is to remove redundant code and...
One of the requirements for PSL acceptance is to adopt a versioning system. Additionally, if we do end up making a standalone taxdata package/CS app we'll need to specify versions...