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

A Versatile Phenotyping System and Analytics Platform Reveals Diverse Temporal Responses to Water Availability in Setaria

TL;DR: The Bellwether Phenotyping Platform for controlled-environment plant growth and automated multimodal phenotyping is described and significant effects of genotype and environment on height, biomass, water-use efficiency, color, plant architecture, and tissue water status traits are detected.
Journal ArticleDOI

Relationships among conspiratorial beliefs, conservatism and climate scepticism across nations

TL;DR: This article found that positive correlations between climate scepticism and indices of ideology were stronger and more consistent in the United States than in the other 24 nations tested, suggesting that there is a political culture in America that offers particularly strong encouragement for citizens to appraise climate science through the lens of their worldviews.
Journal ArticleDOI

Faster and farther: wolf movement on linear features and implications for hunting behaviour

TL;DR: In this paper, the authors tested if wolves select linear features and whether movement rates increased while travelling on linear features in north-eastern Alberta and northwestern Saskatchewan using 5-min GPS (Global Positioning System) locations from twenty-two wolves in six packs.
Journal ArticleDOI

Tocilizumab for treatment of severe covid-19 patients: Preliminary results from smatteo covid19 registry (smacore)

TL;DR: Treatment with TCZ did not reduce ICU admission or mortality rate in a cohort of 21 patients, and analysis of laboratory measures showed significant interactions between time and treatment regarding C-Reactive Protein (CRP), alanine aminotransferase (ALT), platelets and international normalized ratio (INR) levels.
Journal ArticleDOI

Warming of subarctic tundra increases emissions of all three important greenhouse gases – carbon dioxide, methane, and nitrous oxide

TL;DR: Experimental air warming increased emissions of all three greenhouse gases (GHGs), including the highly understudied N2O, clearly demonstrating the need to include N1O in future Arctic GHG budgets.
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.