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: st: error while doing IV
From
Arka Roy Chaudhuri <[email protected]>
To
[email protected]
Subject
Re: st: error while doing IV
Date
Wed, 29 Sep 2010 01:50:53 -0700
Thanks everybody for all your help. The variable districtid is indeed
a string variable.
Arka
On Tue, Sep 28, 2010 at 11:26 AM, Rafal Raciborski
<[email protected]> wrote:
> Christopher Baum <[email protected]> asked:
>
>> Are you saying that -ivregress- will be fixed so that
>>
>> ivregress 2sls mpg weight foreign, cluster(manufacturer)
>>
>> works properly (identifying 23 clusters) when applied to manual dataset auto7?
>
> Yes.
>
> All Stata commands that accept -cluster(clustvar)- or -vce(cluster clustvar)-
> should handle numeric and string 'clustvar'. For the time being the workaround
> for -ivregress- with a string 'clustvar' is to generate a numeric counterpart
> via -egen ..., group()- or -encode-.
>
> --Rafal
> [email protected]
*
* 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/