Displaying 1 result from an estimated 1 matches for "newt4".
Did you mean:
newt
2010 Aug 14
1
Simple problem with lm/predict
Hi all,
I've got an xts time series with monthly OHLC Dow Jones industrial index
data from 1980 to present, the data is in stored in x.
I've done an OLS fit on the data in 1982::1994 and stored it in extrapolate1
(x[,4] contains the closing value for the index).
> t3 <- seq(1980,1994,length = length(x["1980::1994",4]))
> t4<-t3^2
> extrapolate1 <-