search for: allemp

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

Did you mean: allem
2010 May 06
1
question about rolling regressions
...ave a time series data set and want to run rolling regressions with it. Any suggestions would be useful. Here are the details: (1) I convert relevant variables into time series objects and compute first differences: vad <- ts(data$ALLGVA/data$GDPDEF, start=1948, frequency=1) emp <- ts(data$ALLEMP, start=1948, frequency=1) vad.dif1 <- diff(vad) emp.dif1 <- diff(emp) (2) I make a data set: d <- ts.union(emp.chng=emp.dif1,lag.emp.chng=lag(emp.dif1,-1),twolag.emp.chng=lag(emp.dif1,-2), vad.chng=vad.dif1,lag.vad.chng=lag(vad.dif1,-1),twolag.vad.chng=lag(vad.dif1,-2)) (3) I run regre...