Hello,
Â
Could someone tell me please how can I find out which starting values has R
used for the simulation?
Â
I have AR(1) model:
Â
y(t)=0.2*y(t-1)+0.2*y(t-2) + e(t) Â
Â
(e(t) is distributed according standard normal distribution)
Â
I need y(0) (or y(t-1), then t=1)Â values for my following calculations (it is
very important parameter).
Should I assume that y(0)=mean(yt) or set y(0)=0?
Â
How to find out, which values R uses for y(0), y(-1) and so on?
Â
Thank you very much for the answer in advance!
Â
Best regards,
Lina
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.