Re: [R] Simultaneous estimation of mean and garch eq'n

From: Dirk Eddelbuettel <edd_at_debian.org>
Date: Fri 20 May 2005 - 09:14:43 EST

Tobias Muhlhofer <t.muhlhofer <at> lse.ac.uk> writes:
> Is it possible to simultaneously estimate mean and GARCH parameters in R?
>
> In other words, I would like to estimate the normal regression equation
>
> Y = b X + u
>
> and simultaneously do a garch process on the u's to correct the standard
> errors.
>
> I was thinking maybe something with systemfit(), but I can't quite come
> up with it.

It is but you have to write out the loglikelihood (and possibly its gradient) which you could then maximise with optim() and friends. Adrian's GARCH(1,1) is hard-coded with an analytic gradient -- the convenience of having this powerful routine pre-made and comes at the price of its lack of flexibility.

Diethelm's fSeries from Rmetrics can estimate Garch models by calling Ox. That may work for you too.

Hope this helps, Dirk



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri May 20 09:21:43 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:56 EST