Displaying 7 results from an estimated 7 matches similar to: "arima prediction"
2008 May 22
1
How to account for autoregressive terms?
Hi,
how to estimate a the following model in R:
y(t)=beta0+beta1*x1(t)+beta2*x2(t)+...+beta5*x5(t)+beta6*y(t-1)+beta7*y(t-2)+beta8*y(t-3)
1) using "lm" :
dates <- as.Date(data.df[,1])
selection<-which(dates>=as.Date("1986-1-1") & dates<=as.Date("2007-12-31"))
dep <- ts(data.df[selection,c("dep")])
indep.ret1
2009 Feb 16
0
I can't apply the summary function when I use de armaFit (fArma)...
Hi,
I can't apply the summary function when I use de armaFit (fArma).
Can you help?
fit<-armaFit(~arma(1,0),data=age55)
fit
Title:
ARIMA Modelling
Call:
armaFit(formula = ~arma(1, 0), data = age55)
Model:
ARIMA(1,0,0) with method: CSS-ML
Coefficient(s):
ar1 intercept
-0.564184 0.001190
Description:
Mon Feb 16 15:00:54 2009 by user: f003553
2005 Oct 12
1
arima with R
Hi,
I'm using R for some arima models. In the past I used for arima models Rats and Tsp. Using the R arima function, I get only the statistics sigma^2 and log likelihood; with Rats and Tsp it is possible to obtain more statistics, such as R, R square, Durbin Watson, standard error, etc.
Is it possible using R to have the statistics mentioned?
My best regards,
2005 Jul 26
3
farimaSim
Hello!
I installed the fSeries package to get some farima time-series which i tried
with farimaSim, but unfortunately i got always an error. I tried it this way:
> farimaSim(n = 1000, model = list(ar = 0.5, d = 0.3, ma = 0.1), method="freq")
Error in farimaSim(n = 1000, model = list(ar = 0.5, d = 0.3, ma = 0.1), :
... used in an incorrect context
Some ideas?
Regards,
___
2005 Mar 23
1
Error in unitrootTest (fSeries)
Hello, I am getting the following error message from unitrootTest.
Do you have any clue of what could be wrong.
Details: AMD64 (x86_64) Gentoo Linux system.
library(fSeries)
kmodel <- list(ar=c(.3,0,0,0,0.7,-.4*.7),d=1)
x=armaSim(nobs,model=kmodel)
unitrootTest(x,trend="c",statistic="t",method="adf",lags=2)
Error in file(file, "r") : unable to open
2010 Jun 22
0
How to generate an autoregressive distributed lag model?
Dear All,
I have a short question.
Is there any readily available function that could generate either an ARMAX model or, more generally, an
AutoRegressive Distributed Lag model?
I am looking for a function that is similar to armaSim() function in fArma package.
Thank you.
MP
2008 Jun 18
0
example from arfimaOxFit
Hi,
I got some problem running the example of arfimaOxFit.
The first three line of the examples I run are:
library(Rmetrics)
x = armaSim(model = list(ar = c(0.5, - 0.5), d = 0.3, ma = 0.1), n =
500)
fit = arfimaOxFit(formula = x ~ arfima(2,1))
The error msg is:
Error in eval(expr, envir, enclos) : object "package" not found
Did I do something wrong? Should I install OxConsole with