[R] How to get residuals with arima0? [fwd]
Uwe Ligges
ligges at statistik.uni-dortmund.de
Thu Sep 20 11:15:16 CEST 2001
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list