Did you square w to use as the weight variable in the wls command?  wtvar = w^2

On Wed, Apr 11, 2012 at 6:42 AM, Andreas <quasiwasi@lycos.com> wrote:
I seem to be missunderstanding something about WLS in gretl. My understading is the WLS option from the dropdown model Menu weighs the variables with the weights series. So if I have a regression of y on a constant and x and I add a weight series w in the WLS menu, then the regression will be y*w on 1*w (the constant) and x*w. However, if I do this manually by constricting variables y*w, 1*w, x*w and then run an OLS regression on these variables I get different parameter estimates.
What am I missing?

_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users



--
Lee Adkins
Professor of Economics
lee.adkins@okstate.edu

learneconometrics.com