MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: q: Code for GARCH model in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg77019] Re: q: Code for GARCH model in Mathematica
  • From: Ian Gregory <newsgroups at iangregory.com>
  • Date: Thu, 31 May 2007 03:41:49 -0400 (EDT)

For univariate GARCH there the timeseries package in Mathematica uses a BHHH algorithm to find a solution.

However, the main function ConditionalMLE (which obtains 'optimum' coefficients) does not respect non-negative coefficients on the ARCH and GARCH terms as shown by Bollerslev (1986) since the routine can terminate normally with negative coefficients.
There is an example to place restrictions on parameters loglikelihood function and can be found in the timeseries documentation (2006 version) p.192.  But this does not directly tackle the problem.

A suggestion to avoid the negative coefficients is to use the format: (x,xstart,xmin,xmax) in the Findminimum documentation:

FindMinimum[-LogLikelihood[data, ARCHModel[{a0, a1}]], {a0, 0.5, 
      0.01, 5}, {a1, 0.5, 0, 5}]

Thank you,

Ian Gregory.


  • Prev by Date: Re: Famous Mathematica 5.0 not working with Mathematica 6?
  • Next by Date: Re: links for 6!
  • Previous by thread: Can the help window remember its screen position in version 6?
  • Next by thread: [V6.0] Possible bug found in Symbolize (Notation Palette)