Git Product home page Git Product logo

Comments (2)

feenberg avatar feenberg commented on May 28, 2024

On Mon, 6 Oct 2014, MattHJensen wrote:

@feenberg the SAS code for setting the floor on the casulty deduction does
not seem to do anything; in particular, it doesn't seem to set the 10% of
agi floor. Am I missing something?

Starting at line 317 in the SAS file you sent over the weekend:

/* Casulty */

if e20500 gt 0 then do;

c37703 = e20500+.1*_posagi;

c20500 = c37703-.1*_posagi;

end;

else do;

c37703 = 0;

c20500 = 0;

end;

Well, the idea is that if c20500 is greater than zero, there must have
been casulty deduction of greater than 10% of posagi. In that case we can
calculate what the original casulty would have been - it is the deduction
plus 10% of agi. Otherwise we don't know anything, and leave the casulty
amount at zero. Can you show an example where SAS doesn't do this?

dan


Reply to this email directly or view it onGitHub.[8114261__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyODIyMT
M5MywiZGF0YSI6eyJpZCI6NDQ4ODc5OTR9fQ==--2b01a7661edfbb891ef87339494b7278138
eb2f3.gif]

from tax-calculator.

MattHJensen avatar MattHJensen commented on May 28, 2024

Thank you! I misinterpreted e20500 by not following it through to form 4684. Will close issue.

From: feenberg [[email protected]]
Sent: Monday, October 06, 2014 10:37 AM
To: OpenSourcePolicyCenter/Tax-Calculator
Cc: Matt Jensen
Subject: Re: [Tax-Calculator] casulty floor not set (#41)

On Mon, 6 Oct 2014, MattHJensen wrote:

@feenberg the SAS code for setting the floor on the casulty deduction does
not seem to do anything; in particular, it doesn't seem to set the 10% of
agi floor. Am I missing something?

Starting at line 317 in the SAS file you sent over the weekend:

/* Casulty */

if e20500 gt 0 then do;

c37703 = e20500+.1*_posagi;

c20500 = c37703-.1*_posagi;

end;

else do;

c37703 = 0;

c20500 = 0;

end;

Well, the idea is that if c20500 is greater than zero, there must have
been casulty deduction of greater than 10% of posagi. In that case we can
calculate what the original casulty would have been - it is the deduction
plus 10% of agi. Otherwise we don't know anything, and leave the casulty
amount at zero. Can you show an example where SAS doesn't do this?

dan

Reply to this email directly or view it onGitHub.[8114261__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyODIyMT
M5MywiZGF0YSI6eyJpZCI6NDQ4ODc5OTR9fQ==--2b01a7661edfbb891ef87339494b7278138
eb2f3.gif]

Reply to this email directly or view it on GitHubhttps://github.com//issues/41#issuecomment-58026129.

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.