Git Product home page Git Product logo

Comments (3)

iliakur avatar iliakur commented on May 24, 2024

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.

feenberg avatar feenberg commented on May 24, 2024

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.

iliakur avatar iliakur commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.