Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: About weighted least squares for grouped data
From
Lina C <[email protected]>
To
[email protected]
Subject
st: About weighted least squares for grouped data
Date
Fri, 8 Jul 2011 14:05:22 +0100
Dear all,
I'm trying to run a weighted least squares regression, weighting by
the variance of the error term using grouped data. I found that there
is a program wls0 that run this procedure, and it has an option w( .)
to indicate the weighting variable. I was wondering if in my case I
need to estimate first the variance of the residual of this regression
and then run the wls0 procedure.
Yj = b0*Xj + ej ; where j indicates the group.
Thank you.
Lina.
*
* 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/