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]
Re: Re: st: Overidentification Tests
From
Christopher Baum <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: Re: st: Overidentification Tests
Date
Wed, 31 Aug 2011 13:47:07 -0400
<>
On Aug 31, 2011, at 2:33 AM, Tirthankar wrote:
> If you note that 3SLS is the GMM estimator under system
> homskedasticity, then tranferring calculations to -gmm- produces a
> J-statistic directly. This example is taken from the Stata manual
> ([R]) entry on -gmm-:
>
> /*************************************/
> webuse klein, clear
> // 3SLS via -reg3-
> reg3 (consump = wagepriv wagegovt) ///
> (wagepriv = consump govt capital1), ///
> endog(consump wagepriv) exog(wagegovt govt capital1)
>
> // 3SLS via -gmm-
> gmm (eq1: consump - {b0} - {xb: wagepriv wagegovt}) ///
> (eq2: wagepriv - {c0} - {xc: consump govt capital1}), ///
> instruments(wagegovt govt capital1) ///
> winitial(unadjusted, independent) ///
> wmatrix(unadjusted) twostep
>
> // J-statistic
> estat overid
> /*************************************/
>
> This way, your estimation can also easily be made robust to
> heteroskedasticity. See several old Statalist posts by Christopher
> Baum on -reg3-/-sureg- and 3SLS estimation to get an idea of its
> limitations.
Tirthankar makes very good points. But also note that -overid- from ssc (Baum/Schaffer/Stillman/Wiggins) will compute an overid stat
after reg3. But as Tirthankar said, the restriction that reg3 can only handle iid errors really bites.
Kit
Kit Baum | Boston College Economics and DIW Berlin | http://ideas.repec.org/e/pba1.html
An Introduction to Stata Programming | http://www.stata-press.com/books/isp.html
An Introduction to Modern Econometrics Using Stata | http://www.stata-press.com/books/imeus.html
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/