Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Weighted Least Squares - wls0


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Weighted Least Squares - wls0
Date   Fri, 20 Feb 2009 11:50:05 -0000

This refers to a -wsl0- command which is not part of official Stata and
not identifiable via -findit-. 

Nick 
n.j.cox@durham.ac.uk 

Phil1899@gmx.de

I have a problem with weighted least squares where I cannot find a
solution to. I use the wsl0 command to obtain the results; however,
there are two things I am confused about:

First, for some reason STATA drops observations when I use certain
weight types. STATA does not give any documentation about this; however,
the number of observations is significantly lower according to the
output table. Does anybody has an idea why STATA does that?

Second, when I use squared fitted values (xb2) as weighting type, I get
the same fitted value vs. residual plot independent of the variable(s) I
weight proportionally to. Is this normal?

I would appreciate any help,

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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