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

st: Estimation of BLUPs in random effects model


From   "James W. Shaw" <[email protected]>
To   <[email protected]>
Subject   st: Estimation of BLUPs in random effects model
Date   Wed, 15 Jan 2003 19:10:14 -0500

I have come across something peculiar.  Baltagi and other sources suggest
that when estimating a random effects model the best linear unbiased
prediction (BLUP) of the random effect for the ith cross-sectional unit is

BLUP_i = [sigma_u^2/(sigma_u^2 + sigma_e^2/T)]*w_bar_i

where

sigma_u^2 is the variance of the random effect
sigma_e^2 is the residual variance
T is the length of the panel
w_bar_i is the mean of the combined residuals for the ith cross-sectional
unit

Stata appears to use this formula to derive the BLUPs when GLS is used to
estimate the random effects model (as does SAS' PROC MIXED).  However, when
maximum likelihood is used to estimate the random effects model, Stata
computes the BLUP for the ith unit as w_bar_i.  That is, predicting "u"
following the estimation of a MLE random effects model gives the
subject-specific mean of the combined residuals.  On the other hand, SAS
computes the BLUPs using the formula given above.

Is there a reason for the difference between the two software packages?
Which prediction should be preferred?

Thank you for your help.

--
Jim Shaw
Graduate Research Associate
College of Pharmacy
The University of Arizona

*
*   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