Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is rationale for two different cmbtp_* variables? #1073

Closed
martinholmer opened this issue Nov 20, 2016 · 4 comments
Closed

What is rationale for two different cmbtp_* variables? #1073

martinholmer opened this issue Nov 20, 2016 · 4 comments
Labels

Comments

@martinholmer
Copy link
Collaborator

In the taxdata repository, the following code (which used to be in Tax-Calculator) computes the cmbtp_standard and the cmbtp_itemizer variables:

    # (C) Impute cmbtp_standard and cmbtp_itemizer variables:
    data['cmbtp_standard'] = data['e62100'] - data['e00100'] + data['e00700']
    zero = np.zeros(len(data.index))
    medical_limit = np.maximum(zero, data['e17500'] -
                               np.maximum(zero, data['e00100']) * 0.075)
    med_adj = np.minimum(medical_limit,
                         0.025 * np.maximum(zero, data['e00100']))
    stx_adj = np.maximum(zero, data['e18400'])
    data['cmbtp_itemizer'] = (data['e62100'] - med_adj + data['e00700'] +
                              data['p04470'] + data['e21040'] - stx_adj -
                              data['e00100'] - data['e18500'] -
                              data['e20800'])

Can somebody explain the rationale for having two different variables?

This question is being posed because the recent addition of those variables into the calculation of _expanded_income (see pull request #1057) causes _expanded_income to change simply because a reform induces a filing unit to change from itemizing deductions to using the standard deduction (or vice versa). Such a change in _expanded_income does not seem intuitive or sensible.

@MattHJensen @feenberg @Amy-Xu @GoFroggyRun @andersonfrailey @codykallen

@martinholmer martinholmer changed the title What is the rationale for two different cmbtp_* variables? What is rationale for two different cmbtp_* variables? Nov 20, 2016
@feenberg
Copy link
Contributor

On Sun, 20 Nov 2016, Martin Holmer wrote:

In the taxdata repository, the following code (which used to be in Tax-Calculator)
computes the cmbtp_standard and the cmbtp_itemizer variables:

# (C) Impute cmbtp_standard and cmbtp_itemizer variables:
data['cmbtp_standard'] = data['e62100'] - data['e00100'] + data['e00700']
zero = np.zeros(len(data.index))
medical_limit = np.maximum(zero, data['e17500'] -
                           np.maximum(zero, data['e00100']) * 0.075)
med_adj = np.minimum(medical_limit,
                     0.025 * np.maximum(zero, data['e00100']))
stx_adj = np.maximum(zero, data['e18400'])
data['cmbtp_itemizer'] = (data['e62100'] - med_adj + data['e00700'] +
                          data['p04470'] + data['e21040'] - stx_adj -
                          data['e00100'] - data['e18500'] -
                          data['e20800'])

Can somebody explain the rationale for having two different variables?

This question is being posed because the recent addition of those variables into the
calculation of _expanded_income (see pull request #1057) causes _expanded_income to
change simply because a reform induces a filing unit to change from itemizing
deductions to using the standard deduction (or vice versa). Such a change in
_expanded_income does not seem intuitive or sensible.

Isn't the solution to this dilemma that the the choice of which definition
to use should depend on the taxpayer decision to itemize in the base law,
and not be affected by the reform?

dan

@MattHJensen @feenberg @Amy-Xu @GoFroggyRun @andersonfrailey @codykallen


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the
thread.[AHvQVRZyv0NltLGOpk4UMI4RZnorWkhpks5rAIXigaJpZM4K3mWV.gif]

@martinholmer
Copy link
Collaborator Author

@feenberg said:

Isn't the solution to this dilemma that the the choice of which definition to use should depend on the taxpayer decision to itemize in the base law, and not be affected by the reform?

Yes, I think so. I've already started preparing pull requests in taxdata (to include the FDED variable in the puf.csv file) and in taxcalc (to use FDED to identify which cmbtp_* variable should be used to define (immediately after the data is read in and before any tax calculations) a nonAGI_income variable that will be added directly into _expanded_income. Does that make sense?

@martinholmer
Copy link
Collaborator Author

martinholmer commented Nov 20, 2016

Issue #1073 is resolved in pending pull request #1077.

@martinholmer
Copy link
Collaborator Author

Issue #1073 has been resolved by the merger of pull request #1077 into the Tax-Calculator master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants