Arka Roy Chaudhuri <gabuisi@gmail.com> reports a problem with the -cluster()-
option in -ivregress-:
> I am having some problems in estimating a IV regression. It would be
> great if somebody could please help me with my problem.
>
> ivregress 2sls avggap (district_tariff_scaled
> =district_tariff_unscaled) time _Idistricti*
> [aweight=district_popn],cluster(districtid)
> (sum of wgt is 0.0000e+00)
> no observations
> r(2000);
>
> Surprisingly if I estimate the third equation without clustering over
> the districts Stata gives me results without any error. I tried using
> the vce option instead of the cluster option but I get the same error.
I suspect that 'districtid' is a string variable in which case -ivregress-
incorrectly marks out the estimation sample. This behavior will be fixed
in the next Stata update.
--Rafal
rraciborski@stata.com
*
* 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/