Displaying 20 results from an estimated 2000 matches similar to: "Expanding VaR package"
2006 Nov 22
0
questions about garchFit
Hi all,
I was trying garchFIt() of fSeries to fit volatility of monthly log returns
of S&P500. I tried residuals of normal, student t, skew normal, skew t. But
all innovations except normal got exaxtly same coefficients, even if I
changed their parameters of skew and shape.
Is this correct for the data or something wrong? I am attaching the code,
thank you.
Muster
#GARCH analysis of
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
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 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
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
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
2008 Sep 12
1
Error in solve.default(Hessian) : system is computationally singular
Hello everyone,
I'm trying to estimate the parameters of the returns series attached using the GARCH code below, but I get the following error message:
Error in solve.default(Hessian) :
system is computationally singular: reciprocal condition number = 0
Error in diag(solve(Hessian)) :
error in evaluating the argument 'x' in selecting a method for function 'diag'
Can
2007 Jan 06
1
garchFit in R
Dear all,
I have problem here :
I'm using garchFit from fSeries package, here is part of the script :
> data <- read.table("d:/data.txt")
> a <- garchFit(~garch(1,1),ts(data))
I also attached the file here. In my experience, I got my R not responding.
I also tried with
> a <- garchFit(~garch(1,1),ts(data*10))
and it's worked.
I
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 Jul 14
1
Help for updating package
I have a problem with garchFit fuction in fSeries package. I found the
following reply on one of the R list:
"GARCH-Modelling is not easy, and indeed for your dataset the default
"Sequential Quadratic Programming" solver doesn't converge. I observed
this also for some other time series. There is already an updated
version on the server,
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 =
2006 May 19
0
how to estimate adding-regression GARCH Model
---------- Forwarded message ----------
From: ma yuchao <ma.yuchao@gmail.com>
Date: 2006-5-20 ÉÏÎç4:01
Subject: hello, everyone
To: R-help@stat.math.ethz.ch
Hello, R people:
I have a question in using fSeries package--the funciton garchFit and
garchOxFit
if adding a regression to the mean formula, how to estimate the model in
R? using garchFit or garchOxFit?
For example,
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 =
2004 Nov 11
0
ROracle SQL length limitation
Hi All,
This question was brought up some time ago but I never saw a reply so I'd like to bring it up again. When using ROracle package (version 0.5-5), I am unable to run any queries that are greater than 4000 characters in length. If I do, I get the following message:
Error in oraPrepareStatement(con, statement, bind=NULL) :
RS-DBI driver: (too long a statement -- it must has less than
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 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) +
2006 Jul 06
1
Problem with garchFit function in fSeries
I used garchFit function to fit 1600 observations of EURO/USD 2-day returns
in GARCH(1,1) model.
As part of the summary I got warning message:
NaNs produced in: sqrt(diag(fit$cvar))
And didn't get any estimates for 3 params' std.error, t value or
probability:
Error Analysis:
Estimate Std. Error t value Pr(>|t|)
mu -0.004827 0.020141 -0.240 0.811
ar1 0.010311
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 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 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,