Skip to content
Prev 250093 / 398498 Next

VECM - GARCH using maxLik()

On 9 February 2011 18:33, Philipp Grueber <philipp.grueber at ebs.edu> wrote:
You should make sure that "2 * pi * sig2" is always positive, e.g. by
using a different parametrisation for sig2, e.g.

   sig2[i] <- exp( omega + alpha*res[i-1]^2 + beta*sig2[i-1] )
I have no idea for sig2 but you could move ll out of the loop:
/Arne