[R] extracting response from arima obj

kjetil halvorsen kjetilh at umsanet.edu.bo
Tue Nov 12 02:11:21 CET 2002


I have used the construction

model.response(model.frame(object))

to get the response from a fitted model object (that was an glm, no
reason it shouldnt work for an aov also).

Kjetil halvorsen

vito muggeo wrote:
> 
> dear all,
> Is it possible to extract the response vector from a fitted arima object?
> For instance in glm it is allowed, by:
> obj.glm<-glm(y~x)
> obj.glm$y #the response vector
> 
> In arima I can't find it:
> obj.arima<-arima(y, order=c(1,0,1)) #say
> names(obj.arima) doesn't seem to include the response. Am I wrong?
> 
> Many thanks for your help,
> best,
> vito
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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