How to get residuals with arima0? [fwd]
Martin Maechler wrote:
I know this is a basic question, but I've never used the 'ts' package and I'm having some problem with it. If I type, for example:
fit1<-arima0(x , ...) resid(fit1)
the answer is 'NULL'. What is wrong? How to obtain residuals?
There is no method of residuals() for an object of class "arima0". Just use instead: fit1$resid Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._