[R] Help with arima.sim

From: Christopher Gürke <christopher.guerke_at_gmx.de>
Date: Sat, 12 Jul 2008 09:48:05 +0200


Hey,

as a bloddy beginner in R I want to simulate a Arima (2,1,0) process with R. My problem is, that I don't know how to specify the AR. For a ARIMA(1,1,0) I use the following syntax: S <- arima.sim(list(order=c(1,1,0), ar=0.9), n=100). I think it is a stupid question with an easy answer. But when I google the only results are arima.sim for an ARIMA (1,1,0).

Regards,

Chris

-- 
Christopher Gürke
Eschersheimer Landstr. 38
60322 Frankfurt am Main


+49 (69) 200 175 91
+49 (179) 488 56 28
______________________________________________ R-help_at_r-project.org 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.
Received on Sat 12 Jul 2008 - 09:52:42 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 12 Jul 2008 - 13:31:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive