Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Check heteroskedasticity after ivregress gmm


From   Aksorn Lueanyod <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Check heteroskedasticity after ivregress gmm
Date   Sat, 22 Feb 2014 11:56:57 +0700

Dear all,

I am doing the estimation by using GMM with the robust Newey-West HAC variance

Does anyone know the command to check heteroskedasticity after the command (STATA 12)
ivregress gmm y (endo = iv) X ,vce(hac nw opt) ....(1)

I know that the command "ivhettest" is work after ivreg2
So, I try to replicate (1) by using 
ivreg2 y (endo = iv) X ,gmm robust bw(#) ... (2)

"ivhettest" is work but I have to put # as a number that received from automatic lag choosing by Bartlett kernel� from (1)
(I tried bw(#) as bw(auto), it didn't work)

Please suggest the command to check heteroskedasticity for (1) or the command that (2) can choose automatic lag.
Thank you in advance

Best regards,
Aksorn 		 	   		  

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index