I am running -ivregress 2sls- with -vce(cluster clustervar) option.
If I run -estat overid, forcenonrobust-, I get
However, if I run -overid, vceopt(cluster(clustervar))-, I get
The p-values are pretty different after the two overid tests. How to interpret these? And is overid, vceopt(,) more appropriate to use?
*Note 1: To replicate, you may need -ssc install overid- and -ssc install ranktest-
*Note 2: I have used dummy data to generate this, these are not my actual results.
If I run -estat overid, forcenonrobust-, I get
Code:
Tests of overidentifying restrictions: Sargan chi2(1) = 5.80552 (p = 0.0160) Basmann chi2(1) = 5.80559 (p = 0.0160)
Code:
Overidentification test: 2-step-GMM-based (LM version) Test statistic robust to heteroskedasticity and clustering on state_code j= 0.69 Chi-sq( 1) p-value=0.4061
*Note 1: To replicate, you may need -ssc install overid- and -ssc install ranktest-
*Note 2: I have used dummy data to generate this, these are not my actual results.
Comment