Statalist The Stata Listserver


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

st: glm with aweight


From   "Sergio Goldbaum" <[email protected]>
To   <[email protected]>
Subject   st: glm with aweight
Date   Sat, 5 May 2007 18:21:25 -0300

Dear Statalisters:

This is probably a very simple question, so I apologize myself in advance.
Following Berndt "The Practice of Econometrics", chapter 7, exercise 3 (pg. 341), I have run:

glm y x1 x2 x3 [aweight = x4]

and Stata gave me the expected coefficients and std deviation (the ones shown in the textbook).

Then, I tried to use a "brute force" data transformation approach, that is, to transform the variables by myself and run an OLS

regress y x1 x2 x3

However, I could not get the same glm results. So, my question is: How exactly "aweight" transforms variables?

thanks,
Sergio Goldbaum

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