Cited by 86,835Statistical Methods and Bayesian InferenceData Analysis with RAdvanced Statistical Methods and Models

Fitting Linear Mixed-Effects Models Using lme4

Open access
Bates, Douglas, Mächler, Martin, Bolker, Ben, Walker, Steve·2015·Journal of Statistical Software

Abstract

Maximum likelihood or restricted maximum likelihood (REML) estimates of the parameters in linear mixed-effects models can be determined using the lmer function in the lme4 package for R. As for most model-fitting functions in R, the model is described in an lmer call by a formula, in this case including both fixed- and random-effects terms. The formula and data together determine a numerical representation of the model from which the profiled deviance or the profiled REML criterion can be evaluated as a function of some of the model parameters. The appropriate criterion is optimized, using one of the constrained optimization functions in R, to provide the parameter estimates. We describe the structure of the model, the steps in evaluating the profiled deviance or REML criterion, and the structure of classes or types that represents such a model. Sufficient detail is included to allow specialization of these structures by users who wish to write functions to fit specialized linear mixed models, such as models incorporating pedigrees or smoothing splines, that are not easily expressible in the formula language used by lmer.

Integrity signals

Registry

Crossref · 10.18637/jss.v067.i01

Cites

42 of 42 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Cites

Flagged first, then by citations

3 of the 45 references couldn’t be matched to a known paper.

Cited by

Sorted by citations

Authors
Bates, D., Mächler, M., Bolker, B., & Walker, S.
Affiliations
  • University of Wisconsin–Madison (US)
  • McMaster University (CA)
Venue
Journal of Statistical Software
Published
2015
Volume
67
Issue
1
ISSN
1548-7660 (ISSN-L)
OpenAlex
W1951724000
Cited by
86,835
References
45
Citations by year
2026: 10461 · 2025: 11380 · 2024: 10196 · 2023: 9312 · 2022: 9081 · 2021: 10068 · 2020: 8217 · 2019: 6640 · 2018: 5292 · 2017: 3727 · 2016: 1898 · 2015: 397 · 2014: 50 · 2013: 20 · 2012: 23
FWCI
3357.47
Type
journal article
Language
en
Open access
Licence
cc-by
Locations
  • Journal of Statistical Software (publishedVersion, cc-by)
  • DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
Funders
  • National Science Foundation (1253676, 1144152)
  • Banff International Research Station for Mathematical Innovation and Discovery
  • Natural Sciences and Engineering Research Council of Canada
  • Japan Society for the Promotion of Science (15F15048)
Topics
  • Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods and Bayesian Inference
  • Physical Sciences › Computer Science › Artificial Intelligence › Data Analysis with R
  • Physical Sciences › Mathematics › Statistics and Probability › Advanced Statistical Methods and Models
Keywords
linear mixed models, lme4, restricted maximum likelihood, maximum likelihood estimation, random effects, fixed effects, constrained optimization, R package

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review