Published by the Foundation for Open Access Statistics
Editors-in-chief: Bettina Grün, Torsten Hothorn, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Fitting Linear Mixed-Effects Models Using lme4 | Bates | Journal of Statistical Software
Authors: Douglas Bates, Martin Mächler, Ben Bolker, Steve Walker
Title: Fitting Linear Mixed-Effects Models Using lme4
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.

Page views:: 6901. Submitted: 2014-06-30. Published: 2015-10-07.
Paper: Fitting Linear Mixed-Effects Models Using lme4     Download PDF (Downloads: 3800)
lme4_1.1-10.tar.gz: R source package Download (Downloads: 94; 3MB)
v67i01.R: R replication code Download (Downloads: 139; 10KB)

DOI: 10.18637/jss.v067.i01

This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.