Displaying 20 results from an estimated 5000 matches similar to: "How to fit GARCH(1,1) with targeted unconditional variance?"
2013 Apr 08
0
Maximum likelihood estimation of ARMA(1,1)-GARCH(1,1)
Hello
Following some standard textbooks on ARMA(1,1)-GARCH(1,1) (e.g. Ruey
Tsay's Analysis of Financial Time Series), I try to write an R program
to estimate the key parameters of an ARMA(1,1)-GARCH(1,1) model for
Intel's stock returns. For some random reason, I cannot decipher what
is wrong with my R program. The R package fGarch already gives me the
answer, but my customized function
2012 Mar 11
0
specify GARCH model, using garchFit()
Hello,
I’ve fitted a Garch(2,1) model with function 'garchFit()' from the package
'fGarch':
> m1 <- garchFit(formula = ~garch(2,1),data = X,trace = F)
* See 'summary(m1)' OUTPUT BELOW *
PROBLEM: My alpha1 term is not significant and I would like to make a NEW
model, say m2, that does not contain alpha1, but I am not sure how to
specify this with the garchFit()
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
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:
>
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
2013 Feb 17
0
forecast ARMA(1,1)/GARCH(1,1) using fGarch library
Hi, i am working in the forecast of the daily price crude .
The last prices of this data are the following:
100.60 101.47 100.20 100.06 98.68 101.28 101.05 102.13 101.70 98.27
101.00 100.50 100.03 102.23 102.68 103.32 102.67 102.23 102.14 101.25
101.11 99.90 98.53 96.76 96.12 96.54 96.30 95.92 95.92 93.45
93.71 96.42 93.99 93.76 95.24 95.63 95.95 95.83 95.65
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 Nov 20
1
alpha_1 + beta_1 >1 in GARCH(1,1)
Hi,
as i suppose to know in a stationary GARCH(1,1) model the sum of alpha and
beta has to be smaller than 1.
But if i use the garchfit() function from the package fGarch for my
timeseries the sum is bigger than 1.
The adf.test tells me a p-value smaller than 0.01 instead.
What does this mean for me?
Can i trust in the coefficients in this case?
mfg user84
--
View this message in context:
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 =
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 =
2011 May 10
0
DCC-GARCH model and AR(1)-GARCH(1, 1) regression model - help needed..
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 =
2008 Dec 30
1
A mistake in garchFit()? {fGarch}
Hello,
I was using garchFit {fGarch} to fit some GARCH processes.
I noticed that the result contains "Log Likelihood" value (right above
"Description"), but when I use .. at fit$llh to retrieve Log Likelihood value,
the sign switched.
I am confused about which value I should choose to report...
Any help here?
Thanks a lot!
Ted
--
View this message in context:
2007 Jul 19
0
fSeries GARCH(1,1)
Hello all, I am trying to use the "garchFit" function in the fSeries Package
to fit a Garch(1,1) Model with t distribution. I am using the following
codes.
fit <- garchFit(~garch(1,1),data,cond.dist="dstd")
fitted(fit)
I was expecting the fitted(fit) would return the fitted volatility, but the
result turns out to be a series of repeated same value. I tried to change
the
2008 Mar 24
0
ARCH(1,0) with t-residuals
Dear R users,
I need to estimate an ARCH(1,0) model with t-residuals. To do this I use garchFit
function from fGarch library. However, I get the following error message:
Error in.garchInitParameters (formula.mean = formula.mean, formula.var =
formula.var, ): object "alpha" not found
I tried to estimate this model with different series, but I always get this error message.
For example,
2010 Apr 09
0
GARCH estimation with exogenous variables in the mean equation
Hello,
I have the similar issue in estimating a GARCH model with exogenous
variables in the mean equation. Currently, to my understanding, the garch
function in tseries package can handle univariate model, and garchFit in
fGarch can handle ARMA specification.
I wonder if there is any R function that can handle exogenous variables in
estimating GARCH?
Thank you a lot.
Edwin
--
View this
2012 Oct 11
1
a question
Dear R-helpers,
I need to read some data from output of garchFit in fGarch.
my model is garch(1,1) and i want to read
coefficients(omega,alpha,beta) and timeseries(x) and conditional
SD(s). because i need them to use in other formula.
for example :omega+x[1]+s[3]
and maybe i have several simulation then i need a general way to read
them, not to read with my eyes for example the quantity of
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
2011 Mar 24
1
Problems with predict in fGarch
Hello. I am using fGarch to estimate the following model:
Call:
garchFit(formula = fmla, data = X[, i], trace = F)
Mean and Variance Equation:
data ~ arma(1, 1) + garch(1, 1)
Conditional Distribution:
norm
Coefficient(s):
mu ar1 ma1 omega alpha1 beta1
-0.94934 1.00000 -0.23211 54.06402 0.45709 0.61738
Std. Errors:
based on Hessian
Error Analysis:
2009 Jun 30
1
garchFit in fGarch fitted values are all the same
Dear all-
Package /fGarch/ version 2100.78 in R version 2.8.1 (2008-12-22)
running on linux 2.6.22.9-91.fc7
In trying to fit garch models in above environment. I am getting
"reasonable" fitted coefficients, but the fitObject@fitted are all the
same. This is true even for the help page example:
library(fGarch)
R> X.timeSeries = as.timeSeries(msft.dat)
R> head(
+
2010 Jul 14
0
fGarch: garchFit() with fixed coefficents
hello everybody,
I would like to fit a model to a times series (testing set) for out of
sample predictions using garchFit(). I would like to keep the coefficients
of ARMA/GARCH model fixed (as found by fitting the model to my training
set). The arima fitting function has such an option for that (fixed=NULL)
but the garchFit() doesnt.
It is very important for me to keep the same coefficients