Skip to content

arma model with garch errors

1 message · Yohan Chalabi

#
JM> > garchFit(formula.mean= ~arma(2,2),formula.var=~garch(1,1),
   JM> data=data1)
   JM> Error in garchFit(formula.mean = ~arma(2, 2), formula.var =
   JM> ~garch(1, :
   JM> element 1 is empty;
   JM> the part of the args list of 'length' being evaluated was:
   JM> (formula)
   JM>
   JM> what am I doing wrong?  any help would be greatly appreciated
   JM> joe


Hi joe,

If you are using a recent version of 'fGarch', you should use 

garchFit(~arma(2,2)+garch(1,1), data = data1)

More info in manual pages.

regards,
Yohan