Created
December 15, 2013 16:51
-
-
Save mbusigin/7975263 to your computer and use it in GitHub Desktop.
Estimating the cumulative utility of household debt to national income.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(quantmod) | |
getSymbols(c("GDP", "CMDEBT"), src="FRED") | |
plot(cumsum(na.omit(diff(GDP) - diff(CMDEBT)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment