Page 1 of 1

GARCH instruction

Posted: Thu Dec 06, 2012 4:48 pm
by msrahman
Hello,

I am applying the GARCH instruction in a loop over 1000 simulated series and writing down the coefficients (%BEATA) in a file. I want to write down only those set of coefficients for which the GARCH model converges ( I guess the model does not converge for 200 series out of those 10000). Any suggestion how to do this?

Thanks.

S. Rahman

Re: GARCH instruction

Posted: Fri Dec 07, 2012 11:32 am
by TomDoan
%CONVERGED is 1 after a GARCH instruction which converges and 0 otherwise, so you can test that and only do the WRITE instruction when %CONVERGED is 1.