Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: AW: st: Test for panel heteroskedasticity


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: AW: st: Test for panel heteroskedasticity
Date   Thu, 31 Mar 2005 14:59:55 -0500

At 09:51 PM 3/31/2005 +0200, Armen Khachatryan wrote:
Yes, first I did as you say, but then I run the regression again without
p(h) and the again did all that
.estimates store hetero
.local df=e(N_g)-1
.lrtest hetero . , df(`df')

As far as I understand from the manual, -estimates store- would keep the
estimates from the last regression, i.e. without panels(hetero).
So, I did follow Wiggins, but the error is still the same!
No, according to the FAQ, there needs to be another xtgls command after your estimates store command, where you estimate the model without hetero. To keep it straight, it might help if you did one model, called it hetero, and then estimated the other model, and called it nonhetero. You need to have 2 models to compare, and right now you only have one (the . refers to the current model, which in the above is the same as hetero.)


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: [email protected]
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc

*
* 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/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index