Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: GLS estimation using a weighting matrix


From   heisnam singh <[email protected]>
To   stata <[email protected]>
Subject   st: GLS estimation using a weighting matrix
Date   Fri, 25 Feb 2005 09:24:55 -0800 (PST)

Dear Statalist users,
 I am trying to estimate a linear regression by using
GLS procedure. I can't use the xtgls command however.
What I have is an estimated nxn matrix U (from an
earlier procedure) which is to be used as a weighting
matrix.
So my estimator has the GLS form. i.e.

 B_hat=inv[X'*inv(U)*X]*X'inv(U)*y

Is there a procedure in Stata which allows me to
estimate this without having to resort to brute force
technique.
 I am interested in getting the regression result with
all the information that a standard "regress" command
in stata yields. Please help me. Thanks in advance.
Thoihen

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
*
*   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