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

Post-Colonoscopy Complications: A Systematic Review, Time Trends, and Meta-Analysis of Population-Based Studies.

TL;DR: Worldwide, the post-colonoscopy complication rate remained stable or even declined over the past 15 years, whereas the perforation and mortality rates remained stable from 2001 to 2015.
Journal ArticleDOI

Statistical power in two-level models: A tutorial based on Monte Carlo simulation.

TL;DR: A hands-on tutorial illustrating how a priori and post hoc power analyses for the most frequently used two-level models are conducted and case-sensitive rules of thumb for deriving sufficient sample sizes as well as minimum detectable effect sizes that yield a power ≥ .80 for the effects and input parameters most frequently analyzed by psychologists are provided.
Journal ArticleDOI

Women 1.5 Times More Likely to Leave STEM Pipeline after Calculus Compared to Men: Lack of Mathematical Confidence a Potential Culprit.

TL;DR: It is indicated that if women persisted in STEM at the same rate as men starting in Calculus I, the number of women entering the STEM workforce would increase by 75%.
Journal ArticleDOI

Loss of coral reef growth capacity to track future increases in sea level

TL;DR: The vertical growth potential of more than 200 tropical western Atlantic and Indian Ocean reefs is calculated and compared against recent and projected rates of SLR under different Representative Concentration Pathway (RCP) scenarios to show that few reefs will have the capacity to track sea-level rise projections under Representative concentration pathway scenarios without sustained ecological recovery.
Journal ArticleDOI

Pervasive phosphorus limitation of tree species but not communities in tropical forests

TL;DR: By quantifying the growth of 541 tropical tree species across a steep natural phosphorus gradient in Panama, this work shows that phosphorus limitation is widespread at the level of individual species and strengthens markedly below a threshold of two parts per million exchangeable soil phosphate.
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.