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

jfca283 jfca283 at gmail.com
Sun Jan 8 20:45:21 CET 2012


Hi
i run
arima.sim(n=100,n.start=9,list(ar=c(0.4)),sd=sqrt(3)), but i need that the
firs value be 9, i mean x_(-1).
Thanks

--
View this message in context: http://r.789695.n4.nabble.com/Simulate-AR-1-starting-from-X-number-tp4276550p4276550.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list