Thanks for the explanation!
--
View this message in context:
http://r.789695.n4.nabble.com/Question-from-day2-beginner-tp2293221p2294990.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
Try:
ar(logrvar, aic=TRUE)$resid
The problem you are running into is that
'resid' is a generic function, and the 'ar'
function neither returns an object with a
class nor returns an object that the default
method works with.
The 'summary' command you used might have
instead used 'str'.
The
Hello, I just started learning R and have a very basic question:
When I try ar model and extract residuals it returns Null. Could someone
explain what's going on here? Does that mean the model is null? But it
seems residual has a length=# observation of the original series according
to the
3 matches
Mail list logo