Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Empirical Bayes/ Shrinkage estimates following streg and xtlogit


From   "Anders Alexandersson" <andersalex@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Empirical Bayes/ Shrinkage estimates following streg and xtlogit
Date   Wed, 7 Feb 2007 11:40:03 -0500

Boby <boby.mihaylova@dphpc.ox.ac.uk> asks how to estimate/predict the
Empirical Bayes (EB) estimates following fitting the following random
effects models in Stata:

1) streg................, frailty(*)  shared(shareid)
2) xtlogit, re i(shareid)
I need the prediction for each of the shareid groups.

Ideally I would like to get the uncertainty around these predictions as
well. In a related problem following xtmixed command, the prediction is
straightforward but I did not find a way to get the uncertainty around
these predicted values.
Rabe-Hesketh and Skrondal, in their book "Multilevel and Longitudinal
Modeling Using Stata" on pages 23-24 (see
http://www.stata.com/bookstore/mlmus.html), show how to get EB
predictions and variances for a continuous response using -gllamm- and
-gllapred eb, u-.

Anders
andersalex@gmail.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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index