Journal of Statistical Software· 2015Q1
Fitting Linear Mixed-Effects Models Using <b>lme4</b>
- 86,393citations
- Q1SCImago
- 2015year
Short summary
The lme4 package in R provides the `lmer` function to fit linear mixed-effects models using maximum likelihood or REML estimation.
AI-generated from the title and abstract; the full text is not read.
Key points
- The `lmer` function in R's `lme4` package fits linear mixed-effects models.
- Estimation uses maximum likelihood or REML criteria.
- Models are specified via formulas with fixed and random effects.
- The paper explains the internal model representation and optimization process.
AI-generated from the title and abstract; the full text is not read.
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.
The authors' abstract, as published at the source. Journal of Statistical Software, 2015 · DOI ↗
Continue with a free account
Ask the paper: 3 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.
Continue free on the webSign in with Google or Apple; no card needed. You come back to this paper.
On your phone:
Field: Artificial Intelligence
Artificial IntelligenceComputer Science