Fitting Linear Mixed-Effects Models Using lme4

Подгонка линейных моделей со смешанными эффектами с использованием lme4
Benjamin M. Bolker, Douglas M. Bates, Martin Mächler, Steve Walker, Martin Maechler, Steve Walker
2015-01-01

linear mixed-effects modelslme4 packagelmer functionprofiled deviancerestricted maximum likelihood (REML)
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.
1
Models are specified through formulas containing fixed- and random-effects terms, with the formula and data defining the model’s numerical representation.
2
The lme4 package’s lmer function estimates linear mixed-effects model parameters using maximum likelihood or restricted maximum likelihood (REML).
3
The paper details model structure, criterion evaluation, and internal class representations underlying lmer.
4
These structures can be specialized to fit models such as pedigree-based or smoothing-spline mixed models that are difficult to express using lmer’s formula language.
5
lme4 evaluates a profiled deviance or profiled REML criterion and obtains parameter estimates through constrained numerical optimization in R.

Linear mixed-effects models fitted with the lmer function in the lme4 R package

maximum-likelihood and restricted-maximum-likelihood parameter estimation through profiled deviance or REML-criterion optimization, including the model representation and evaluation structure

Publication Details
Publication Date
2015-01-01
Journal
Publisher
ISSN
Cited by
106671
Access Type
Author Information
Authors
Benjamin M. Bolker
Douglas M. Bates
Martin Mächler
Steve Walker
Martin Maechler
Steve Walker
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat →
Make a presentation
100%