Fitting Linear Mixed-Effects Models Using lme4
Подгонка линейных моделей со смешанными эффектами с использованием lme4
2015-01-01
SCID: 54.1/dshvnc6a
Discuss with AI
linear mixed-effects modelslme4 packagelmer functionprofiled deviancerestricted maximum likelihood (REML)
Figures from the paper
Abstract (AI)
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.
Key Findings
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.
Research Object
Linear mixed-effects models fitted with the lmer function in the lme4 R package
Research Subject
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
Open access PDF
Access Type
Author Information
Download PDF
Subscribe to digest
References available in scid.ai1
Cited by20
lmerTest Package: Tests in Linear Mixed Effects Models2017
Two new Later Stone Age sites from the Final Pleistocene in the Falémé Valley, eastern Senegal2024
A brief introduction to mixed effects modelling and multi-model inference in ecology2018
Temporal development of the gut microbiome in early childhood from the TEDDY study2018
Urban areas as hotspots for bees and pollination but not a panacea for all insects2020
Two distinct immunopathological profiles in autopsy lungs of COVID-192020
The Fungal and Bacterial Rhizosphere Microbiome Associated With Grapevine Rootstock Genotypes in Mature and Young Vineyards2019
Creativity and Leisure During COVID-19: Examining the Relationship Between Leisure Activities, Motivations, and Psychological Well-Being2021
Estimation and updating methods for hedonic valuation2019
Diet and gut microbiome enterotype are associated at the population level in African buffalo2021
Cover crop influence on pore size distribution and biopore dynamics: Enumerating root and soil faunal effects2022
Commonalities and Asymmetries in the Neurobiological Infrastructure for Language Production and Comprehension2021
The regulation of negative and positive affect in response to daily stressors.2018
A preliminary study of the physiological and perceptual effects of GLP-1 receptor agonists during alcohol consumption in people with obesity2025
Secretory IgA and course of COVID-19 in patients receiving a bacteria-based immunostimulant agent in addition to background therapy2024
Individual variation in bilingual vocabulary in preschoolers with developmental language disorder2024
Assessing the net climate benefits of improved grazing intensity in global rangelands2026
Life event trajectories and suicidal ideation throughout adolescence: a prospective cohort study from Germany, France, Ireland, and the UK2026
Association of clinical mastitis with milking behavior and performance of cows in an automatic milking system2026
Innate Defense Mechanisms Against Nosema ceranae in Hygienic Honey Bee ( Apis mellifera ) Colonies2026