Bug report for package fGarch

Luigi Amedeo Bianchi luigi.bianchi at sns.it
Tue Feb 8 14:39:33 CET 2011


Dear developers,

I'd like to report a bug I found while using your package fGarch.
It involves methods-fitted.
I fitted some data to a GARCH model, with
	fitN = garchFit(data = returns)
	fittedN = fitted(fitN)
and I get the following error message:
	Error in .local(object, ...) : object 'fit' not found
The fact is that instead of looking for an object with the name provided, it looks for the object "fit". 
It can be easily patched, I think, by changing 
	Name = as.character(fit at formula[2])
in
	Name = as.character(object at formula[2])
on line 55 of methods-fitted.R

Kind regards,

Luigi Amedeo Bianchi


------------------------------------------------
Luigi Amedeo Bianchi
Ph.D. Student in Applied Mathematics
Scuola Normale Superiore
Piazza dei Cavalieri, 7
56126 Pisa (PI)
Italy

luigi.bianchi at sns.it



More information about the Rmetrics-core mailing list