Comments (4)
How about:
calc.inflation_rates = [0.011, 0.022, 0.023] + [0.024]*7
You get an exception if the length of inflation_rates
is not the same as budget_years
in the Parameters object. You could also do:
rates = [0.011, 0.022, 0.023] + [0.024]*7
calculator(parameters="params.json", records="puf2.csv", inflation_rates=rates)
So, in this case, because the default size fo budget_years
is 10, if you specify the rates, it has to be of length 10. Thoughts?
-T.J.
from tax-calculator.
@talumbau The top seems fine for now, although 99% of the time we will just use the defaults values. This is because the inflation rates and the blowup factors are linked (i.e., the records blowup factors are partially determined by the inflation rate, and it doesn't make sense to use different inflation rates for blowing up the tax law parameters from the one that we used to generate the records blowup factors)
A couple of notes:
- I am now running the calculator locally with default budget_years = 12, so that we can blow up params from 2013 through 2024. We will still only want to report the 10 years 2015-2024. If you don't, I will probably make this update in an upcoming PR.
- Just a heads up: we may need to modify how the data blowup, reweighting, and param inflation are implemented when we link the tax calculator to a macroeconomic model. Then we will want to be able to give the calculator a new set of blowup factors, weights, and inflation rates each time we increment the year (not just when we set up the calculator.)
from tax-calculator.
I think we need to make the default inflation rates the same as those
Ohara assumes for the data. These seem close to his CPIU numbers, but not
exact.
dan
On Mon, 2 Mar 2015, T.J. Alumbaugh wrote:
How about:
calc.inflation_rates = [0.011, 0.022, 0.023] + [0.024]*7
You get an exception if the length of inflation_rates is not the same as
budget_years in the Parameters object. You could also do:rates = [0.011, 0.022, 0.023] + [0.024]*7
calculator(parameters="params.json", records="puf2.csv", inflation_rates=rat
es)So, in this case, because the default size fo budget_years is 10, if you
specify the rates, it has to be of length 10. Thoughts?-T.J.
—
Reply to this email directly or view it on
GitHub.[AHvQVZ5TEAg0i5OLw3GRWkZvE7EgdU_Zks5nxIm6gaJpZM4DX9u7.gif]
from tax-calculator.
Dealt with in #155. Merging.
from tax-calculator.
Related Issues (20)
- Incorrect 2020 UI exemption logic HOT 1
- Incorrect 2020 CG_brk2 policy parameter value HOT 1
- Incorrect 2021 RRC_pe policy parameter value HOT 1
- Incorrect 2020-21 EITC_ps and EITC_ps_MarriedJ policy parameter values HOT 1
- Ensure recipes run on Google Colab
- Parameterize IRS rounding rules for indexed parameter values HOT 4
- Incorrect 2021 *_brk5 and *_brk6 policy parameter values HOT 2
- Exempt the first $400 from self-employment tax HOT 1
- Incorrect 2021 Child and Dependent Tax Credit calculations
- Incorrect 2020 EITC calculation HOT 1
- Incorrect EITC amount for two kids in 2022 HOT 1
- Incorrect status-quo EITC calculations for 2022 HOT 2
- Introduce tax offset (employer side payroll) into Tax-Calc HOT 3
- Release Tax-Calculator 3.3.0 HOT 1
- documentation issues
- Pandas .append() method deprecated HOT 1
- ACTC should be 1600 in 2023, not 1500 HOT 1
- split payroll tax functions
- ACTC Revenue Estimation Question HOT 3
- Payroll tax validation HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tax-calculator.