Fitting Linear Mixed-Effects Models Using lme4
Open accessThe DOI matches its Crossref record; 44 of the 45 references it cites were found in a registry or an index.
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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“The algorithm then produces warnings for singular fits while seeking a solution to the model, indicating that the random effect variance-covariance matrix has been estimated as exactly zero [30].”
From Evaluation of the type I error rate when using parametric bootstrap analysis of a cluster randomized controlled trial with binary outcomes and a small number of clusters (2022) · cites this paper as [30]
Experimental — accuracy not yet measuredIn the citing paper
“The missing values in the dataset were handled via Full Information Maximum Likelihood (FIML) estimation implemented in the lme4 package version 1.1.33 (57) in R.”
From Reducing neuroendocrine psychosocial stress response through socio-emotional dyadic but not mindfulness online training (2024) · cites this paper as [57]
In the citing paper
“but this quasi-likelihood method is not available in the mixed-effects package lme4 in R (Bates et al., 2015).”
From Violating the normality assumption may be the lesser of two evils (2021) · cites this paper as Bates et al., 2015
In the citing paper
“We fitted linear mixed models using the R package ‘lme4’ version 1.1–36 [36] to analyse each variable. The model used to analyse blood variables included calf age (Young = 2–3 weeks, Old = 4–5 weeks), pre-transport feeding protocol (2 L, 4 L), time point (AC, lairage, arrival, Day 7), and all corresponding two- and three-way interactions as fixed effects, and BW before transport as a continuous”
From Effects of age and feeding protocols on the metabolic and physiological condition of unweaned calves during and after long-distance transport (2026) · cites this paper as [36]
In the citing paper
“To account for intrasite correlations in the outcome measures, mixed-effect logistic regression models were run using the”
From Comparison of the Safety Planning Intervention With Follow-up vs Usual Care of Suicidal Patients Treated in the Emergency Department (2018) · cites this paper as [41]
4 more claims about this paper
Create a free account to see every claim other papers make about this one.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
R: A Language and Environment for Statistical Computing
R Core Team (2025) · doi:10.32614/r.manuals · Cited by 352,181
Gelman, A., Carlin, J. B., Stern, H. S., & Rubin, D. B. (2003) · doi:10.1201/9780429258480 · Cited by 27,276
Axelrod, R., & Hamilton, W. D. (1981) · Science · doi:10.1126/science.7466396 · Cited by 20,065
Data Analysis Using Regression and Multilevel/Hierarchical Models
Gelman, A., & Hill, J. (2006) · doi:10.1017/cbo9780511790942 · Cited by 13,597
nlme : Linear and nonlinear mixed effects models
DebRoy, S. (2006) · Medical Entomology and Zoology · Cited by 10,009
Mixed-Effects Models in S and S-PLUS
(2001) · Technometrics · doi:10.1198/tech.2001.s574 · Cited by 9,278 · cited 1×
“, Cook’s distance and leverage plots), in a way modeled on the diagnostic graphics of nlme (Pinheiro and Bates 2000).”
MethodSelf-citationRandom-Effects Models for Longitudinal Data
Laird, N. M., & Ware, J. H. (1982) · Biometrics · doi:10.2307/2529876 · Cited by 8,923 · cited 3×
“The REML criterion The REML criterion can be obtained by integrating the marginal density for Y with respect to the fixed effects (Laird and Ware 1982), ∫ fY(yobs)dβ = ♣W ♣1/2♣Lθ♣ −1 (2πσ2)n/2 exp −r2(θ) 2σ2 ] ∫ exp − ∥∥∥RX(β − β̂θ) ∥∥∥ 2 2σ2 dβ, (36) Douglas Bates, Martin Mächler, Ben Bolker,…”
Methodnlme: Linear and Nonlinear Mixed Effects Models
Pinheiro, J., R Core Team, & Bates, D. (1999) · CRAN: Contributed Packages · doi:10.32614/cran.package.nlme · Cited by 6,849
Self-citationLinear Mixed-Effects Models using 'Eigen' and S4
Bates, D. M., Maechler, M., Bolker, B. M., & Walker, S. C. (2015) · Cited by 5,924
Self-citationBootstrap Methods and Their Application
Loughin, T. M., Davison, A. C., & Hinkley, D. V. (1999) · Journal of the American Statistical Association · doi:10.2307/2669707 · Cited by 5,418
Research works printed but not linked: 2
- Khatri CG, Rao CR (1968). 'Solutions to Some Functional Equations and Their Applications to Characterization of Probability Distributions.' Sankhy¯ a: The Indian Journal of Statistics A , 30 (2), 167-180.
- Sánchez-Espigares JA, Ocaña J (2009). 'An R Implementation of Bootstrap Procedures for Mixed Models.' Conference presentation, use R ! Accessed 2014-05-25, URL http://www. R-project.org/conferences/useR-2009/slides/SanchezEspigares+Ocana.pdf .
Cited by
Items 401–500 of 1,884
for the ENIGMA Bipolar Disorder Working Group, Favre, P., Pauling, M., Stout, J., Hozer, F., Sarrazin, S., Abé, C., Alda, M., Alloza, C., Alonso-Lana, S., et al. (2019) · Neuropsychopharmacology · doi:10.1038/s41386-019-0485-6 · Cited by 234
Drought reduces floral resources for pollinators
Phillips, B. B., Shaw, R. F., Holland, M. J., Fry, E. L., Bardgett, R. D., Bullock, J. M., & Osborne, J. L. (2018) · Global Change Biology · doi:10.1111/gcb.14130 · Cited by 233
Zulueta, J., Piscitello, A., Rasic, M., Easter, R., Babu, P., Langenecker, S. A., McInnis, M., Ajilore, O., Nelson, P. C., Ryan, K., et al. (2018) · Journal of Medical Internet Research · doi:10.2196/jmir.9775 · Cited by 233
Humans versus AI: whether and why we prefer human-created compared to AI-created artwork
Bellaiche, L., Shahi, R., Turpin, M. H., Ragnhildstveit, A., Sprockett, S., Barr, N., Christensen, A., & Seli, P. (2023) · Cognitive Research: Principles and Implications · doi:10.1186/s41235-023-00499-6 · Cited by 233
“Linear mixed-effects models using maximum likelihood estimation were estimated in R (version 4.2.0; R Core Team, 2022) using the {lme4} package (version 1.1.33; Bates et al., 2015).”
MethodInfluentialVariability of teachers’ technology integration in the classroom: A matter of utility!
Backfisch, I., Lachner, A., Stürmer, K., & Scheiter, K. (2021) · Computers & Education · doi:10.1016/j.compedu.2021.104159 · Cited by 232
Climate change accelerates growth of urban trees in metropolises worldwide
Pretzsch, H., Biber, P., Uhl, E., Dahlhausen, J., Schütze, G., Perkins, D., Rötzer, T., Caldentey, J., Koike, T., Con, T. V., et al. (2017) · Scientific Reports · doi:10.1038/s41598-017-14831-w · Cited by 231
Danopoulos, E., Twiddy, M., West, R., & Rotchell, J. M. (2022) · Journal of Hazardous Materials · doi:10.1016/j.jhazmat.2021.127861 · Cited by 230
Damen, J. A., Pajouheshnia, R., Heus, P., Moons, K. G. M., Reitsma, J. B., Scholten, R. J. P. M., Hooft, L., & Debray, T. P. A. (2019) · BMC Medicine · doi:10.1186/s12916-019-1340-7 · Cited by 250
Metropolitan areas in the world. Delineation and population trends
Moreno-Monroy, A. I., Schiavina, M., & Veneri, P. (2021) · Journal of Urban Economics · doi:10.1016/j.jue.2020.103242 · Cited by 230
Microbial invasion of the Caribbean by an Indo-Pacific coral zooxanthella
Pettay, D. T., Wham, D. C., Smith, R. T., Iglesias-Prieto, R., & LaJeunesse, T. C. (2015) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.1502283112 · Cited by 230
Globally, functional traits are weak predictors of juvenile tree growth, and we do not know why
Paine, C. E. T., Amissah, L., Auge, H., Baraloto, C., Baruffol, M., Bourland, N., Bruelheide, H., Daïnou, K., de Gouvenain, R. C., Doucet, J., et al. (2015) · Journal of Ecology · doi:10.1111/1365-2745.12401 · Cited by 230
Ten-month-old infants infer the value of goals from the costs of actions
Liu, S., Ullman, T. D., Tenenbaum, J. B., & Spelke, E. S. (2017) · Science · doi:10.1126/science.aag2132 · Cited by 230
Advances in human intracranial electroencephalography research, guidelines and good practices
Mercier, M. R., Dubarry, A.-S., Tadel, F., Avanzini, P., Axmacher, N., Cellier, D., Vecchio, M. D., Hamilton, L. S., Hermes, D., Kahana, M. J., et al. (2022) · NeuroImage · doi:10.1016/j.neuroimage.2022.119438 · Cited by 229
Expectations of reward and efficacy guide cognitive control allocation
Frömer, R., Lin, H., Dean Wolf, C. K., Inzlicht, M., & Shenhav, A. (2021) · Nature Communications · doi:10.1038/s41467-021-21315-z · Cited by 229
Gasparoni, G., Bultmann, S., Lutsik, P., Kraus, T. F. J., Sordon, S., Vlcek, J., Dietinger, V., Steinmaurer, M., Haider, M., Mulholland, C. B., et al. (2018) · Epigenetics & Chromatin · doi:10.1186/s13072-018-0211-3 · Cited by 229
Plant traits alone are poor predictors of ecosystem properties and long-term ecosystem functioning
van der Plas, F., Schröder-Georgi, T., Weigelt, A., Barry, K., Meyer, S., Alzate, A., Barnard, R. L., Buchmann, N., de Kroon, H., Ebeling, A., et al. (2020) · Nature Ecology & Evolution · doi:10.1038/s41559-020-01316-9 · Cited by 229
Pais, I. S., Valente, R. S., Sporniak, M., & Teixeira, L. (2018) · PLOS Biology · doi:10.1371/journal.pbio.2005710 · Cited by 228
Engler, S., Brunner, P., Loviat, R., Abou-Chadi, T., Leemann, L., Glaser, A., & Kübler, D. (2021) · West European Politics · doi:10.1080/01402382.2021.1900669 · Cited by 228
“Since restrictions of democratic principles are seen as a rational response to buy time and space for the authorities to cope with a crisis (Bjørnskov and Voigt 2015), most states have the option to react with emergency provisions (Richards and Clay 2012; Rooney 2019).”
BackgroundA Sharing-Based Approach to Enticing Tourists to Behave More Environmentally Friendly
Dolnicar, S., Knezevic Cvelbar, L., & Grün, B. (2019) · Journal of Travel Research · doi:10.1177/0047287517746013 · Cited by 227
“The model was fitted using maximum likelihood estimation with Laplace approximation for evaluating the likelihood (Bates et al. 2015).”
MethodSlieker, R. C., Bos, S. D., Goeman, J. J., Bovée, J. V., Talens, R. P., van der Breggen, R., Suchiman, H. E. D., Lameijer, E.-W., Putter, H., van den Akker, E. B., et al. (2013) · Epigenetics & Chromatin · doi:10.1186/1756-8935-6-26 · Cited by 227
Alexander, M. L., Alagapan, S., Lugo, C. E., Mellin, J. M., Lustenberger, C., Rubinow, D. R., & Fröhlich, F. (2019) · Translational Psychiatry · doi:10.1038/s41398-019-0439-0 · Cited by 224
Impact of circulating SARS-CoV-2 variants on mRNA vaccine-induced immunity
Lucas, C., Vogels, C. B. F., Yildirim, I., Rothman, J. E., Lu, P., Monteiro, V., Gehlhausen, J. R., Campbell, M., Silva, J., Tabachnikova, A., et al. (2021) · Nature · doi:10.1038/s41586-021-04085-y · Cited by 226
Are robots becoming unpopular? Changes in attitudes towards autonomous robotic systems in Europe
Gnambs, T., & Appel, M. (2019) · Computers in Human Behavior · doi:10.1016/j.chb.2018.11.045 · Cited by 226
Functional traits as predictors of vital rates across the life cycle of tropical trees
Visser, M. D., Bruijning, M., Wright, S. J., Muller‐Landau, H. C., Jongejans, E., Comita, L. S., & de Kroon, H. (2016) · Functional Ecology · doi:10.1111/1365-2435.12621 · Cited by 226
“1 (R-core 2014), making use of the LME4 package for mixed-effects models (Bates et al. 2015).”
MethodSulfoxaflor exposure reduces bumblebee reproductive success
Siviter, H., Brown, M. J. F., & Leadbeater, E. (2018) · Nature · doi:10.1038/s41586-018-0430-6 · Cited by 226
Canfora, E. E., van der Beek, C. M., Hermes, G. D. A., Goossens, G. H., Jocken, J. W. E., Holst, J. J., van Eijk, H. M., Venema, K., Smidt, H., Zoetendal, E. G., et al. (2017) · Gastroenterology · doi:10.1053/j.gastro.2017.03.051 · Cited by 224
Detecting and Quantifying Mind Wandering during Simulated Driving
Baldwin, C. L., Roberts, D. M., Barragan, D., Lee, J. D., Lerner, N., & Higgins, J. S. (2017) · Frontiers in Human Neuroscience · doi:10.3389/fnhum.2017.00406 · Cited by 226
“The frequency of mind wandering, as well as the frequency of mind wandering awareness, were tested across days and drives via generalized linear mixed effects models with logit link function, using the lme4 (Bates et al., 2015) and lmerTest (Kuznetsova et al., 2016) packages for R.”
Kuperberg, G. R., Brothers, T., & Wlotko, E. W. (2020) · Journal of Cognitive Neuroscience · doi:10.1162/jocn_a_01465 · Cited by 226
Barendse, M. E. A., Flannery, J., Cavanagh, C., Aristizabal, M., Becker, S. P., Berger, E., Breaux, R., Campione‐Barr, N., Church, J. A., Crone, E. A., et al. (2023) · Journal of Research on Adolescence · doi:10.1111/jora.12781 · Cited by 226
Buecker, S., & Horstmann, K. T. (2021) · European Psychologist · doi:10.1027/1016-9040/a000453 · Cited by 225
The effects of interaction quality on neural synchrony during mother-child problem solving
Nguyen, T., Schleihauf, H., Kayhan, E., Matthes, D., Vrtička, P., & Hoehl, S. (2020) · Cortex · doi:10.1016/j.cortex.2019.11.020 · Cited by 225
Hydraulic traits are coordinated with maximum plant height at the global scale
Liu, H., Gleason, S. M., Hao, G., Hua, L., He, P., Goldstein, G., & Ye, Q. (2019) · Science Advances · doi:10.1126/sciadv.aav1332 · Cited by 225
“We fitted LMMs using the lmer function in the lme4 package (56) in R.”
MethodThe potential role of vitamin D supplementation as a gut microbiota modifier in healthy individuals
Singh, P., Rawat, A., Alwakeel, M., Sharif, E., & Al Khodor, S. (2020) · Scientific Reports · doi:10.1038/s41598-020-77806-4 · Cited by 225
Fungicide Effects on Fungal Community Composition in the Wheat Phyllosphere
Karlsson, I., Friberg, H., Steinberg, C., & Persson, P. (2014) · PLoS ONE · doi:10.1371/journal.pone.0111786 · Cited by 224
“We used the lmer function in the ‘lme4’ R package [36].”
MethodEvidence of evolutionary homogenization of bird communities in urban environments across Europe
Morelli, F., Benedetti, Y., Ibáñez‐Álamo, J. D., Jokimäki, J., Mänd, R., Tryjanowski, P., & Møller, A. P. (2016) · Global Ecology and Biogeography · doi:10.1111/geb.12486 · Cited by 224
Abdalla, M., Hastings, A., Truu, J., Espenberg, M., Mander, Ü., & Smith, P. (2016) · Ecology and Evolution · doi:10.1002/ece3.2469 · Cited by 224
Ng, K. K., Lo, J. C., Lim, J. K. W., Chee, M. W. L., & Zhou, J. (2016) · NeuroImage · doi:10.1016/j.neuroimage.2016.03.029 · Cited by 222
Tompary, A., & Davachi, L. (2017) · Neuron · doi:10.1016/j.neuron.2017.09.005 · Cited by 224
Salmon, V. G., Soucy, P., Mauritz, M., Celis, G., Natali, S. M., Mack, M. C., & Schuur, E. A. G. (2016) · Global Change Biology · doi:10.1111/gcb.13204 · Cited by 223
Trait differentiation and adaptation of plants along elevation gradients
Halbritter, A. H., Fior, S., Keller, I., Billeter, R., Edwards, P. J., Holderegger, R., Karrenberg, S., Pluess, A. R., Widmer, A., & Alexander, J. M. (2018) · Journal of Evolutionary Biology · doi:10.1111/jeb.13262 · Cited by 223
“We fit linear mixed effects models using maximum likelihood with the lme4 package (Bates et al., 2015) for each of the three traits (biomass, height, phenology), with the six predictors as fixed effects.”
MethodShifts in plant functional composition following long‐term drought in grasslands
Griffin‐Nolan, R. J., Blumenthal, D. M., Collins, S. L., Farkas, T. E., Hoffman, A. M., Mueller, K. E., Ocheltree, T. W., Smith, M. D., Whitney, K. D., & Knapp, A. K. (2019) · Journal of Ecology · doi:10.1111/1365-2745.13252 · Cited by 222
User-friendly Bayesian regression modeling: A tutorial with rstanarm and shinystan
Muth, C., Oravecz, Z., & Gabry, J. (2018) · The Quantitative Methods for Psychology · doi:10.20982/tqmp.14.2.p099 · Cited by 222
“The model formula for stan_lmer is written using the exact same syntax as the formula for the lmer function from the lme4 package (Bates et al., 2015) that does maximummarginal likelihood inference.”
MethodLitter decomposition: effects of temperature driven by soil moisture and vegetation type
Petraglia, A., Cacciatori, C., Chelli, S., Fenu, G., Calderisi, G., Gargano, D., Abeli, T., Orsenigo, S., & Carbognani, M. (2019) · Plant and Soil · doi:10.1007/s11104-018-3889-x · Cited by 222
Cideciyan, A. V., Jacobson, S. G., Drack, A. V., Ho, A. C., Charng, J., Garafalo, A. V., Roman, A. J., Sumaroka, A., Han, I. C., Hochstedler, M. D., et al. (2019) · Nature Medicine · doi:10.1038/s41591-018-0295-0 · Cited by 222
Climate-driven changes in the composition of New World plant communities
Feeley, K. J., Bravo-Avila, C., Fadrique, B., Perez, T. M., & Zuleta, D. (2020) · Nature Climate Change · doi:10.1038/s41558-020-0873-2 · Cited by 222
Modelling multiple thresholds in meta-analysis of diagnostic test accuracy studies
Steinhauser, S., Schumacher, M., & Rücker, G. (2016) · BMC Medical Research Methodology · doi:10.1186/s12874-016-0196-1 · Cited by 221
Do Pro-environmental Appeals Trigger Pro-environmental Behavior in Hotel Guests?
Dolnicar, S., Knezevic Cvelbar, L., & Grün, B. (2017) · Journal of Travel Research · doi:10.1177/0047287516678089 · Cited by 221
The unique contributions of perceiver and target characteristics in person perception.
Hehman, E., Sutherland, C. A. M., Flake, J. K., & Slepian, M. L. (2017) · Journal of Personality and Social Psychology · doi:10.1037/pspa0000090 · Cited by 222
Somatic genomic changes in single Alzheimer’s disease neurons
Miller, M. B., Huang, A. Y., Kim, J., Zhou, Z., Kirkham, S. L., Maury, E. A., Ziegenfuss, J. S., Reed, H. C., Neil, J. E., Rento, L., et al. (2022) · Nature · doi:10.1038/s41586-022-04640-1 · Cited by 223
Menstrual cycle rhythmicity: metabolic patterns in healthy women
Draper, C. F., Duisters, K., Weger, B., Chakrabarti, A., Harms, A. C., Brennan, L., Hankemeier, T., Goulet, L., Konz, T., Martin, F. P., et al. (2018) · Scientific Reports · doi:10.1038/s41598-018-32647-0 · Cited by 221
Cross-biome synthesis of source versus sink limits to tree growth
Cabon, A., Kannenberg, S. A., Arain, A., Babst, F., Baldocchi, D., Belmecheri, S., Delpierre, N., Guerrieri, R., Maxwell, J. T., McKenzie, S., et al. (2022) · Science · doi:10.1126/science.abm4875 · Cited by 221
Rare Inherited and De Novo CNVs Reveal Complex Contributions to ASD Risk in Multiplex Families
Leppa, V. M., Kravitz, S. N., Martin, C. L., Andrieux, J., Le Caignec, C., Martin-Coignard, D., DyBuncio, C., Sanders, S. J., Lowe, J. K., Cantor, R. M., et al. (2016) · The American Journal of Human Genetics · doi:10.1016/j.ajhg.2016.06.036 · Cited by 221
Genotoxic effects of base and prime editing in human hematopoietic stem cells
Fiumara, M., Ferrari, S., Omer-Javed, A., Beretta, S., Albano, L., Canarutto, D., Varesi, A., Gaddoni, C., Brombin, C., Cugnata, F., et al. (2024) · Nature Biotechnology · doi:10.1038/s41587-023-01915-4 · Cited by 220
Global variation in the thermal tolerances of plants
Lancaster, L. T., & Humphreys, A. M. (2020) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.1918162117 · Cited by 220
“phylogeny, we replicated these analyses on the full dataset using a maximum likelihood approach in lme4 and lmerTest R packages (71, 72).”
MethodIconicity in the speech of children and adults
Perry, L. K., Perlman, M., Winter, B., Massaro, D. W., & Lupyan, G. (2018) · Developmental Science · doi:10.1111/desc.12572 · Cited by 220
Voolstra, C. R., Buitrago‐López, C., Perna, G., Cárdenas, A., Hume, B. C. C., Rädecker, N., & Barshis, D. J. (2020) · Global Change Biology · doi:10.1111/gcb.15148 · Cited by 220
Response of Plants to Water Stress: A Meta-Analysis
Sun, Y., Wang, C., Chen, H. Y. H., & Ruan, H. (2020) · Frontiers in Plant Science · doi:10.3389/fpls.2020.00978 · Cited by 220
“We applied linear mixed-effects models using the restricted maximum likelihood estimation with the lme4 package (Bates et al., 2015).”
MethodDiagnostic tests for autism spectrum disorder (ASD) in preschool children
Randall, M., Egberts, K. J., Samtani, A., Scholten, R. J., Hooft, L., Livingstone, N., Sterling-Levis, K., Woolfenden, S., & Williams, K. (2018) · Cochrane Database of Systematic Reviews · doi:10.1002/14651858.cd009044.pub2 · Cited by 216
Chan, J. C., Morgan, C. P., Adrian Leu, N., Shetty, A., Cisse, Y. M., Nugent, B. M., Morrison, K. E., Jašarević, E., Huang, W., Kanyuch, N., et al. (2020) · Nature Communications · doi:10.1038/s41467-020-15305-w · Cited by 220
phyr: An r package for phylogenetic species‐distribution modelling in ecological communities
Li, D., Dinnage, R., Nell, L. A., Helmus, M. R., & Ives, A. R. (2020) · Methods in Ecology and Evolution · doi:10.1111/2041-210x.13471 · Cited by 216
Remoteness promotes biological invasions on islands worldwide
Moser, D., Lenzner, B., Weigelt, P., Dawson, W., Kreft, H., Pergl, J., Pyšek, P., van Kleunen, M., Winter, M., Capinha, C., et al. (2018) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.1804179115 · Cited by 219
“ForGLMManalyses, we used the function glmer from the package lme4 for fitting (48) and the function effect from the package effects for partial effect plots.”
MethodMerchant, R. K., Inamdar, R., & Quade, R. C. (2016) · The Journal of Allergy and Clinical Immunology: In Practice · doi:10.1016/j.jaip.2015.11.022 · Cited by 218
Ding, W., Li, Z., Qi, R., Jones, D. L., Liu, Q., Liu, Q., & Yan, C. (2021) · Science of The Total Environment · doi:10.1016/j.scitotenv.2021.146884 · Cited by 218
“Data analysis 185 All statistical analysis was undertaken in the R platform (R-Core-Team, 2019) and lme4 package 186 (Bates et al., 2014).”
MethodImmune cell topography predicts response to PD-1 blockade in cutaneous T cell lymphoma
Phillips, D., Matusiak, M., Gutierrez, B. R., Bhate, S. S., Barlow, G. L., Jiang, S., Demeter, J., Smythe, K. S., Pierce, R. H., Fling, S. P., et al. (2021) · Nature Communications · doi:10.1038/s41467-021-26974-6 · Cited by 218
Fokkema, M., Smits, N., Zeileis, A., Hothorn, T., & Kelderman, H. (2018) · Behavior Research Methods · doi:10.3758/s13428-017-0971-x · Cited by 218
Anderson, S. C., Ward, E. J., English, P. A., Barnett, L. A. K., & Thorson, J. T. (2025) · Journal of Statistical Software · doi:10.18637/jss.v115.i02 · Cited by 210
Ma, Q., Wen, Y., Wang, D., Sun, X., Hill, P. W., Macdonald, A., Chadwick, D. R., Wu, L., & Jones, D. L. (2020) · Soil Biology and Biochemistry · doi:10.1016/j.soilbio.2020.107760 · Cited by 217
Bat detective—Deep learning tools for bat acoustic signal detection
Mac Aodha, O., Gibb, R., Barlow, K. E., Browning, E., Firman, M., Freeman, R., Harder, B., Kinsey, L., Mead, G. R., Newson, S. E., et al. (2018) · PLOS Computational Biology · doi:10.1371/journal.pcbi.1005995 · Cited by 216
Time-resolved systems immunology reveals a late juncture linked to fatal COVID-19
Liu, C., Martins, A. J., Lau, W. W., Rachmaninoff, N., Chen, J., Imberti, L., Mostaghimi, D., Fink, D. L., Burbelo, P. D., Dobbs, K., et al. (2021) · Cell · doi:10.1016/j.cell.2021.02.018 · Cited by 216
“…(1.10.1) Sergushichev, 2016 https://bioconductor.org/packages/ release/bioc/html/fgsea.html lme4 (1.1-23) Bates et al., 2015 https://cran.r-project.org/web/ packages/lme4/index.html lmerTest Kuznetsova et al., 2017…”
InfluentialA catastrophic tropical drought kills hydraulically vulnerable tree species
Powers, J. S., Vargas G., G., Brodribb, T. J., Schwartz, N. B., Pérez‐Aviles, D., Smith‐Martin, C. M., Becknell, J. M., Aureli, F., Blanco, R., Calderón‐Morales, E., et al. (2020) · Global Change Biology · doi:10.1111/gcb.15037 · Cited by 216
Fisher, J. C., Irvine, K. N., Bicknell, J. E., Hayes, W. M., Fernandes, D., Mistry, J., & Davies, Z. G. (2021) · Science of The Total Environment · doi:10.1016/j.scitotenv.2020.143095 · Cited by 213
Predicting lapses of attention with sleep-like slow waves
Andrillon, T., Burns, A., Mackay, T., Windt, J., & Tsuchiya, N. (2021) · Nature Communications · doi:10.1038/s41467-021-23890-7 · Cited by 213
Natural infrastructure in sustaining global urban freshwater ecosystem services
Chung, M. G., Frank, K. A., Pokhrel, Y., Dietz, T., & Liu, J. (2021) · Nature Sustainability · doi:10.1038/s41893-021-00786-4 · Cited by 212
fMRI reveals language-specific predictive coding during naturalistic sentence comprehension
Shain, C., Blank, I. A., van Schijndel, M., Schuler, W., & Fedorenko, E. (2020) · Neuropsychologia · doi:10.1016/j.neuropsychologia.2019.107307 · Cited by 215
(EFSA), E. F. S. A., Buist, H., Craig, P., Dewhurst, I., Hougaard Bennekou, S., Kneuer, C., Machera, K., Pieper, C., Court Marques, D., Guillot, G., et al. (2017) · EFSA Journal · doi:10.2903/j.efsa.2017.4873 · Cited by 215
“The model was fitted in R (R Core Team, 2016) using the Bayesian MCMCglmm package (Hadfield, 2010) and the results checked for consistency with more traditional restricted maximum likelihood fitting using the lme4 package (Bates et al., 2015).”
MethodPlastic pollution fosters more microbial growth in lakes than natural organic matter
Sheridan, E. A., Fonvielle, J. A., Cottingham, S., Zhang, Y., Dittmar, T., Aldridge, D. C., & Tanentzap, A. J. (2022) · Nature Communications · doi:10.1038/s41467-022-31691-9 · Cited by 215
Vandeputte, D., De Commer, L., Tito, R. Y., Kathagen, G., Sabino, J., Vermeire, S., Faust, K., & Raes, J. (2021) · Nature Communications · doi:10.1038/s41467-021-27098-7 · Cited by 215
Davis, M. Y., Johnson, C. O., Leverenz, J. B., Weintraub, D., Trojanowski, J. Q., Chen-Plotkin, A., Van Deerlin, V. M., Quinn, J. F., Chung, K. A., Peterson-Hiller, A. L., et al. (2016) · JAMA Neurology · doi:10.1001/jamaneurol.2016.2245 · Cited by 215
Cornelissen, G., Jubaedah, Nurida, N. L., Hale, S. E., Martinsen, V., Silvani, L., & Mulder, J. (2018) · Science of The Total Environment · doi:10.1016/j.scitotenv.2018.03.380 · Cited by 215
City sicker? A meta‐analysis of wildlife health and urbanization
Murray, M. H., Sánchez, C. A., Becker, D. J., Byers, K. A., Worsley‐Tonks, K. E., & Craft, M. E. (2019) · Frontiers in Ecology and the Environment · doi:10.1002/fee.2126 · Cited by 215
Human impact erodes chimpanzee behavioral diversity
Kühl, H. S., Boesch, C., Kulik, L., Haas, F., Arandjelovic, M., Dieguez, P., Bocksberger, G., McElreath, M. B., Agbor, A., Angedakin, S., et al. (2019) · Science · doi:10.1126/science.aau4532 · Cited by 213
Overcoming confounding plate effects in differential expression analyses of single-cell RNA-seq data
Lun, A. T. L., & Marioni, J. C. (2017) · Biostatistics · doi:10.1093/biostatistics/kxw055 · Cited by 159
Dysregulation of ILC3s unleashes progression and immunotherapy resistance in colon cancer
Goc, J., Lv, M., Bessman, N. J., Flamar, A.-L., Sahota, S., Suzuki, H., Teng, F., Putzel, G. G., Eberl, G., Withers, D. R., et al. (2021) · Cell · doi:10.1016/j.cell.2021.07.029 · Cited by 212
Pallares-Vega, R., Blaak, H., van der Plaats, R., de Roda Husman, A. M., Hernandez Leal, L., van Loosdrecht, M. C. M., Weissbrodt, D. G., & Schmitt, H. (2019) · Water Research · doi:10.1016/j.watres.2019.05.100 · Cited by 212
“A linear mixed model involving the R packages lme4 and lmerTest (to determine p values through Satterthwaite approximation) (Bates et al., 2016; Kuznetsova et al., 2017) was used with the genes and the Hydraulic Load Factor and area parameters as fixed factors and a random intercept for the plant identity.”
MethodNature inequity and higher COVID-19 case rates in less-green neighbourhoods in the United States
Spotswood, E. N., Benjamin, M., Stoneburner, L., Wheeler, M. M., Beller, E. E., Balk, D., McPhearson, T., Kuo, M., & McDonald, R. I. (2021) · Nature Sustainability · doi:10.1038/s41893-021-00781-9 · Cited by 212
Divergent trends in the risk of spring frost damage to trees in Europe with recent warming
Ma, Q., Huang, J., Hänninen, H., & Berninger, F. (2019) · Global Change Biology · doi:10.1111/gcb.14479 · Cited by 211
Evolutionary Pressure against MHC Class II Binding Cancer Mutations
Marty Pyke, R., Thompson, W. K., Salem, R. M., Font-Burgada, J., Zanetti, M., & Carter, H. (2018) · Cell · doi:10.1016/j.cell.2018.08.048 · Cited by 211
Taylor, R. L., Cooper, S. R., Jackson, J. J., & Barch, D. M. (2020) · JAMA Network Open · doi:10.1001/jamanetworkopen.2020.23774 · Cited by 211
Cumulative early life adversity predicts longevity in wild baboons
Tung, J., Archie, E. A., Altmann, J., & Alberts, S. C. (2016) · Nature Communications · doi:10.1038/ncomms11181 · Cited by 210
Link, V. M., Duttke, S. H., Chun, H. B., Holtman, I. R., Westin, E., Hoeksema, M. A., Abe, Y., Skola, D., Romanoski, C. E., Tao, J., et al. (2018) · Cell · doi:10.1016/j.cell.2018.04.018 · Cited by 182
Low agreement among reviewers evaluating the same NIH grant applications
Pier, E. L., Brauer, M., Filut, A., Kaatz, A., Raclaw, J., Nathan, M. J., Ford, C. E., & Carnes, M. (2018) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.1714379115 · Cited by 210
Rapid warming is associated with population decline among terrestrial birds and mammals globally
Spooner, F. E. B., Pearson, R. G., & Freeman, R. (2018) · Global Change Biology · doi:10.1111/gcb.14361 · Cited by 210
False positives and other statistical errors in standard analyses of eye movements in reading
von der Malsburg, T., & Angele, B. (2017) · Journal of Memory and Language · doi:10.1016/j.jml.2016.10.003 · Cited by 210
When do extreme weather events generate attention to climate change?
Sisco, M. R., Bosetti, V., & Weber, E. U. (2017) · Climatic Change · doi:10.1007/s10584-017-1984-2 · Cited by 210
“The 99.9th percentile of attention across all observations was equal to 14.32, so any observations above this value were kept in the analysis but transformed to 14.32.13 All of the following regressions were computed using the lme4 package in the statistical software R (Bates et al. 2015).”
MethodInfluentialAntonakis, J., Bastardoz, N., & Rönkkö, M. (2021) · Organizational Research Methods · doi:10.1177/1094428119877457 · Cited by 210
“The simulation was done using R and the plm (Croissant & Millo, 2008) and lme4 (Bates et al., 2015) packages on a computer cluster.”
MethodFitting Regression Models to Survey Data
Lumley, T., & Scott, A. (2017) · Statistical Science · doi:10.1214/16-sts605 · Cited by 209
“We compared the sampling-weighted logistic regression model to an ordinary logistic regression model and to a generalised linear mixed model with random intercept for each primary sampling unit, fitted with the lme4 package for R (Bates et al., 2015).”
MethodGut Microbiota Modifies Olfactory-Guided Microbial Preferences and Foraging Decisions in Drosophila
Wong, A. C.-N., Wang, Q.-P., Morimoto, J., Senior, A. M., Lihoreau, M., Neely, G. G., Simpson, S. J., & Ponton, F. (2017) · Current Biology · doi:10.1016/j.cub.2017.07.022 · Cited by 209
Gage, N. A., Scott, T., Hirn, R., & MacSuga-Gage, A. S. (2018) · Behavioral Disorders · doi:10.1177/0198742917714809 · Cited by 209
Gullifer, J. W., Chai, X. J., Whitford, V., Pivneva, I., Baum, S., Klein, D., & Titone, D. (2018) · Neuropsychologia · doi:10.1016/j.neuropsychologia.2018.04.037 · Cited by 209
Trueba, S., Pan, R., Scoffoni, C., John, G. P., Davis, S. D., & Sack, L. (2019) · New Phytologist · doi:10.1111/nph.15779 · Cited by 209
“We built a linear-mixed effect model to compare Fv/Fm values in dehydrated and rehydrated leaves with those of water-saturated leaves using the R packages LME4 (Bates et al., 2014) and LMERTEST (Kuznetsova et al.”
Method
Metadata
- Authors
- Bates, D., Mächler, M., Bolker, B., & Walker, S.
- Affiliations
- University of Wisconsin–Madison (US)
- McMaster University (CA)
- ORCID
- Bates, Douglas
- Venue
- Journal of Statistical Software
- Publisher
- Foundation for Open Access Statistic
- Published
- 2015
- Volume
- 67
- Issue
- 1
- ISSN
- 1548-7660 (ISSN-L)
- OpenAlex
- W1951724000
- Semantic Scholar
- 9b536c7b0f45d4b512f337d0acda09ca3e4cd953
- Cited by
- 86,835
- References
- 45
- Citations by year
- 2026: 10461 · 2025: 11380 · 2024: 10196 · 2023: 9312 · 2022: 9081 · 2021: 10068 · 2020: 8217 · 2019: 6640 · 2018: 5292 · 2017: 3727 · 2016: 1898 · 2015: 397
- FWCI
- 3357.47
- Type
- journal article
- Language
- en
- Open access
- diamond
- doi.org
- Licence
- cc-by
- Locations
- Journal of Statistical Software (publishedVersion, cc-by)
- DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
- Funders
- National Science Foundation (1253676, 1144152)
- Banff International Research Station for Mathematical Innovation and Discovery
- Natural Sciences and Engineering Research Council of Canada
- Japan Society for the Promotion of Science (15F15048)
- Topics
- Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods and Bayesian Inference
- Physical Sciences › Mathematics › Statistics and Probability › Data Analysis with R
- Physical Sciences › Mathematics › Statistics and Probability › Advanced Statistical Methods and Models
- Keywords
- linear mixed models, lme4, restricted maximum likelihood, maximum likelihood estimation, random effects, fixed effects, constrained optimization, R package
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.