Fitting Linear Mixed-Effects Models Using lme4
Douglas Bates,
Martin Mächler,
Ben Bolker and
Steve Walker
Journal of Statistical Software, 2015, vol. 067, issue i01
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.
Date: 2015-10-07
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (1020)
Downloads: (external link)
https://www.jstatsoft.org/index.php/jss/article/view/v067i01/v67i01.pdf
https://www.jstatsoft.org/index.php/jss/article/do ... 1/lme4_1.1-10.tar.gz
https://www.jstatsoft.org/index.php/jss/article/do ... ile/v067i01/v67i01.R
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:jss:jstsof:v:067:i01
DOI: 10.18637/jss.v067.i01
Access Statistics for this article
Journal of Statistical Software is currently edited by Bettina Grün, Edzer Pebesma and Achim Zeileis
More articles in Journal of Statistical Software from Foundation for Open Access Statistics
Bibliographic data for series maintained by Christopher F. Baum ().