Pitfalls of linear regression for estimating slopes over time and how to avoid them by using linear mixed-effects models
Open accessThe DOI matches its Crossref record; 25 of the 25 references it cites were found in a registry or an index.
Abstract
Clinical epidemiological studies often focus on investigating the underlying causes of disease. For instance, a nephrologist may be interested in the association between blood pressure and the development of chronic kidney disease (CKD). However, instead of focusing on the mere occurrence of CKD, the decline of kidney function over time might be the outcome of interest. For examining this kidney function trajectory, patients are typically followed over time with their kidney function estimated at several time points. During follow-up, some patients may drop out earlier than others and for different reasons. Furthermore, some patients may have greater kidney function at study entry or faster kidney function decline than others. Also, a substantial heterogeneity may exist in the number of kidney function estimates available for each patient. This heterogeneity with respect to kidney function, dropout and number of kidney function estimates is important to take into account when estimating kidney function trajectories. In general, two methods are used in the literature to estimate kidney function trajectories over time: linear regression to estimate individual slopes and the linear mixed-effects model (LMM), i.e. repeated measures analysis. Importantly, the linear regression method does not properly take into account the above-mentioned heterogeneity, whereas the LMM is able to retain all information and variability in the data. However, the underlying concepts, use and interpretation of LMMs are not always straightforward. Therefore we illustrate this using a clinical example and offer a framework of how to model and interpret the LMM.
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
“For modelling this longitudinal data, linear mixed-effects models are methodologically superior, as they best account for between and inter-patient heterogeneity [16].”
From Genetic drivers of progression in Alzheimer’s disease are distinct from disease risk (2026) · cites this paper as [16]
Experimental — accuracy not yet measured
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
(2001) · Statistics for Psychologists · doi:10.4324/9781410605542-11 · Cited by 6,877
Missing data analysis: making it work in the real world
Graham, J. W. (2009) · Annual Review of Psychology · doi:10.1146/annurev.psych.58.110405.085530 · Cited by 6,163
Fitzmaurice, G. M., Laird, N. M., & Ware, J. H. (2011) · Wiley Series in Probability and Statistics · doi:10.1002/9781119513469 · Cited by 4,639
Diggle, P. J., Heagerty, P. J., Liang, K.-Y., & Zeger, S. L. (2002) · doi:10.1093/oso/9780198524847.001.0001 · Cited by 3,384
(2004) · Choice Reviews Online · doi:10.5860/choice.42-2265 · Cited by 1,384
Levey, A. S., & Stevens, L. A. (2010) · American Journal of Kidney Diseases · doi:10.1053/j.ajkd.2010.02.337 · Cited by 1,005
(2008) · Chapman & Hall/CRC eBooks · doi:10.1201/9781420011579 · Cited by 460
Multiple imputation: dealing with missing data
de Goeij, M. C. M., van Diepen, M., Jager, K. J., Tripepi, G., Zoccali, C., & Dekker, F. W. (2013) · Nephrology Dialysis Transplantation · doi:10.1093/ndt/gft221 · Cited by 176
Self-citationTime-Updated Systolic Blood Pressure and the Progression of Chronic Kidney Disease: A Cohort Study
Anderson, A. H., Yang, W., Townsend, R. R., Pan, Q., Chertow, G. M., Kusek, J. W., Charleston, J., He, J., Kallem, R., Lash, J. P., et al. (2015) · Annals of Internal Medicine · doi:10.7326/m14-0488 · Cited by 174
Peralta, C. A., Norris, K. C., Li, S., Chang, T. I., Tamura, M. K., Jolly, S. E., Bakris, G., McCullough, P. A., Shlipak, M., & KEEP Investigators, F. T. (2012) · Archives of Internal Medicine · doi:10.1001/archinternmed.2011.619 · Cited by 132
Cited by
Jouvé, T., Fonrose, X., Noble, J., Janbon, B., Fiard, G., Malvezzi, P., Stanke‐Labesque, F., & Rostaing, L. P. E. (2019) · Transplantation · doi:10.1097/tp.0000000000002920 · Cited by 81
“Finally, we also evaluated the evolution of the C/D ratio with time, using a linear mixed-effect model, while considering the individual variability.(14) In this linear mixed model, we used time posttransplantation as the predictor for the C/D ratio and a time random-effect by patient.”
MethodCarrero, J. J., Fu, E. L., Vestergaard, S. V., Jensen, S. K., Gasparini, A., Mahalingasivam, V., Bell, S., Birn, H., Heide‐Jørgensen, U., Clase, C. M., et al. (2022) · Kidney International · doi:10.1016/j.kint.2022.09.020 · Cited by 74
Self-citationNon-linear relationships in clinical research
Chesnaye, N. C., van Diepen, M., Dekker, F. W., Zoccali, C., Jager, K. J., & Stel, V. S. (2024) · Nephrology Dialysis Transplantation · doi:10.1093/ndt/gfae187 · Cited by 61
“While beyond the focus of this paper, when analyzing repeated measurements in patients over time, appropriate methods like linear mixed models are required [36 ].”
Self-citationToyama, T., Kitagawa, K., Oshima, M., Kitajima, S., Hara, A., Iwata, Y., Sakai, N., Shimizu, M., Hashiba, A., Furuichi, K., et al. (2020) · BMC Nephrology · doi:10.1186/s12882-020-02121-z · Cited by 57
Faucon, A., Flamant, M., Metzger, M., Boffa, J., Haymann, J., Houillier, P., Thervet, É., Vrtovsnik, F., Stengel, B., Géri, G., et al. (2019) · Kidney International · doi:10.1016/j.kint.2019.06.017 · Cited by 53
van der Willik, E. M., Lengton, R., Hemmelder, M. H., Hoogeveen, E. K., Bart, H. A. J., van Ittersum, F. J., ten Dam, M. A. G. J., Bos, W. J. W., Dekker, F. W., & Meuleman, Y. (2022) · Nephrology Dialysis Transplantation · doi:10.1093/ndt/gfac022 · Cited by 48
“By using this statistical method, all measurements from all individuals could be included, as the model takes account of a varying number of follow-up measurements across individuals and even single measurements can be included in the estimation of the trajectory over time at the population level [17].”
Self-citationZhu, N., Virtanen, S., Xu, H., Carrero, J. J., & Chang, Z. (2023) · Clinical Kidney Journal · doi:10.1093/ckj/sfad127 · Cited by 45
“We estimated the eGFR trajectory with all available outpatient eGFR values from the index date to the end of follow-up, using a linear mixed model [34].”
MethodJanmaat, C. J., van Diepen, M., Meuleman, Y., Chesnaye, N. C., Drechsler, C., Torino, C., Wanner, C., Postorino, M., Szymczak, M., Evans, M., et al. (2019) · Nephrology Dialysis Transplantation · doi:10.1093/ndt/gfz277 · Cited by 34
“Secondly, to investigate the association between the level of eGFR at baseline and the development in symptom number and severity over time, we used linear mixed-effects models where patients were included as random intercepts and reported coefficient for the interaction between a continuous time and the level of eGFR…”
MethodSelf-citationOzdemir, S., Ng, S., Chaudhry, I., Teo, I., Malhotra, C., Finkelstein, E. A., & COMPASS Study Group (2023) · Medical Decision Making · doi:10.1177/0272989x221125408 · Cited by 27
Phosphate clearance in peritoneal dialysis
Dębowska, M., Gómez, R. A., Pinto, J., Waniewski, J., & Lindholm, B. (2020) · Scientific Reports · doi:10.1038/s41598-020-74412-2 · Cited by 22
Maarse, B. C. E., Chesnaye, N. C., Schouten, R. W., Michels, W. M., Bos, W. J. W., Szymczak, M., Krajewska, M., Evans, M., Heimbürger, O., Caskey, F. J., et al. (2021) · Clinical Kidney Journal · doi:10.1093/ckj/sfab261 · Cited by 22
“The LMM adequately takes into account a variable number of follow-up measurements and includes all measurements of patients who have been included in this study [30].”
Self-citationMori, K., Tanaka, M., Hosaka, I., Mikami, T., Endo, K., Hanawa, N., Ohnishi, H., & Furuhashi, M. (2023) · Hypertension Research · doi:10.1038/s41440-023-01179-0 · Cited by 21
Vascular Calcification as a Novel Risk Factor for Kidney Function Deterioration in the Nonelderly
Park, S., Cho, N., Heo, N. H., Rhee, E., Gil, H., & Lee, E. Y. (2021) · Journal of the American Heart Association · doi:10.1161/jaha.120.019300 · Cited by 21
Montgomery, R. M., Boucher, E. M., Honomichl, R. D., Powell, T. A., Guyton, S. L., Bernecker, S. L., Stoeckl, S. E., & Parks, A. C. (2021) · JMIR Cardio · doi:10.2196/32351 · Cited by 19
“As is typical with real-world data [103,104], our data were highly variable regarding the frequency and timing of assessments, and thus, LME was used to account for these factors.”
MethodRole of Estimated Glomerular Filtration Rate in Clinical Research: The Never-Ending Matter
Abenavoli, C., Provenzano, M., Ksiazek, S. H., Hu, L., Cuna, V., Manna, G. L., Comai, G., & Baraldi, O. (2024) · Reviews in Cardiovascular Medicine · doi:10.31083/j.rcm2501001 · Cited by 17
“1) [32].”
Ramezankhani, A., Azizi, F., & Hadaegh, F. (2023) · Cardiovascular Diabetology · doi:10.1186/s12933-023-02008-x · Cited by 17
“Fixed effects represent the average change over time, and random effects capture the individual variations around the fixed effects [27, 28].”
BackgroundMethodInfluentialMarti‐Marca, A., Vilà‐Balló, A., Xim Cerdá-Company, Ikumi, N., Torres‐Ferrús, M., Caronna, E., Gallardo, V. J., Alpuente, A., Torralba, M., Soto‐Faraco, S., et al. (2023) · The Journal of Headache and Pain · doi:10.1186/s10194-023-01618-w · Cited by 16
“Furthermore, LMMs offer a superior approach to handling differences in the number of individual values (missing data), dropout in longitudinal studies, and are more robust when dealing with a smaller number of observations and/or unbalanced data [149, 150].”
BackgroundMori, K., Furuhashi, M., Tanaka, M., Higashiura, Y., Koyama, M., Hanawa, N., & Ohnishi, H. (2021) · Hypertension Research · doi:10.1038/s41440-021-00792-1 · Cited by 14
“Linear mixed-effects model analyses were performed to investigate a longitudinal association of serum uric acid level with systolic blood pressure, diastolic blood pressure, or pulse pressure with a random intercept and a random slope of time for each subject [49, 50].”
MethodHattori, A., Imaizumi, T., Toda, T., Sakurai, D., Takai, N., Miki, T., Maekawa, M., Kato, S., Hagiwara, Y., Yoshida, Y., et al. (2024) · Clinical and Experimental Nephrology · doi:10.1007/s10157-024-02605-4 · Cited by 13
“For the case–control comparison of differences in the annual changes in the eGFR slope before and after the index year, we used a linear mixed-effects model with individuals as a random effect [25].”
Zhu, N., Faucon, A., Kuja‐Halkola, R., Landén, M., Xu, H., Carrero, J. J., Evans, M., & Chang, Z. (2025) · American Journal of Kidney Diseases · doi:10.1053/j.ajkd.2024.12.004 · Cited by 12
Kurasawa, S., Yasuda, Y., Kato, S., Maruyama, S., Okada, H., Kashihara, N., Narita, I., Wada, T., Yamagata, K., Hirayama, T., et al. (2023) · Hypertension Research · doi:10.1038/s41440-023-01358-z · Cited by 11
“All covariates and the interaction terms between each covariate and time were included in the linear mixed-effects model [23].”
MethodEpidemiology of Pain Among Patients with Solid Metastatic Cancer During the Last Year of Life
Chaudhry, I., Shafiq, M., Teo, I., Özdemir, S., & Malhotra, C. (2022) · Journal of Pain Research · doi:10.2147/jpr.s375874 · Cited by 10
Grove, B. E., Schougaard, L. M. V., Mose, F. H., Randers, E., Hjøllund, N. H., Ivarsen, P., & de Thurah, A. L. (2024) · Clinical Kidney Journal · doi:10.1093/ckj/sfae176 · Cited by 9
“A random coefficient mixed model was used [29 ].”
MethodBehning, C., Schultheiß, U. T., Nadal, J., Meiselbach, H., Schönherr, S., Forer, L., Schäeffner, E., Krane, V., Schneider, M. P., Schmid, M., et al. (2025) · Kidney International Reports · doi:10.1016/j.ekir.2025.11.021 · Cited by 6
Liu, F., Xu, A., Zhao, H., Yang, Z., Chen, C., Ranieri, B., Bao, J., Zheng, G., Wang, M., Wang, Y., et al. (2020) · Therapeutics and Clinical Risk Management · doi:10.2147/tcrm.s243913 · Cited by 6
Wang, X., Qiu, K., Zhang, Y., Yang, S., Xu, Y., Mu, X., Luo, Y., Pang, W., Han, J., Hu, C., et al. (2025) · BMC Medicine · doi:10.1186/s12916-025-04506-z · Cited by 5
Features of Phosphoric-Calcium Exchange in Patients Treated with Program Hemodialysis
Kamalidinovna, B. B. (2022) · Research Journal of Trauma and Disability Studies · Cited by 4
Genetic drivers of progression in Alzheimer’s disease are distinct from disease risk
Cohen, C. E., Fernandez, S., Yaman, U., Ehyaei, A. R., Kodosaki, E., Askarova, A., Porter, T., O’Brien, E., Study, A. I. B. A. L., Initiative, A. D. N., et al. (2026) · Alzheimer's Research & Therapy · doi:10.1186/s13195-026-02036-1 · Cited by 3
“For modelling this longitudinal data, linear mixed-effects models are methodologically superior, as they best account for between and inter-patient heterogeneity [16].”
Kassem, N., Boutros, P., Kwaro, D., Muma, J. O., Obor, D., Munga, S., Maggioni, M. A., Bärnighausen, T., Winkler, V. F., & Barteit, S. (2025) · BMJ Open · doi:10.1136/bmjopen-2024-092307 · Cited by 3
Takeuchi, M., Shinkawa, K., Yanagita, M., & Kawakami, K. (2023) · Clinical and Experimental Nephrology · doi:10.1007/s10157-023-02341-1 · Cited by 3
“The crude annual eGFR slope was estimated by a linear mixed-effects model [22].”
MethodYoshida, N., Hanai, K., Murata, H., Uchigata, Y., & Babazono, T. (2020) · Diabetes Research and Clinical Practice · doi:10.1016/j.diabres.2020.108519 · Cited by 2
Liu, Y., Wen, X., Gao, M., Zhang, J., & Wei, W. (2022) · Nutrition Metabolism and Cardiovascular Diseases · doi:10.1016/j.numecd.2022.05.015 · Cited by 1
Popescu, M. N., Căpeţ, C., Săvulescu, S., Beiu, C., & Berteanu, M. (2026) · Diagnostics · doi:10.3390/diagnostics16132106 · Cited by 1
“For repeated continuous outcomes, mixed-effects models used all available data under a missing-at-random assumption [35,36].”
Paniagua, R., Ávila, M., Nava-Hernández, J., Romero-Salas, R., Hernández-Rivera, J. C. H., Mejía-Rodríguez, O., Picolli, G. B., & Mexican Nephrology Collaborative Study Group (2026) · Nutrients · doi:10.3390/nu18162630 · Cited by 1
“To estimate the decline in GFR over the follow-up period, linear mixed-effects models [22,23] were used, with group and time as fixed effects and age and sex as random effects.”
Lee, J. J., Malhotra, C., Sim, K. L. D., Yeo, K. K., Finkelstein, E. A., & Özdemir, S. (2024) · Medical Decision Making · doi:10.1177/0272989x241297694 · Cited by 1
“41,42 In the multinomial logistic regression, the dependent variable was a categorical outcome with 3 levels: being aware of disease incurability, being uncertain about disease incur-ability, and being unaware of disease incurability (reference category).”
Liu, F., Xu, A., Zhao, H., Yang, Z., Chen, C., Ranieri, B., Bao, J., Zheng, G., Wang, M., Wang, Y., et al. (2019) · doi:10.21203/rs.2.17766/v1
Liu, F., Xu, A., Zhao, H., Yang, Z., Chen, C., Ranieri, B., Bao, J., Zheng, G., Wang, M., Wang, Y., et al. (2019) · doi:10.21203/rs.2.12361/v1
Osei‐Yeboah, R., Ngwenya, O., & Tiffin, N. (2024) · PLOS Global Public Health · doi:10.1371/journal.pgph.0002526
Longitudinal associations of life space mobility and domain-specific cognitive measures in ACTIVE
Smail, E. J., Rebok, G. W., Gross, A. L., Clay, O. J., Ball, K., Crowe, M., Kaufmann, C. N., Manini, T. M., & Parisi, J. M. (2024) · Aging Neuropsychology and Cognition · doi:10.1080/13825585.2024.2413720
“To account for multiple visits and track the trajectory of change in cognitive test scores over time, we used linear mixed-effects models (Gałecki & Burzykowski, 2013; Janmaat et al., 2019).”
Jang, J., Kim, H., Jung, G., Yi, K. H., Cho, S. W., & Park, Y. J. (2025) · International Journal of Thyroidology · doi:10.11106/ijt.2025.18.1.80
Ramezankhani, A., Azizi, F., & Hadaegh, F. (2023) · Figshare · doi:10.6084/m9.figshare.24248062
Toyama, T., Kitagawa, K., Oshima, M., Kitajima, S., Hara, A., Iwata, Y., Sakai, N., Shimizu, M., Hashiba, A., Furuichi, K., et al. (2020) · Figshare · doi:10.6084/m9.figshare.13237773
Osei-Yeboah, R. (2023) · Open University of Cape Town (University of Cape Town)
Machine learning for real-time prediction of intradialytic hypotension
Josemans, S. H. (2023) · Research Repository (Delft University of Technology)
Volume extracellulaire : évolution et valeur pronostique au cours de la maladie rénale chronique
Faucon, A. (2020) · theses.fr (ABES) · doi:10.70675/e3fa10b5zefb2z456fzb3c3z25eec1870bad
Metadata
- Authors
- Janmaat, C. J., van Diepen, M., Tsonaka, R., Jager, K. J., Zoccali, C., & Dekker, F. W.
- Affiliations
- Leiden University Medical Center (NL)
- Amsterdam UMC Location University of Amsterdam (NL)
- Istituto di Fisiologia Clinica (IT)
- Corresponding author
- Janmaat, Cynthia J
- Venue
- Nephrology Dialysis Transplantation
- Publisher
- Oxford University Press (OUP)
- Published
- 2018-05-22
- Volume
- 34
- Issue
- 4
- Pages
- 561-566
- ISSN
- 0931-0509 (ISSN-L)
- 1460-2385
- OpenAlex
- W2804873493
- Semantic Scholar
- bd0447f67af8cbaf80aaed5681720219d32ef89f
- Cited by
- 41
- References
- 25
- Citations by year
- 2026: 2 · 2025: 5 · 2024: 7 · 2023: 7 · 2022: 5 · 2021: 4 · 2020: 6 · 2019: 5
- FWCI
- 3.11
- Type
- journal article
- Language
- en
- Open access
- bronze
- doi.org
- Locations
- Nephrology Dialysis Transplantation (publishedVersion)
- PubMed (publishedVersion)
- Pure Amsterdam UMC (publishedVersion, other-oa)
- Data Archiving and Networked Services (DANS) (submittedVersion)
- Leiden Repository (Leiden University) (submittedVersion)
- Topics
- Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods and Bayesian Inference
- Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods in Clinical Trials
- Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods in Epidemiology
- Keywords
- linear mixed models, renal function decline, chronic kidney disease, longitudinal trajectories, dropout, repeated measures, slope estimation, blood pressure, model interpretation
- MeSH terms
- Glomerular Filtration Rate, Humans, Regression Analysis, Time Factors, Models, Statistical, Linear Models, Renal Insufficiency, Chronic
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.