-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
Both growth.json
long_names and descriptions appear to need update
#1159
Comments
I agree that the long_name should not say "percent" or "percentage points". I also think these definitions need to be revised to reflect that the growth rates in factor_target are not CBO's real GDP growth rates. |
@codykallen said:
Guess I don't understand the Growth class. @MattHJensen @Amy-Xu @feenberg @andersonfrailey @GoFroggyRun @codykallen @zrisher |
@martinholmer said:
I don't know. The growth rates in factor_target are not the CBO growth rates in any of their regular economic and budget projections. Moreover, the growth rates in factor_target for 2013, 2014 and 2015 are not the real growth rates that actually occurred for those years. Here are the growth rates for each year according to factor_target and to the BEA for 2013-2015 and CBO's Jan 2017 projections for 2016-2026: 2013: 0.0247 (0.017), |
@codykallen, Thanks for the info about growth rates in issue #1159. @MattHJensen and @Amy-Xu, can you clarify what is going on in the Growth class? |
I have two points:
|
@codykallen said:
@codykallen, can you provide a link and page reference to the CBO Jan 2017 projections? |
@martinholmer asked:
The projections come from the CBO January 2017 "Budget and Economic Outlook and Updates" on page 88. The Excel files with the projections can be found here under the "10-Year Economic Projections" section. This page also has the projections from previous reports, which also do not match those on factor_target. |
@Amy-Xu said:
@codykallen said:
So, @andersonfrailey, are the real GDP growth rates in the |
Since I started working on TaxCalc, real GDP growth rates haven't matched CBO real GDP growth rates. When I was trying to recreate them, I found the real GDP growth rates were determined using AGDPN and ACPIU in Stage 1 factors:
I'm not sure why this has been the case rather than using the growth rates in the CBO economic projections, but @MattHJensen brought this up in issue #1144. I'll be updating the real GDP growth rates in |
@andersonfrailey said:
(a) But if the real GDP growth rates are used in the preparation of the StageIfactors.csv values or the Stage3 adjustment-factor values, then you'll have to redo those calculations as well, right? (b) The formula you describe above is incorrect, which is why the printed CBO rates and the
So, as you can see there is no subtraction; the correct formula uses division. |
@martinholmer, with regards to this comment:
The real GDP growth rates aren't used in preparation of With regards to this:
Right. But looking at the function # back out original stage I GDP growth rates from blowup factors
record.BF.AGDPN[Records.PUF_YEAR] = 1
for year in range(Records.PUF_YEAR + 1, endyr + 1):
record.BF.AGDPN[year] = (record.BF.AGDPN[year] *
record.BF.AGDPN[year - 1] *
record.BF.APOPN[year])
# calculate nominal GDP growth rates from original GDP growth rates
nominal_rates = np.zeros(nyrs)
for year in range(syr + 1, endyr):
irate = policy._inflation_rates[year - syr]
nominal_rates[year - syr] = (record.BF.AGDPN[year] /
record.BF.AGDPN[year - 1] - 1 - irate)
# check that nominal_rates are same as default GDP growth rates
nominal_rates = np.round(nominal_rates, 4)
assert_array_equal(nominal_rates[1:], Growth.REAL_GDP_GROWTH_RATES[1:-1])
# back out stage I inflation rates from blowup factors
cpi_u = np.zeros(nyrs)
for year in range(syr, endyr):
cpi_u[year - syr] = record.BF.ACPIU[year] - 1
# check that blowup rates are same as default inflation rates
cpi_u = np.round(cpi_u, 4)
assert_array_equal(cpi_u, policy._inflation_rates[:-1]) because at that point So it seems to me that it |
@andersonfrailey said:
Excellent point @andersonfrailey! It is very good that you spotted this problem. I've looked into the history of this test, which was originally located in the |
Pursuing my previously described plan to redo the hard-coded-rates consistency tests (see #1159), I have discovered that pull request #428, which was merged into the master branch on Nov 9, 2015 (just three days after #424 was merged), added |
@martinholmer your plan to re-do the consistency tests makes sense to me.
I just took a quick look at the the wage growth rate in the CBO economic projections and there are three years where the rates differ by one ten-thousandth, but besides that they all match up.
I used the August 2016 version of the file rather than January 2017 to stay consistent with which file was used to determine the hard-coded values in |
@andersonfrailey, Thanks for checking the hard-coded |
@martinholmer that is correct. Specifically in the calendar year tab. |
Both long_name entries seem to be suggesting values should be percents, but that is contradicted in the descriptions. Should the percent text be dropped from the long_names?
The description of the
_factor_target
parameter seems to be at variance of what is going on in the code. Is the description wrong? Or is the code wrong? Or am I confused because I don't understand what's going on in the Growth class?@MattHJensen @Amy-Xu @feenberg @andersonfrailey @GoFroggyRun @codykallen @zrisher
@PeterDSteinberg @talumbau
The text was updated successfully, but these errors were encountered: