[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: hettest with areg command in STATA
Date sent: Wed, 9 Jun 2004 21:27:19 +0530 (IST)
From: Rijo John <firstname.lastname@example.org>
Subject: Re: st: hettest with areg command in STATA
Send reply to: email@example.com
> Thanks for you reply. But what I am having is a cross-section data.
> (Survey data). I want stata to create village dummies while running the
> regression. That is why I have been using areg command with the option absorb
> (cluster) where cluster is the village. Since xt commands are for pannel
> data can I use them in my case.
I think the answer is "yes" - you can use at least some of the xt
commands. For example, -xtreg, fe i(cluster)- will estimate exactly
the same model as -areg, absorb(cluster)-.
BTW, I don't recommend using a variable called "cluster" - this is a
Stata command name and also an option name.
Hope this helps.
> Is it not possible to do a hettest command
> with areg in this case at all?
> Rijo John.
> On Wed, 9 Jun 2004, Mark Schaffer wrote:
> :The problem is that hettest isn't designed to run after areg. You
> :should estimate with one of the newer xt commands and then test for
> :heteroskasticity either according to the following FAQ:
> :or using Kit Baum's xttest3.
> :You can find out more about these if you try
> :findit heteroskedasticity panel
> :from within Stata.
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
Prof. Mark E. Schaffer
Centre for Economic Reform and Transformation
Department of Economics
School of Management & Languages
Heriot-Watt University, Edinburgh EH14 4AS UK
44-131-451-3485 CERT administrator
* For searches and help try: