Re: [R] Garch in a model with explanatory variables

From: Spencer Graves <>
Date: Sun 10 Jul 2005 - 07:24:43 EST

          RSiteSearch("GARCH with explanatory variables") produced one irrelevant hit, but RSiteSearch("GARCH with explanatory variables") produced 15 hits. Tobias Muhlhofer suggested one could "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."
( Even if none of these solved your problem, you could copy the code of something that seemed close to what you wanted, walk through it line (or fill it with print statements) until you understood it well enough to modify it to do what you want.

          Phineas Campbell replied to an apparently similar question, "This might be one of those situations in which you should say what what you are trying to do rather than how you are trying to do it." (

          I doubt if this will answer your question, but it may provide some useful ideas. Feel free to submit another question, but I suggest you read the posting guide!; I think that guide will likely increase your chances of getting a useful reply.

          spencer graves

Carlo Fezzi wrote:

> Dear helpers,
> does anyone know a function to fit a model with:
> - y mean that is regressed on a set of explanatory variables
> - y variace behaving as a garch or as a garch in mean
> Thank you so much for your help,
> Carlo
> ______________________________________________
> mailing list
> PLEASE do read the posting guide!

Spencer Graves, PhD
Senior Development Engineer
PDF Solutions, Inc.
333 West San Carlos Street Suite 700
San Jose, CA 95110, USA <>
Tel:  408-938-4420
Fax: 408-280-7915

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Sun Jul 10 07:30:56 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:27 EST