similar to: arima() in ts

Displaying 20 results from an estimated 20000 matches similar to: "arima() in ts"

2002 Sep 23
0
arima() in package ts.
I've been trying to get comfy with arima() and associated functions in the ts() package. I'm thinking seriously about using this package, and R generally, in a 4th year intro time series course that I'm teaching this autumn. I have a couple of questions about arima: (1) The help file says that residuals component of the value returned by arima() consists of the
2003 Nov 18
0
arima models
Hi all, I want to calculate the residuals of an ARIMA fit to a time series using the same calculation method as in arima() in the ts package, BUT I want to be able to specify fixed values for ALL the parameters in the ARIMA model. The "fixed = ..." argument in the arima() command appears to require at least one parameter to be variable. Does anyone know a way around this?
2003 Apr 07
1
filtering ts with arima
Hi, I have the following code from Splus that I'd like to migrate to R. So far, the only problem is the arima.filt function. This function allows me to filter an existing time-series through a previously estimated arima model, and obtain the residuals for further use. Here's the Splus code: # x is the estimation time series, new.infl is a timeseries that contains new information # a.mle
2002 Nov 18
1
Prediction from arima() object (library ts) (PR#2305)
Full_Name: Allan McRae Version: 1.6.0 OS: Win 2000 P Submission from: (NULL) (129.215.190.229) When using predict.Arima in library ts(), it appears differencing is only accounted for in the first step of prediction and so any trend is not apparent in the predictions. The example shows the difference between the predictions of an arima(1,1,1) model and the backtransformed predictions of an
2010 Oct 29
0
true time series lags behind fitted values in arima model
Hi I am fitting an arima model to some time series X. When I was comparing the fitted values of the model to the true time series I realized that the true time series lags one time step behind the fitted values of the arima model. And this is the case for any model. When I did a simple linear regression using lm to check, I also find the same results, that the true series lags behind the
2010 Sep 28
0
the arima()-function and AICc
Hi I'm trying to fit arima models with the arima() function and I have two questions. ###### ##1. ## ###### I have n observations for my time series. Now, no matter what arima(p,d,q)- model I fit, I always get n residuals. How is that possible? For example: If I try this out myself on an AR(1) and calculate the fitted values from the estimated coefficients I can calculate n-1 residuals.
2011 Feb 12
2
Time unit in ts() and arima() functions
This question is surely trivial, sorry. I'm afraid I'm misunterpreting the information I got with the documentation, and I'm a little bit confused. I'm just an engineer with some little skills in statistics. Well, I have a time series - 600 days long - with some weekly periodicity inside. So far, so good. Well, if I define the time series with, say : a <- ts(b,
2010 Mar 17
1
Reg GARCH+ARIMA
Hi, Although my doubt is pretty,as i m not from stats background i am not sure how to proceed on this. Currently i am doing a forecasting.I used ARIMA to forecast and time series was volatile i used garchFit for residuals. How to use the output of Garch to correct the forecasted values from ARIMA. Here is my code: ###delta is the data fit<-arima(delta,order=c(2,,0,1)) fit.res <-
2011 Jun 30
0
CCF of two time series pre-whitened using ARIMA
Hi all, I have two time series that I would like to correlate but as they are autocorrelated, I am "pre-whitening" them first by fitting ARIMA models, then correlating their residuals....as described in https://onlinecourses.science.psu.edu/stat510/?q=node/75 However, http://www.stat.pitt.edu/stoffer/tsa2/Rissues.htm discusses some issues with ARIMA in R. In particular, for issue 2, if
2007 Apr 03
0
problems with residuals of an arima model
Hi all! I want to fit a time series with 17376 values by using the arima() function. If I extract the residuals from the fitted model there are values for the residuals 1 to 710 but the residuals 711 to 17376 have the value NA. Does anybody know what the problem could be? Is the function arima() restricted to a maximum length of the underlying time series? Besides, is there a better possibility
2009 Feb 20
0
residuals from a fractional arima model and other questions
Dear list and Martin, I'm testing different approaches to fit an electricity demand time series and come upon the fracdiff package (v 1.3-1) for fitting fractional ARIMA models. The following questions are motivated by this package. 1. Despite having a help page, the residuals and fitted functions don't seem to have implementation, or did i miss something obvious? Alternatively, having a
2011 May 09
0
arima residuals
Hi I have fitted an arima model to a monthly series of length 113. I have use fit <- arima(x.ts, order = c(1,0,0),seas = list(order = c(1,2,1),12, method = "CSS") I'm a little confused because the series of residual has the first 46 values equal to 0. From there the residuals are approximately while noise, numbers have a mean close to 0 and a variance value. What could be
2008 Oct 24
0
unstable MA results in ARIMA?
Dear colleagues, I am relatively new to R and time series and so I am experiencing difficulties in interpreting the output of "arima" in MA models (but not in AR models). I cannot make sense of the 1st innovations returned by "arima". In an AR(1) model I expect data[t]=phi1*data[t-1]+a[t] and in a MA(1) model data[t]=a[t]+theta1*a[t-1]. My interpretation from R-help is
2000 Feb 29
0
Re: arima in ts.
> From: "Krassimir Krastev" <krastev at fas.harvard.edu> > To: "R-help" <r-help at stat.math.ethz.ch> > Date: Tue, 29 Feb 2000 11:56:49 -0500 > X-Priority: 3 (Normal) > X-MSMail-Priority: Normal > Importance: Normal > X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 > > Does anyone know of any comprehensive literature (like a
2009 Nov 09
0
ARIMA, xreg and intercepts
David Stoffer describes some challenges with R's output when fitting ARIMA models for different orders (see Issue 2 at http://www.stat.pitt.edu/stoffer/tsa2/Rissues.htm). R doesn't fit an intercept in the model if there is any differencing. David describes a workaround using the xreg parameter to force R to calculate an intercept. Assume I have a variable y and 3 explanatory variables a,
2007 Aug 23
1
Estimate Intercept in ARIMA model
Hi, All, This is my program ts1.sim <- arima.sim(list(order = c(1,1,0), ar = c(0.7)), n = 200) ts2.sim <- arima.sim(list(order = c(1,1,0), ar = c(0.5)), n = 200) tdata<-ts(c(ts1.sim[-1],ts2.sim[-1])) tre<-c(rep(0,200),rep(1,200)) gender<-rbinom(400,1,.5) x<-matrix(0,2,400) x[1,]<-tre x[2,]<-gender fit <- arima(tdata, c(1, 1, 0), method = "CSS",xreg=t(x))
2006 Nov 25
2
predict and arima
Hi all, Forecasting from an arima model is easy with predict. But I can't manage to backcast : invent data from the model before the begining of the sample. The theory is easy : take your parameters, reverse your data, forecast, and then reverse the forecast I've tried to adapt the predict function to do that (i'm not sure that the statistical procedure is fine (with the residuals),
2004 May 24
0
Seasonal ARIMA question - stat package (formerly ts)
To whom it may concern: I am trying to better understand the functionality of 'R' when making arima predictions to avoid any "Black Box" disadvantages. I'm fitting a seasonal arima model using the following command (having already loaded 'stat' package). arimaSeason <- arima(Data,order=c(1,0,1),seasonal=list(order=c(1,0,1),period=12)) I can then generate
2010 May 02
0
how to plot forecast together with historical series in OLS or special ARIMA model
Dear R users, Please let me know how to plot the forecast in such a model: First I do it simple with ARIMA model that works ok with the codes provided to me at the lecture: arima<-arima(HCPIlong, order=c(1,1,0)) arima.predict<-predict(arima, n.ahead= 5 ) ts.plot(HCPIlong,arima.predict$pred,lty=1:2, main="Forecast of HCPI") But I need to include the additional variable in my
2003 Nov 22
0
arima {ts}
I'm trying to get more info about seasonal parameter of arima(ts). Can someone explain on its usage? I'm also interested in building a model for weekly sales for an item with covariates like consumer confidence index, promotion flag etc. Which package has functions to model and do predictions for this kind of time series data? Thanks, Gopal [[alternative HTML version deleted]]