Article view

Pymer4: Connecting R and Python for Linear Mixed Modeling

By Eshin Jolly

Article information

Publication
Published 26 November 2018
Institutions at publication
Dartmouth College
173 Citations OpenAlex, 4 December 2026 FULL LIST: Citations
Countries with citations No data yet
Usage Phase 3: not collected yet

Abstract

In the social sciences the prevalence of clustered, correlated, and/or repeatedly measured data is very common. Modeling such data have classically involved the use of techniques such as the repeated measured analysis of variance (ANOVA) with correction factors applied to account for violations of model assumptions. More recently multi-level or hierarchical linear models have been brought to bear on modeling these kind of data given their flexibility. One of the most popular packages used for this purpose is the powerful lme4 package in the R statistical programming language (Bates, Mächler, Bolker, & Walker, 2015). While this package is highly favored by individuals that utilize R, to date there exist few comparable packages in the scientific Python community. While some solutions do exist they are often more complicated to use and sometimes less flexible (e.g.statsmodels (Seabold & Perktold, 2010) or require users to adopt a different statistical framework (e.g.Bayesian modeling, bambi (Yarkoni & Westfall, 2016)). This leaves Python users in want for a tool that: a) is highly compatible with existing scientific python tools (e.g.pandas, numpy, matplotlib, seaborn (McKinney, 2012)), b) has an API that is easy to use but not unfamiliar to those who use to lme4 , c) offers additional functionality that anticipates users' needs when analyzing real data (e.g.significance testing, simulating data, post-hoc analyses, etc).

Citations per year

Citations per year
YearCitations
2018 0
2019 3
2020 4
2021 14
2022 14
2023 16
2024 26
2025 44
2026 52

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

OpenAlex counts 173 citations, but the citing work are not listed here yet: citing works are collected from OpenAlex a few at a time, and it lists most, not all, of the citations it counts.

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • AUTHORS
  • CITATIONS No data yet
  • USAGE Phase 3
Authors by country
CountryAuthors
United States1