23
views
0
recommends
+1 Recommend
0 collections
    0
    shares
      • Record: found
      • Abstract: found
      • Article: found
      Is Open Access

      Fitting Linear Mixed-Effects Models using lme4

      journal-article

      Read this article at

      Bookmark
          There is no author summary for this article yet. Authors can add summaries to their articles on ScienceOpen to make them more accessible to a non-specialist audience.

          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.

          Abstract

          51 pages, including R code, and an appendix

          Related collections

          Author and article information

          Journal
          arXiv
          2014
          23 June 2014
          24 June 2014
          June 2014
          Article
          10.48550/ARXIV.1406.5823
          f1aea725-2fcf-48c7-9c37-d3876f0ecb2d

          arXiv.org perpetual, non-exclusive license

          History

          FOS: Computer and information sciences,Computation (stat.CO)

          Comments

          Comment on this article