Avoiding Blunders When Analyzing Correlated Data, Clustered Data, or Repeated Measures
Open Access
- 15 May 2023
- journal article
- review article
- Published by The Journal of Rheumatology in The Journal of Rheumatology
- Vol. 50 (10) , 1269-1272
Abstract
Rheumatology research often involves correlated and clustered data. A common error when analyzing these data occurs when instead we treat these data as independent observations. This can lead to incorrect statistical inference. The data used are a subset of the 2017 study from Raheel et al consisting of 633 patients with rheumatoid arthritis (RA) between 1988 and 2007. RA flare and the number of swollen joints served as our binary and continuous outcomes, respectively. Generalized linear models (GLM) were fitted for each, while adjusting for rheumatoid factor (RF) positivity and sex. Additionally, a generalized linear mixed model with a random intercept and a generalized estimating equation were used to model RA flare and the number of swollen joints, respectively, to take additional correlation into account. The GLM’s β coefficients and their 95% confidence intervals (CIs) are then compared to their mixed-effects equivalents. The β coefficients compared between methodologies are very similar. However, their standard errors increase when correlation is accounted for. As a result, if the additional correlations are not considered, the standard error can be underestimated. This results in an overestimated effect size, narrower CIs, increased type I error, and a smallerPvalue, thus potentially producing misleading results. It is important to model the additional correlation that occurs in correlated data.Keywords
This publication has 8 references indexed in Scilit:
- Improved flare and remission pattern in rheumatoid arthritis over recent decades: a population-based studyRheumatology, 2017
- Rheumatology Informatics System for Effectiveness: A National Informatics‐Enabled Registry for Quality ImprovementArthritis Care & Research, 2016
- Analyzing Clustered Data: Why and How to Account for Multiple Observations Nested within a Study Participant?PLOS ONE, 2016
- The Importance of Accounting for Correlated ObservationsPM&R, 2010
- coxme: Mixed Effects Cox Models2009
- A Comparison of Regression Approaches for Analyzing Clustered DataAmerican Journal of Public Health, 2008
- Models for Longitudinal Data: A Generalized Estimating Equation ApproachBiometrics, 1988
- Longitudinal data analysis using generalized linear modelsBiometrika, 1986