Comments (3)
OK, I have a theory, correct me if I got it wrong.
xtxcr1-xtxcr10
is not a subtraction, as I originally thought, but a variable name. Then the of keyword indicates we are summing together elements of one vector instead of summing together several vectors element-wise.
from tax-calculator.
It just means take the sum of all 10 variables in the list xtxcr1-xtxcr10.
There is an example here:
http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000245953.htm
dan
On Mon, 6 Oct 2014, Ilia Kurenkov wrote:
I've been able to track some of the few variables that still have
discrepancies to a difference in _nctcr.
As I look at the relevant SAS code I'm wondering what the statement sum(of
xtxcr1-xtxcr10); means, in particular the of keyword. Google didn't seem to
have an answer. @feenberg @MattHJensen @SameerSarkar—
Reply to this email directly or view it onGitHub.[8114261__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyODIzMT
gxMywiZGF0YSI6eyJpZCI6NDQ5MTA0NDR9fQ==--1e53e4927bedc9d689248f7c91782b530aa
787ad.gif]
from tax-calculator.
Thank you for this. It appears there's nothing wrong with _nctcr, but there was a small mistake in how _precrd is computed. I fixed that, which led to improved accuracy. We're now down to a little over a dozen variables that are off.
BTW, is the max
really necessary in max(0,_ctcagi - _cphase(MARS))
in this line if we never hit it unless _ctcagi - _cphase(MARS) >= 0
? This is a minor question, however.
I'm closing the issue because the actual problem has been resolved.
from tax-calculator.
Related Issues (20)
- CTC multiple non-refundability limitations
- Allow negative values for the bonus credits for children under age 6
- How to interact AGI with SALT cap HOT 2
- Missing 2020-2022 policy parameter values HOT 1
- 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
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.