Lecture 41—Friday, March 31, 2006

What was covered?

Terminology defined

Fixed effects versus random effects

Model
Intercepts
Slopes
# parameters
multilevel model
6
separate regressions
149
Separate regressions model
Random slopes and intercepts model
  • Treats the slopes and intercepts of individual groups (species) as fixed effects.
  • Treats the slopes and intercepts of individual groups (species) as random effects.
  • This is the natural choice if the focus is on the individual species that occur in the data set.
  • This is the natural choice if the focus is not the particular species that happen to occur in the sample, but instead is on characterizing the distribution of the species values.
  • This is a sensible choice any time the variable defining the structure is really a predictor of interest.
  • This is a sensible choice any time the variable defining the structure serves essentially as a blocking variable.
  • This method tends to overfit the data especially for those groups (species) that have very little data.
  • For groups (species) with very little data, the individual predictions are shrunk to the mean thus preventing overfitting.
  • This is a sensible approach if there are very few groups.
  • This is a sensible approach if there are very many groups.
  • Generally this is not the parsimonious alternative. When there are many groups present a large number of parameters will need to be estimated.
  • Usually this is the more parsimonious alternative. Regardless of the number of groups present, the number of parameters that need to be estimated will not change.
  • If there are a lot of groups present and hence many parameters that need to be estimated, the variances obtained for the individual parameter estimates will tend to be inflated. Thus precision is sacrificed.
  • If there are very few groups present then it may be difficult to estimate some of the parameters (variances and covariances) of the random effects distribution. This is more problematic with a frequentist approach to estimating multilevel models, less so with Bayesian methods.

Some terminology

The connection between correlation and observational heterogeneity

or in composite form

The covariance between these two observations is given by the following.

Lines 2 and 3 follow from the covariance properties given above and line 4 follows from the fact that the level-2 random effects are independent of the level-1 errors.

and so we see that observations coming from the same level-2 unit (species) are correlated while observations from different level-2 units are uncorrelated.

Cited references

Course Home Page


Jack Weiss
Phone: (919) 962-5930
E-Mail: jack_weiss@unc.edu
Address: Curriculum in Ecology, Box 3275, University of North Carolina, Chapel Hill, 27516
Copyright © 2006
Last Revised--August 15, 2008
URL: http://www.unc.edu/courses/2006spring/ecol/145/001/docs/lectures/lecture41.htm