Non-linear regression modelling for medical professionals; making curved paths straightforward
Samuel J Tingle, Georgios Kourounis, Sarah Elliot, Ewen M. Harrison
Newcastle University · Institute for Medical Informatics and Biostatistics
Key points
From the paper's conclusion- Overall, this article equips medical researchers with an intuitive understanding of non-linear modelling, which can then be applied with the easy-to-use tools provided.
Abstract
Regression models provide information on complex relationships between patient factors, investigations, diagnoses, treatments, and outcomes. These inferences underpin evidence-based medicine. However, by default regression models assume straight-line relationships, and the common approach of splitting continuous variables into groups has several disadvantages. We discuss pitfalls with these common approaches, and provide an interactive regression model playground, which acts as a point-and-click showcase of these concepts. More flexible regression modelling techniques are available, which allow non-linear relationships between predictors and outcome to be captured. However, they have been shown to be underused in medical research. We feel a major contributor to this is that more flexible non-linear models are typically explained for a statistical audience, creating a barrier for medical professionals. In this article, we introduce non-linear regression for medical researchers. Specifically, we focus on restricted cubic splines (RCS), which allow curved relationships to be fit, within the context of regression models. This has the benefit that the overall structure of the regression model and its outputs, which are familiar to medical researchers, stays the same, with the simple addition of non-linear modelling of specific variables. We implement RCS in a case study, with accompanying example R scripts (available on GitHub). We also launch an R package ("rmsMD") which aims to make this technique approachable to medical researchers, as well as creating publication-ready tables and plots. Overall, this article equips medical researchers with an intuitive understanding of non-linear modelling, which can then be applied with the easy-to-use tools provided.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- When to and when not to use machine learning in risk prediction modelsThe Lancet Digital Health · 2026
- Clustered flexible calibration plots for binary outcomes using random effects modelingResearch Synthesis Methods · 2025
- Introduction to using symbolic regression for interpretable machine learning in healthcare.Communications medicine · 2026
- Relevance-Based Prediction: A Transparent, Patient-Specific Approach to Predicting Medical OutcomesmedRxiv · 2026
- NMA: Network meta-analysis based on multivariate meta-analysis and meta-regression models in RResearch Synthesis Methods · 2026
- confoundvis for Visualizing and Reporting Sensitivity to Unmeasured Confounding in RarXiv · 2026