[R] NA in AR model residuals

2007-09-09 Thread Nick Chorley
Hi,

This may be a stupid question, but why when creating an AR model, why does R
set the first n components of the ar object's resid vector to NA (where n is
the order of the model)?

Regards,

NC

[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] NA in AR model residuals

2007-09-09 Thread Nick Chorley
Thanks all!

On 09/09/2007, Nick Chorley [EMAIL PROTECTED] wrote:

 Hi,

 This may be a stupid question, but why when creating an AR model, why does
 R set the first n components of the ar object's resid vector to NA (where n
 is the order of the model)?

 Regards,

 NC


[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.