> library("lmtest") > a = arima.sim(list(ar = c(.05, -.05)), 1000) > b = arima(a, order = c(2, 0, 0)) > resettest(b) **Error in terms.default(formula) : no terms component nor attribute**
Question 1. What I am doing is shown above. What should I do about that?
(I have tried to put in
power parameter at
resettest(), result is the same.)
Question 2.If I want to do the same thing on the model below