scispace - formally typeset
Open AccessJournal ArticleDOI

Fitting Linear Mixed-Effects Models Using lme4

TLDR
In this article, a model is described in an lmer call by a formula, in this case including both fixed-and random-effects terms, and the formula and data together determine a numerical representation of the model from which the profiled deviance or the profeatured REML criterion can be evaluated as a function of some of model parameters.
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.

read more

Content maybe subject to copyright    Report

Citations
More filters
Journal ArticleDOI

The impact of the severity of early life stress on diurnal cortisol: The role of puberty

TL;DR: Findings indicated that pubertal stage interacted with ELS severity to predict the cortisol awakening response (CAR), which provided a developmental explanation for previous divergent findings of both blunted and heightened patterns of diurnal cortisol following ELS.
Journal ArticleDOI

Plastic debris in great skua (Stercorarius skua) pellets corresponds to seabird prey species.

TL;DR: It is demonstrated that marine plastic debris is transferred from surface feeding seabird species to predatory great skuas, and that Northern fulmars have higher loads of plastics than other sympatric species.
Journal ArticleDOI

Toward a principled Bayesian workflow in cognitive science.

TL;DR: A principled Bayesian workflow is introduced that provides guidelines and checks for valid data analysis, avoiding overfitting complex models to noise, and capturing relevant data structure in a probabilistic model.
Journal ArticleDOI

Unmanned aerial vehicles for surveying marine fauna: assessing detection probability.

TL;DR: It is shown that UAVs are an effective alternative to traditional methods, providing a detection probability that is within the range of previous studies for the authors' target species and a method of assessing availability bias that represents spatial and temporal characteristics of a survey, from the same perspective as the survey platform, is benign, and provides additional data on animal behavior.
Journal ArticleDOI

Mouse MRI shows brain areas relatively larger in males emerge before those larger in females

TL;DR: Manganese-enhanced MRI is used at nine different postnatal stages to detail the development of structural sex differences in the mouse brain, finding that neuroanatomical regions larger in males develop earlier than those larger in females.
References
More filters
Journal Article

R: A language and environment for statistical computing.

R Core Team
- 01 Jan 2014 - 
TL;DR: Copyright (©) 1999–2012 R Foundation for Statistical Computing; permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and permission notice are preserved on all copies.
Book

Bayesian Data Analysis

TL;DR: Detailed notes on Bayesian Computation Basics of Markov Chain Simulation, Regression Models, and Asymptotic Theorems are provided.
Book

Mixed-Effects Models in S and S-PLUS

TL;DR: Linear Mixed-Effects and Nonlinear Mixed-effects (NLME) models have been studied in the literature as mentioned in this paper, where the structure of grouped data has been used for fitting LME models.
Book

Data Analysis Using Regression and Multilevel/Hierarchical Models

TL;DR: Data Analysis Using Regression and Multilevel/Hierarchical Models is a comprehensive manual for the applied researcher who wants to perform data analysis using linear and nonlinear regression and multilevel models.