Displaying 20 results from an estimated 5000 matches similar to: "arima forecast without the first order of auto-regressor"
2003 Sep 01
1
Arima with an external regressor
Hello,
Does anybody know if the function arima with an external regressor (xreg)
applies the auto correlation on the dependant variable or on the residuals.
In comparison with SAS (proc autoreg), it seems that the auto correlation
applies on the residuals but i'd like to have the confirmation.
I want to estimate:
Y[t] = a[1]*X[t] + a[2] + E[t]
with E[t]=b[1]*E[t-1]
Should I use :
arima(Y,
2007 Mar 02
0
R: ARIMA forecasting
Dear all,
I just have a short question regarding the forecasting of ARIMA models with
external regressors.
I tried to program a ARX(1) model
arx.mod <- arima(reihe.lern, order = c(1, 0, 0), seasonal =
list(order = c(0, 0, 0), period = 52), xreg = lern.design, include.mean =
TRUE)
for which I need to estimate the next (105th) value. Xreg=lern.design is -
at this time - 104 rows long. I
2012 Apr 26
1
Using the R predict function to forecast a model fit with auto.arima function
Hello R users,
Hope everyone is doing great.
I have a dataset that is in .csv format and consists of two columns: one
named Period (which contains dates in the format yyyy_mm) and goes from
1995_10 to 2007_09 and the second column named pcumsdry which is a
volumetric measure and has been formatted as numeric without any commas or
decimals.
I imported the dataset as pauldataset and made use of
2003 Dec 18
0
Help with predict.Arima with external regressor values
Hi all there
I am enjoying R since 2 weeks and I come to my first deadlock, il am trying
to use predict.Arima in the ts package.
I get a "Error in cbind(...) : cannot create a matrix from these types"
-- Start R session -----------------------------------------------------
> fitdiv <- arima(data, c(2, 0, 3), xreg = y ) ; print(fitdiv)
Call:
arima(x = data, order = c(2, 0, 3),
2008 Jul 08
0
forecast & xreg
Dear all,
I am fitting an arimax (arima with some extra explanatory variables)
model to a time series. Say, I have a Y (dependent variable) and an X
(explanatory).
Y is 100 observations (time series) and X is 100 + 20 (20 to use for the
forecast horizon).
I can not make xreg work with the forecast function for an arima fit.
The "predict" function seems to be working but the
2008 Aug 12
1
arima forecast function
hi:
I am trying to fit prediction intervals for an arima object. My search led
me to the link:
http://finzi.psych.upenn.edu/R/library/forecast/html/forecast.Arima.html
which has the function "forecast", as I wanted. However, when I try to run
it in R, I get the message:
Error in plot(forecast(fit)) : could not find function "forecast"
Even the example provided on the page
2003 Dec 18
1
Help with predict.Arima with external regressor values [Repalced]
Hi all there
I am enjoying R since 2 weeks and I come to my first deadlock, il am trying
to use predict.Arima in the ts package.
I get a "Error in cbind(...) : cannot create a matrix from these types"
-- Start R session -----------------------------------------------------
> fitdiv <- arima(data, c(2, 0, 3), xreg = y ) ; print(fitdiv)
Call:
arima(x = data, order = c(2, 0, 3),
2012 May 18
0
Forecast package, auto.arima() convergence problem, and AIC/BIC extraction
Hi all,
First:
I have a small line of code I'm applying to a variable which will be
placed in a matrix table for latex output of accuracy measures:
acc.aarima <- signif(accuracy(forecast(auto.arima(tix_ts,
stepwise=FALSE), h=365)), digits=3).
The time series referred to is univariate (daily counts from 12-10-2010
until 5-8-2010 (so not 2 full periods of data)), and I'm working on
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
2011 Dec 17
0
auto.arima from the Forecast package
Hi,
I've got a little problem using auto.arima.
I run the following command
auto.arima(drivers,ic="aic",d=1,D=1,max.order=10,max.p=5,max.q=5,max.P=5,max.Q=5,stepwise=FALSE,allowdrift=FALSE)
and I get the following output :
Series: drivers
ARIMA(0,1,1)(5,1,1)[12]
Coefficients:
ma1 sar1 sar2 sar3 sar4 sar5 sma1
-0.6421
2017 May 16
0
Wish for arima function: add a data argument and a formula-type for regressors
Hi,
Using arima on data that are in a data frame, especially when adding
xreg, would be much easier if the arima function contained
1) a "data=" argument
2) the possibility to include the covariate(s) in a formula style.
Ideally the call could be something like
> arima(symptome, order=c(1,0,0), xreg=~trait01*mesure0, data=anxiete)
( or arima(symptome~trait01*mesure0,
2011 Jul 04
1
forecast: bias in sampling from seasonal Arima model?
Dear all,
I stumbled upon what appears to be a troublesome issue when sampling from an
ARIMA model (from Rob Hyndman's excellent 'forecast' package) that contains
a seasonal AR component.
Here's how to reproduce the issue. (I'm using R 2.9.2 with forecast 2.19;
see sessionInfo() below).
First some data:
> x <- c(
0.132475, 0.143119, 0.108104, 0.247291, 0.029510,
2010 Jun 28
0
Forecast Package in R: auto.arima function
Hey,
I have a few doubts with regard to the usage of the auto.arima function from
the forecast package in R.
*Background:*
I have a set of about 50 time-series for which I would like to estimate the
best autroregressive model. (I want to estimate the coefficients and order
of p). Each of the series is non-stationary and are also have a non-normal
distribution. The data is non-seasonal.
My
2010 Apr 29
1
forecast in arima
Hello,
I have a question about forecast under model arima(1,1,1).
I construct this model on 1000 observations and find the forecast for
following, for example, 100 observations.
But it' s necessary for me to get the predicted values of the previous 100
observations and compare it with actual values.
Please, tell me what should be done.
Thank you very much
[[alternative HTML version
2008 Jan 31
0
xreg in ARIMA function
Hi everyone,
I'm trying to include an external regressor in my ARIMA model but am having some problems with the data format in R. I've named my dependent variable of interest "count" and the external regressor "abc". The external regressor is a binary variable. Here are the contents of "abc" and the model I've attemped (along with its error message):
2013 Apr 15
1
use of simulate.Arima (forecast package)
I would like to simulate some SARIMA models, e.g. a SARIMA (1,0,1)(1,0,1)[4] process.
I installed the package 'forecast', where the function simulate.Arima should do what I am trying to do.
I am not able to understand how it works
Could somebody help me with an example?
thank you
Stefano Sofia
AVVISO IMPORTANTE: Questo messaggio di posta elettronica pu? contenere informazioni
2012 Jul 07
0
regressor & autoregressive error?
Hello,
I am using R for fitting parameters of a time series model.
The model is as below.
Y(t) = mu + a*X(t) + YN(t)
where YN(t) = b*YN(t-1) + innovation
and Z(t) follows N(0,1).
The main obstacle for me is the autoregressive error term, YN(t).
I can't figure out how to estimate the parameters (mu, a, b) with usual
'arima' function in R.
What I have tried is....
1. Do the
2003 Apr 16
0
arima function - estimated coefficients and forecasts
I'm using the arima function to estimate coefficients and also using
predict.Arima to forecast. This works nicely and I can see that the
results are the same as using SAS's proc arima.
I can also take the coefficent estimates for a simple model like
ARIMA(2,1,0) and manually compute the forecast. The results agree to 5
or 6 decimal places. I can do this for models with and without
2010 Mar 19
1
Arima forecasting
Hello everyone,
I'm doing some benchmark comparing Arima [1] and SVR on time series data.
I'm using an out-of-sample one-step-ahead prediction from Arima using
the "fitted" method [2].
Do someone know how to have a two-steps-ahead forecast timeseries from Arima?
Thanks,
Matteo Bertini
[1] http://robjhyndman.com/software/forecast
[2] AirPassengers example on page 5
2009 Jan 18
1
auto.arima forecasting issue
Hello everybody!
I'm having this problem with the auto.arima function that i've not been
able to solve. I use this function on time series that contains NA values,
but every time that the resulting model contains drift I can't perform a
forecasting (using forecast.Arima function). The printed error (when I try
to forecast the resulting model) claims a dimension mismatch