Re: [R] Need help on ARIMA (time series analysis)

2005-10-16 Thread Gabor Grothendieck
Regarding the loop, the code below: > ws <- i > we <- i+w-1 > temp <- th16k[ws:we] can be written as: temp <- th16k[seq(i, length = w)] or you can get rid of the loop entirely using embed or using running in package gtools or rapply in the zoo package. > park wrote: > > H

Re: [R] Need help on ARIMA (time series analysis)

2005-10-16 Thread Spencer Graves
Have you received a reply to this post? I have not seen one. If you would still like some suggestions from this group, please provide more detail on your question, as requested in the posting guide (www.R-project.org/posting-guide.html), including which version of R under which oper

[R] Need help on ARIMA (time series analysis)

2005-10-04 Thread park
Hi, I am so novice in using R. I have some problems in my R script below which fits time series data and predict it one-step ahead. Here is a brief explanation on what I try to achieve Th16k is time series data (500 data points). The size of window for fitting and predicting is 50 (data point