Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Why not always specify robust standard errors?


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: RE: Why not always specify robust standard errors?
Date   Tue, 13 Feb 2007 18:34:28 -0500

At 06:07 PM 2/13/2007, Jeremy Miles wrote:
This web page (of mine) describes how to do it with clusters
http://www.jeremymiles.co.uk/regressionbook/2006/04/huber-white-estimates-in-spss.html

Without clusters, you need to make the cluster variable an id
variable, so each cluster has n = 1.

Jeremy
Thanks Jeremy. Like your page says, doing it in Stata is "horribly easy" especially compared to SPSS. And in fairness to SPSS, it actually has been able to compute robust standard errors for a while, and it doesn't require the add-on module you mention. But, since it takes 10 pages to print out the program that does it, I don't think this ability is a ringing endorsement of SPSS. The code can be found at

http://pages.infinit.net/rlevesqu/Syntax/RegressionRepeatedMeasure/WhiteSE_HCO_HC2andHC3.txt


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