[R] Undiff - order 7

2011-10-24 Thread Flávio Fagundes
Hello users. I need a help again, please? I runned my Arima model using difference order = 7 * Y2=diff(Yst[,2],differences = 7)* Yfit=arima(Yst2,order=c(3,0,0),seasonal=list(order=c(0,0,0),period=7),include.mean=TRUE) and forecast Yfor=forecast.Arima(Yfit, h=31) Now, I would like to compare

[R] Arima Models - Error and jump error

2011-10-21 Thread Flávio Fagundes
Hi people, I´m trying to development a simple routine to run many Arima models result from some parâmeters combination. My data test have one year and daily level. A part of routine is: for ( d in 0:1 ) { for ( p in 0:3 ) { for ( q in 0:3 ) { for ( sd in 0:1 ) {

[R] Doubit about ts() functions

2011-06-21 Thread Flávio Fagundes
Hi everyone Please, I need one more help you I have some data that need to make a forecast. I´m using the command: Yst<-print(ts<-ts(Y,start=c(1,5),freq=7),calendar=T) to create the dayly time series by the dataframe Y. My data Y means: Y=measure dayly , start at 01/jul/2010 (thursday), for this re

[R] function to undo the DIFF command in ARIMA command

2011-06-20 Thread Flávio Fagundes
Hi users. I'm new user in R. I'm workiing with Time series and I would like to know how can I do to undo the command DIFF(X), for exemple: If I have the model: m=arima(X, order=c(0,1,1), seasonal=list(order=c(0,0,1))) (note that have d=1 one difference), to find, in the same scale, the original num