Statalist The Stata Listserver


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

st: Re: glm with aweight


From   Marcello Pagano <pagano@hsph.harvard.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: glm with aweight
Date   Wed, 09 May 2007 07:15:17 -0400

From: Kit Baum <baum@bc.edu>
Date: May 7, 2007 9:40:21 AM EDT
To: statalist@hsphsun2.harvard.edu
Subject: glm with aweight

sacrificial lamb

regress price headroom trunk [aw=rep78]
and
glm price headroom trunk [aw=rep78]

give exactly the same results (as they should). Given that, why use glm for a weighted least squares problem?



Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html



*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index