U.S. debt from 1940 to 2010. Red lines indicate the Debt Held by the Public (net public debt) and black lines indicate the Total Public Debt Outstanding (gross public debt), the difference being that the gross debt includes that held by the federal government itself. The second panel shows the two debt figures as a percentage of U.S. GDP (dollar value of U.S. economic production for that year). The top panel is deflated so every year is in 2010 dollars.
日期
来源
United States Government
Originally uploaded by O18 (talk) to en:Wikipedia (log).
Deflator (composite outlay deflator): table 1.3 or 10.1
Table description:
year: fiscal year
gross federal debt dollars: (nominal) gross federal debt (millions)
total public dollars: (nominal) federal debt held by the public, ie, net of that held by federal govt (millions)
deflator: composite outlay deflator (indexed to 2005)
gross federal debt gdp: gross federal debt over fiscal year GDP (on same nominal/real basis)
total public gdp: federal debt held by the public over fiscal year GDP (on same nominal/real basis)
Evidence against bias:
the gross federal debt dollars series agrees well with the Oct, 23 AP report ("U.S. Debt Past $1 Trillion") that the debt first passed 1 Trillion dollars that day.
The gross federal debt gdp in 2007 is the ratio of the nominal GDP from CIA fact book in 2007 over the nominal debt from table 7.1 in the reference.
Tabled data
This data tabled directly from the source (Presidents FY2012 budget). Note: deflators are applied when graphing in the code below, and it is deflated to the stated year (now 2010).
July 29, 2021 Comprehensive revision: debt from U.S. Treasury website, GDP and deflators from BEA table, Debt/GDP ratio calculated from foregoing
Program
The image was made with R using the following code after setting the working directory properly.
#setwd("~/") # <- you have to change this to a folder on your computerdat<-read.csv("debt.txt")# <- you have to put the above data as debt.txt in the folderbitmap(file="USDebt.png",type="png256",width=6,height=7,res=300,pointsize=14)par(mfrow=c(2,1))par(mar=c(2,3.5,0.1,1))par(las=1)par(yaxs="i")par(mgp=c(2.1,0.6,0))dat$deflator<-dat$deflator/dat$deflator[dat$year==2010]plot(range(dat$year),range(1.04*c(0,dat$gross.federal.debt.dollars/dat$deflator/1e6)),type="n",xlab="debt",ylab="debt (trillions of 2010 dollars)",lwd=3)lines(dat$year,dat$gross.federal.debt.dollars/dat$deflator/1e6,lwd=3)lines(dat$year,dat$total.public.dollars/dat$deflator/1e6,type="l",col="red",lwd=3)legend("topleft",lwd=3,col=c("black","red"),legend=c("gross debt","public debt"),bty="n")par(mar=c(2,3.5,0.1,1))plot(range(dat$year),range(1.04*c(0,dat$gross.federal.debt.gdp,dat$total.public.gdp)),type="n",xlab="year",ylab="debt as a % of gdp")lines(dat$year,dat$gross.federal.debt.gdp,type="l",lwd=3)lines(dat$year,dat$total.public.gdp,type="l",col="red",lwd=3)dev.off()
The previous version of this file had a legend saying 2009 deflator, but had data for a 2005 deflator. There was substantial inflation between 2005 and 2010, so the adjustment is quite noticeable: my point being that the price increases did not take pla
{{Information |Description===Data sources== Data for 1940-2007 are available from the United States Government * Debt (nominal and percentage of GDP): [http://www.whitehouse.gov/omb/budget/fy2009/pdf/hist.pdf], table 7.1 * Deflator (composite outlay defl