search for: gdpdata

Displaying 1 result from an estimated 1 matches for "gdpdata".

Did you mean: dpdata
2012 Jan 18
0
Time series questions
...rows, I only have 259. To solve this, I created a temporary DF with "Year" and "Quarter" that was complete Yr.temp = rep(1947:2011, rep(4,65)) Qtr.temp = rep(1:4, 65) Temp.df = data.frame(cbind(Yr.temp,Qtr.temp)) and merged the two, so now I have the NA's. so, my DF is gdpdata with the above four columns, 260 rows. My first question: what is the difference between gdp.ts <- ts(gdpdata$GDP, start=1947, end=2011, fr=4) and gdp2.ts <- ts(gdpdata$GDP, start=c(1947,1), end=c(2011,4), fr=4) I get different outputs for time(gdp.ts) and time(gdp2.ts), and neither make se...