similar to: How to build a AR(q)-GARCH(q) process ?

Displaying 20 results from an estimated 4000 matches similar to: "How to build a AR(q)-GARCH(q) process ?"

2003 Nov 27
2
would like to know how to simulated a GARCH(1,2)
Follow the example in tseries, we can simulated a GARCH(0,2), n <- 1100 a <- c(0.1, 0.5, 0.2) # ARCH(2) coefficients e <- rnorm(n) x <- double(n) x[1:2] <- rnorm(2, sd = sqrt(a[1]/(1.0-a[2]-a[3]))) for(i in 3:n) # Generate ARCH(2) process { x[i] <- e[i]*sqrt(a[1]+a[2]*x[i-1]^2+a[3]*x[i-2]^2) } x <- ts(x[101:1100]) and x is a GARCH(0,2). But, I would like to know how
2003 Mar 13
1
GARCH estimation
Anyone know if there's an R package somewhere that supports estimation of a linear regression model with GARCH error process? There's a garch command in the tseries package, but unless I'm missing something it is restricted to the univariate case, i.e. you can fit a GARCH model to a single time-series but not estimate a model with GARCH errors. -- Allin Cottrell Department of
2002 Aug 05
1
Modified ARMA function
R-guRus , ARMA function in tseries, seems to be calculating the AR coeff 's as coef <- lm(xx[,1]~xx[,lag$ar+1])$coef [*snipped* from around line 77,] I'd like to modify this model with another term somewhat in these lines lm(xx[,1] ~xx[,lag$ar+1]+mvgsignal)$coef where mvgsignal is a moving average signal based on some indicators, the question is could i simply hack into
2003 Feb 21
2
GARCH with t-innovations
Dear all, Can garch function fit also t-innovations or only Gaussian innovations? -- With kind regards -- Lepo pozdravljeni -- Gr??e (Gr?ezi) -- Gorazd Brumen ------------------------------- Mail 1: gbrumen at student.ethz.ch Mail 2: gorazd.brumen at fmf.uni-lj.si Tel.: +41 (0)1 63 34906 Homepage: valjhun.fmf.uni-lj.si/~brumen
2002 Nov 27
1
[No Subject]
Hi,I try to calcualte AIC or Loglik to GARCH model,But the Packege Tseries do not deal with them.How can I calculate AIC or Loglike to GARCH Model By Packege Tseries? Thanks. ____________________________________________________ Free Internet Access NOW! In Alexandria, Ismaileya, Suez, Portsaid, Hurgadha, Sharm Banha, Shebin El-Kom, Damietta, Tanta, Zagazig, Mansoura, Damanhour, Assyout, Qena
2011 May 12
2
DCC-GARCH model and AR(1)-GARCH(1,1) regression model
Hello, I have a rather complex problem... I will have to explain everything in detail because I cannot solve it by myself...i just ran out of ideas. So here is what I want to do: I take quotes of two indices - S&P500 and DJ. And my first aim is to estimate coefficients of the DCC-GARCH model for them. This is how I do it: library(tseries) p1 = get.hist.quote(instrument =
2003 May 16
3
ARMA.predict?
Hi there, Does anyone know how to predict ARMA? It doesn?t have either predict or forecast methods. I found couple of packages called fbasic and fseries at http://www.itp.phys.ethz.ch/econophysics/R/, which has ?arma.predict? in it, but it doesn?t seem to be working. Any help in this regard would be appreciated. Thanks in advance. Regards Skanda Kallur "Prediction is very difficult,
1999 Oct 25
1
GARCH models available
tseries_0.3-0 at CRAN now contains the following new features: NelPlo Nelson-Plosser Macroeconomic Time Series garch Fit GARCH Models to Time Series get.hist.quote Download Historical Finance Data jarque.bera.test Jarque-Bera Test na.remove NA Handling Routines for Time Series garch contains a GARCH estimation routine together
1999 Oct 25
1
GARCH models available
tseries_0.3-0 at CRAN now contains the following new features: NelPlo Nelson-Plosser Macroeconomic Time Series garch Fit GARCH Models to Time Series get.hist.quote Download Historical Finance Data jarque.bera.test Jarque-Bera Test na.remove NA Handling Routines for Time Series garch contains a GARCH estimation routine together
2006 Nov 07
1
Comparison between GARCH and ARMA
Dear all R user, Please forgive me if my problem is too simple. Actually my problem is basically Statistical rather directly R related. Suppose I have return series ret with mean zero. And I want to fit a Garch(1,1) on this. my is r[t] = h[i]*z[t] h[t] = w + alpha*r[t-1]^2 + beta*h[t-1] I want to estimate the three parameters here; the R syntax is as follows: #
2009 Apr 29
1
arma model with garch errors
Dear R experts, I am trying to estimate an ARMA 2,2 model with garch errors. I used the following code on R 2.9. #library library(fGarch) #data data1<-ts(read.table("C:/Users/falcon/Desktop/Time Series/exports/goods1.csv"), start=c(1992,1), frequency=12) head(data1) #garch garchFit(formula.mean= ~arma(2,2),formula.var=~garch(1,1), data=data1) but get this error: >
2009 Jun 23
1
Forecast GARCH model
Hi, I've fitted a GARCH(1,1) for the residuals of my time serie (X). X is an ARMA(1,1) process. Now I want to do a n-step forecast for X, knowing these processes. How can I do this? I know that there's a command: predict() for ARIMA processes and so on, but what about GARCH? I've got: arma=arima(x, order=c(1,0,1)) (...) garch11<-garch(residuals(x),order = c(1, 1))
2006 Apr 26
2
garch in tseries
Hello again! Is there a way to include a mean in the garch function in the library(tseries), please? I tried include.mean=T in the function statement but it didn't work thanks in advance! R Version 2.2.1 Windows Sincerely, Erin mailto: hodgess at gator.uhd.edu
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 Jul 13
1
AR-GARCH with additional variable - estimation problem
Dear list members, I am trying to estimate parameters of the AR(1)-GARCH(1,1) model. I have one additional dummy variable for the AR(1) part. First I wanted to do it using garchFit function (everything would be then estimated in one step) however in the fGarch library I didn't find a way to include an additional variable. That would be the formula but, as said, I think it is impossible to add
2009 Jun 19
1
using garchFit() to fit ARMA+GARCH model with exogeneous variables
Hello - Here's what I'm trying to do. I want to fit a time series y with ARMA(1,1) + GARCH(1,1), there are also an exogeneous variable x which I wish to include, so the whole equation looks like: y_t - \phi y_{t-1} = \sigma_t \epsilon_t + \theta \sigma_{t-1} \epsilon_{t-1} + c x_t where \epsilon_t are i.i.d. random variables \sigma_t^2 = omega + \alpha \sigma_{t-1}^2 + \beta
1999 Oct 07
2
R + GARCH ???
Dear R-Users, are there any ARIMA/GARCH-packages/functions for R? Best regards, M. Fischer -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at
2008 Aug 18
1
ARMA(0,2) & GARCH(1,1) - code & hessian
Hello R-list-members, I'm trying to model ARMA(0,2) & GARCH(1,1) process using the code below, but according to my textbook, the estimated parameters are wrong. The MA-parameters should be negative. (I've got the same problem using garchFit()). Can anyone tell me what I'm doing wrong? And how can I calculate the hessian matrix? Many thanks, Desislava Kavrakova Code:
2008 Apr 01
1
garch prediction
Hello I want to predict the future values of time series with Garch When I specified my model like this: library(fGarch) ret <- diff(log(x))*100 fit = garchFit(~arma(1,0,0)+garch(1, 1), data =ret) predict(fit, n.ahead = 10) meanForecast meanError standardDeviation 1 0.01371299 0.03086350 0.03305819 2 0.01211893 0.03094519 0.03350248
2004 Jan 13
3
How can I test if a not independently and not identically distributed time series residuals' are uncorrelated ?
I'm analizing the Argentina stock market (merv) I download the data from yahoo library(tseries) Argentina <- get.hist.quote(instrument="^MERV","1996-10-08","2003-11-03", quote="Close") merv <- na.remove(log(Argentina)) I made the Augmented Dickey-Fuller test to analyse if merv have unit root: adf.test(merv,k=13) Dickey-Fuller = -1.4645,