Skip to main content

Mixed-Effects Models

  • Chapter
  • First Online:
Advanced Statistics for the Behavioral Sciences

Abstract

We have covered a variety of statistical models in this book, but all have shared a common feature: The criterion and error term were treated as random variables, but all of the predictors were assumed to be fixed. In this chapter, we will consider models that include a broader mixture of fixed and random variables. For obvious reasons, these models are called mixed-effects models or mixed models.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 119.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 159.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Although many mixed models have a hierarchical structure, not all do, so the two terms should not be used interchangeably.

  2. 2.

    An incidence matrix is different than a matrix with dummy coded vectors. The elements of both matrices are 0 and 1, but an incidence matrix has as many vectors as there are levels of the variable it represents (q), whereas a matrix using dummy coding has one vector less than the levels of the variable it represents (q − 1).

  3. 3.

    The Residual Maximum Likelihood Function is also called the Restricted Maximum Likelihood Function or the Reduced Maximum Likelihood Function.

  4. 4.

    A fourth possibility is to include a random slope without including a random intercept. This configuration is rarely used and will not be considered.

  5. 5.

    This issue is the subject of considerable controversy, and readers wishing more information can visit: https://stat.ethz.ch/pipermail/r-help/2006-May/094765.html.

  6. 6.

    \( {\mathcal{R}}^{\prime }s \) nlme package is an earlier version of its lme4 package. The two packages use slightly different optimization routines so sometimes produce slightly different results.

  7. 7.

    These values also appear in the 2nd column of Table 14.2.

  8. 8.

    The default specification in \( \mathcal{R} \) assumes correlated terms by using a single bar in model 1d. To specify uncorrelated terms, we use double bars, as in model 1c. Alternatively, we can type: lmer(y1 ~ x + (1 | schl) + (0 + x | schl)).

  9. 9.

    To aid in the interpretation of the intercept, it is advantageous to recode days to begin at 0 rather than at 1.

References

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Brown, J.D. (2018). Mixed-Effects Models. In: Advanced Statistics for the Behavioral Sciences. Springer, Cham. https://doi.org/10.1007/978-3-319-93549-2_14

Download citation

Publish with us

Policies and ethics