[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: glm with aweight
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?
* For searches and help try: