[R] how to increase speed for function?/time efficiency of below function

R. Michael Weylandt michael.weylandt at gmail.com
Sat Mar 31 02:44:29 CEST 2012


I'd suggest you get a copy of the book that code accompanies: it's not
a trivial question -- this post may also help:
http://tolstoy.newcastle.edu.au/R/help/04/07/0117.html -- once you
read that I believe I told you how to fit a general ARIMA model before
so you should be good to go.

As to your original question (which you seem to have been diverted
from): your problem is "embarassingly parallel" so you can use
mclapply and friends from the parallel package for R >=2.14

Michael

On Fri, Mar 30, 2012 at 10:05 AM, sagarnikam123 <sagarnikam123 at gmail.com> wrote:
> Yes sir,i m using another's code,i will acknowledge them in my paper
> publication when my project completes.
> but can u tell me, how to decide P,D & Q values in sarima() function  using
> code
> its difficult to decide by visually,i have 4500 such time series
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/how-to-increase-speed-for-function-time-efficiency-of-below-function-tp4515201p4519140.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.



More information about the R-help mailing list