Skip to content
Prev 5842 / 20628 Next

GEE vs. mixed-effects modeling for handling singletons in higher-level units

On Thu, Apr 7, 2011 at 8:57 PM, Jeremy Koster <helixed2 at yahoo.com> wrote:
It's possible to fit models with random effects to data sets with
singletons as you describe.  You must be aware, however, that such
units contribute little information because the variability in the
response is being modeled in two different ways.

The guPrenat data set in the mlmRev package for R is such an example.
In most of the families (the family factor is called "mom") there is
only one child observed.  (There may be, and usually is, more than one
child in the family but the data are recorded for only one of the
children.)
1   2   3   4
817 595 142   4

Adding a random effect for the family as well as the district produces
a model that can be fit and does have a substantial variability
associated with the family.  However, if you examine the prediction
intervals on the random effects closely you will find that the random
effects for those families with only one child observed have very wide
prediction intervals, centered close to zero.