Review no. 2: a beginner’s guide for calculating eGFR slope using linear mixed-effects model in R—step-by-step methods and code examples
Abstract
Estimated glomerular filtration rate (eGFR) slope, which quantifies the annual change in kidney function using longitudinal measurements of eGFR, has emerged as a critical surrogate endpoint for chronic kidney disease progression in clinical trials. Accordingly, there is an increasing number of observational studies calculating the eGFR slope as an outcome or exposure of interest. To calculate the eGFR slope, linear mixed-effects models are considered statistically more efficient and therefore recommended over linear regression models constructed for each individual. Linear mixed-effects models can account for both fixed effects at the population level and random effects, which allow for subject-specific intercepts and slopes-e.g. individual-specific variation from the population mean. We introduce the practical implications of linear mixed-effects models using R programming: calculating an individual's eGFR slope and comparing mean eGFR slopes between groups. This article is based on the hands-on seminar at the annual meeting of the 68th Japanese Society of Nephrology in 2025.
Fields of Study & Subjects
Chronic Kidney Disease and Diabetes
Statistical Methods in Clinical Trials
Advanced Causal Inference Techniques
Publication details
- Journal / source
- Clinical and Experimental Nephrology
- Publisher
- Springer Science and Business Media LLC
- Volume
- 30
- Issue
- 4
- Pages
- 545–558
- Publication date
- 26 February 2026
- Language
- EN