Displaying 20 results from an estimated 5000 matches similar to: "garch in tseries"
2006 Apr 26
1
garchFit from fSeries
Dear R People:
I'm trying to use the garchFit function from the library(fSeries)
However, R freezes every time that I use it.
Is anyone else having this problem, please?
Thanks in advance!
R Version 2.2.1 Windows.
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgess at gator.uhd.edu
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 =
2005 Dec 13
1
fSeries
I'm trying to use garchFit from fSeries, with Student or Skewed Student conditionnal distribution. Let's say that eps (vector) is my series of daily log-returns:
data(EuStockMarkets)
eps = diff(log(EuStockMarkets[,"CAC"]))
library(fSeries)
g = garchFit(series = eps, formula.var = ~garch(2,2), cond.dist = "dstd")
s = g at fit$series
All the coefficients are ok
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 <-
2004 Nov 10
2
fSeries
Good morning everyone,
I use for the first time the package fSeries and i try to run the example
given by Diethelm Würtz. But when i run its example which is the following
#
# Example:
# Model a GARCH time series process
#
# Description:
# PART I: Estimate GARCH models of the following type ARCH(2)
# and GARCH(1,1) with normal conditional distribution functions.
# PART II: Simulate
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 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
2007 Jul 19
1
Questions regarding R and fitting GARCH models
Dear all,
I've recently switched from EViews to R with RMetrics/fSeries (newest
version of july 10) for my analysis because of the much bigger
flexibility it offers. So far my experiences had been great -prior I
had already worked extensively with S-Plus so was already kind of
familiar with the language- until I got to the fSeries package.
My problem with the documentation of fSeries is that
2005 Apr 11
1
TSeries GARCH Estimates accuracy
Hi,
I am trying to fit a GARCH(1,1) model to a financial timeseries using the 'garch' function in the tseries package. However the parameter estimates obtained sometimes match with those obtained using SAS or S-Plus (Finmetrics) and sometimes show a completely different result. I understand that this could be due to the way optimization of MLEs are done, however, I would appreciate any
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
2008 Aug 18
1
another GARCH problem
Hallo,
i want to fit a GARCH model with a extern regressor (without arma
components), so i found the following function in package fGarch. I tryed
out a lot of things but usually I get this Error.
> garchFit(formula=y~x, formula.var=~garch(1,1),data=w)
Error in .garchFit(formula.mean, formula.var, series = x, init.rec, delta,
:
Algorithm only supported for mci Recursion
I think i use the
2011 May 04
1
fGarch
Hi,
I am attempting to fit a ARMA/GARCH regression model without success.
### ARIMA-GARCH model with regressor ###
### Time series data: A multivariate data set.
cov.ts.dq = cov.ts[1:4,"dq1"][!is.na(cov.ts[,"dq1"])]
cov.ts.day = ts.intersect(dq = diff(q.ts), day = lag(q.ts, -1))
### The following R scripts work:
(summary(no.day.fitr <- garchFit(dq ~ arma(0,3) +
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:
2006 Nov 22
2
problems with garchFit
Hi all,
I post it on both r-help and r-finance since I don't know where is most
appropriate for this topic. Sorry if it bothers you.
I did garch fitting on S&P500 monthly returns with garchFit from fSeries. I
got same coefficients from all cond.dist except normal. I thought that is
probabaly usual for the data. But when I play with it, I got another
question.
I plot skew normal with
2005 Dec 25
1
Different ARCH results in R and Eviews using garch from tseries
Dear Sir,
First of all Happy Holidays!,...
I am writing to you because I am a bit confused about ARCH estimation.
Is there a way to find what garch() exactly does, without the need of
reading the source code (because I cannot understand it)?
In Eviews (the results at the end) I am getting different results than
in R (for those that have the program I do: Quick -> Estimage Equation
->
2011 May 15
4
DCC-GARCH model
Hello,
I have a few questions concerning the DCC-GARCH model and its programming in
R.
So here is what I want to do:
I take quotes of two indices - S&P500 and DJ. And the 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 = "^gspc",start = "2005-01-07",end =
2009 Nov 06
1
GARCH Models in R
Dear all,
I'm using garchFit from fSeries package and I am not getting the desired
results (error message : could not find function "garchFit" ).
Would you please advise as to how I can build an ARIMA(p, d, q) -
GARCH(p,q) model using R
see the attached data and R-output.
Thanking you in advance
Kind regards
Mangalani Peter Makananisa
Statistical Analyst
South
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:
#
2004 Feb 03
2
How to build a AR(q)-GARCH(q) process ?
Hello all,
I would like how to modelized a time serie with AR-ARCH process.
It can be used arma and garch functions in tseries package for build
ar process or a garch process, but how can it be modelized a ar-garch
model ?
Thanks
[[alternative HTML version deleted]]
2005 Nov 21
2
garch function in R
I'm using R 2.1.1 and just successfully installed packages tseries, fseries.
I try to run example
http://www.maths.lth.se/help/R/.R/library/tseries/html/garch.html
But it shows
> x.arch <- garch(x, order = c(0,2)) # Fit ARCH(2)
Error: couldn't find function "garch"
Then I run command
> help.search("garch")
it shows the R information.