Skip to main content
QUICK REVIEW

[Paper Review] Mixed Effects Models are Sometimes Terrible

Christopher D. Eager, Joseph Roy|arXiv (Cornell University)|Jan 5, 2017
Statistical Methods and Bayesian InferenceMathematics18 references86 citations
TL;DR

The paper shows that maximal mixed-effects models in lme4 can fail to converge under realistic conditions, and proposes fully specified Bayesian models in Stan that largely avoid convergence problems.

ABSTRACT

Mixed-effects models have emerged as the gold standard of statistical analysis in different sub-fields of linguistics (Baayen, Davidson & Bates, 2008; Johnson, 2009; Barr, et al, 2013; Gries, 2015). One problematic feature of these models is their failure to converge under maximal (or even near-maximal) random effects structures. The lack of convergence is relatively unaddressed in linguistics and when it is addressed has resulted in statistical practices (e.g. Jaeger, 2009; Gries, 2015; Bates, et al, 2015b) that are premised on the idea that non-convergence is an indication that a random effects structure is over-specified (or not parsimonious), the parsimonious convergence hypothesis (PCH). We test the PCH by running simulations in lme4 under two sets of assumptions for both a linear dependent variable and a binary dependent variable in order to assess the rate of non-convergence for both types of mixed effects models when a known maximal effect structure is used to generate the data (i.e. when non-convergence cannot be explained by random effects with zero variance). Under the PCH, lack of convergence is treated as evidence against a more maximal random effects structure, but that result is not upheld with our simulations. We provide an alternative model, fully specified Bayesian models implemented in rstan (Stan Development Team, 2016; Carpenter, et al, in press) that removed the convergence problems almost entirely in simulations of the same conditions. These results indicate that when there is known non-zero variance for all slopes and intercepts, under realistic distributions of data and with moderate to severe imbalance, mixed effects models in lme4 have moderate to high non-convergence rates which can cause linguistic researchers to wrongfully exclude random effect terms.

Motivation & Objective

  • Assess how non-convergence arises in maximal random effects structures under lme4.
  • Test the parsimonious convergence hypothesis (PCH) in both linear and binary outcomes.
  • Compare convergence outcomes between lme4 and Bayesian Stan implementations under realistic data conditions.
  • Propose an alternative fully specified Bayesian modeling approach to avoid convergence problems.

Proposed method

  • Run simulations in lme4 under two sets of assumptions for both linear and binary outcomes with a known maximal random effects structure.
  • Evaluate non-convergence rates when there is non-zero variance for all slopes and intercepts under imbalanced data.
  • Test the parsimonious convergence hypothesis (PCH) by treating non-convergence as evidence against maximal structure.
  • Implement fully specified Bayesian models in rstan and compare convergence outcomes to lme4 results.
  • Describe conditions under which lme4 shows moderate to high non-convergence rates.

Experimental results

Research questions

  • RQ1Does non-convergence occur under maximal random effects structures when data are generated with non-zero variance for all slopes and intercepts?
  • RQ2Is non-convergence in lme4 indicative of over-specified random effects structures as the PCH suggests?
  • RQ3Do fully specified Bayesian models in Stan reduce or eliminate convergence problems under the same data conditions?
  • RQ4How do convergence rates differ between linear and binary dependent variables under realistic data distributions and imbalance?

Key findings

  • Lme4 mixed-effects models exhibit moderate to high non-convergence rates under realistic distributions and imbalance when the maximal structure has non-zero variance.
  • Non-convergence cannot be reliably attributed to over-specified random effects via the PCH according to the simulations.
  • Fully specified Bayesian models implemented in rstan largely remove convergence problems under the same conditions.
  • Bayesian models tolerate maximal random effects structures better than lme4 in the tested scenarios.
  • Non-zero variance for all slopes and intercepts is a key condition for observed convergence issues in lme4.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.