EUVIMEDTutustu EUVIMEDiin
Open access · CC BY 4.0

Fixed or Random Effects: Analysis of Clustered Data

Kevin He iD, Xiangeng Fang iD, Yubo Shao iD, Nicholas Hartman iD, John D Kalbfleisch iD

Statistics in Medicine · 2026-08 · 45 (18-19)

DOI: 10.1002/sim.70687 ↗

At a glance

Journal article in Statistics in Medicine, published online on 2026-08-06. Written by Kevin He and 4 co-authors. Institution: Department of Biostatistics, University of Michigan, Ann Arbor, Michigan, USA. Major MEDLINE topics: Models, Statistical. 32 references. The full text is freely available (open access, CC BY 4.0). Funded by: NIDDK NIH HHS, HRSA HHS, National Institute of Diabetes and Digestive and Kidney Diseases.

TiivistelmäSubjectsBibliografiset tiedotCiteRelated studies

Abstract (original language)

In analyzing clustered data, random effects (RE) and fixed effects (FE) models are two primary approaches. The RE model assumes that the cluster‐specific effects are random and uncorrelated with individual characteristics. If this assumption is violated, the RE approach can lead to biased estimates of the coefficients of individual covariates and cluster effects. In contrast, the FE approach, which models cluster effects as fixed effects, yields unbiased estimates even if the cluster effects are correlated with individual covariates. Numerous studies have compared the FE and RE approaches. However, the practical importance of the biases observed in RE‐based methods remains unclear. Some studies have demonstrated significant biases in RE models when the assumption of no correlation is violated, whereas others have found these biases to be negligible. These differences may be due to variations in study design, with some evaluations focusing on settings that may not reflect realistic data scenarios. In this paper, we compare FE and RE models through theoretical evaluation, simulation studies, and real‐data applications. Specifically, we derive an approximate formula to quantify the asymptotic bias in the RE model and verify its accuracy through simulations. These results help to explain the different conclusions reached in the existing literature. Our goal is not to propose a new estimator or a fundamentally new inferential framework, but to provide an analytical clarification and practical quantification of the bias incurred by the standard RE estimator under a specific, interpretable dependence model, and to clarify how this bias relates to fixed‐effects and correlated random‐effects/between‐within specifications.

Subjects

MeSH terms (MEDLINE)

Models, StatisticalCluster AnalysisHumansBiasComputer SimulationData Interpretation, Statistical

Author keywords

between and within modelsbiased estimationprovider profilingsimulation

Authors and institutions

  • Department of Biostatistics, University of Michigan, Ann Arbor, Michigan, USA.
  • Kidney Epidemiology and Cost Center, University of Michigan, Ann Arbor, Michigan, USA.

ORCID profiles: Kevin He, Xiangeng Fang, Yubo Shao, Nicholas Hartman, John D Kalbfleisch

Funding

  • NIDDK NIH HHS
  • HRSA HHS
  • National Institute of Diabetes and Digestive and Kidney Diseases
  • Health Resources and Services Administration

Cite

APA

He, K., Fang, X., Shao, Y., Hartman, N., & Kalbfleisch, J. D. (2026). Fixed or Random Effects: Analysis of Clustered Data. Statistics in Medicine, 45(18-19). https://doi.org/10.1002/sim.70687

Vancouver

He K, Fang X, Shao Y, Hartman N, Kalbfleisch JD. Fixed or Random Effects: Analysis of Clustered Data. Statistics in Medicine. 2026;45(18-19). doi:10.1002/sim.70687

BibTeX
@article{He2026,
  author = {He, Kevin and Fang, Xiangeng and Shao, Yubo and Hartman, Nicholas and Kalbfleisch, John D},
  title = {Fixed or Random Effects: Analysis of Clustered Data},
  journal = {Statistics in Medicine},
  year = {2026},
  volume = {45},
  number = {18-19},
  doi = {10.1002/sim.70687}
}
Start for free →