GARCH instruction

Use this forum to post questions about syntax problems or general programming issues. Questions on implementing a particular aspect of econometrics should go in "Econometrics Issues" below.
Post Reply
msrahman
Posts: 53
Joined: Wed Oct 31, 2012 2:32 pm

GARCH instruction

Post 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
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: GARCH instruction

Post 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.
Post Reply