Skip to content

"predict"

2 messages · ATHANASIA KAMARIOTIS, Brian Ripley

#
Good afternoon,

Can you please tell me how R computes : " predict(ar.x)$pred "
in :

#let x be a vector

ar.x<-ar(x)
predict(ar.x)$pred

Thank you

Bye
2 days later
#
It uses the appropriate method for the generic function predict().
In your case it is predict.ar(), and you can examine it by

        
On Tue, 15 Jul 2003, ATHANASIA KAMARIOTIS wrote: