[R] Simulate AR(1) starting from X number?

Rolf Turner rolf.turner at xtra.co.nz
Mon Jan 9 09:14:03 CET 2012


On 09/01/12 16:32, jfca283 wrote:
> Yes, it's work for my class.

Well, this list is ***NOT*** for giving help with homework.

However --- to get you started, read the help for arima.sim()
a bit more carefully, and look at what it says about the argument
"n.start".  You are miss-using this argument.  Look also at the
argument "start.innov".  You will need this.

If you are an honest person, you will make it clear when writing up
your assignment that you got a bit of a hint from "r-help".

     cheers,

         Rolf Turner



More information about the R-help mailing list