Related Experiment Video
Updated: Sep 19, 2025

Development of an Individual-Tree Basal Area Increment Model using a Linear Mixed-Effects Approach
Published on: July 3, 2020
Estimating and presenting non-linear associations with restricted cubic splines
Andrea Discacciati1, Michael G Palazzolo2, Jeong-Gun Park2
1Department of Medical Epidemiology and Biostatistics, Karolinska Institutet, Stockholm, Sweden.
Abstract:
Most of the regression models commonly used in epidemiology-including logistic regression and methods for time-to-event outcomes such as Cox regression-define the relationship between a set of covariates and the outcome of interest using linear functions, thus making implicit assumptions of linearity for continuous covariates. Categorizing continuous covariates, which represents a common option to address non-linearities, introduces additional assumptions and has recognized limitations in terms of results interpretation. Restricted cubic splines (RCS) offer a flexible alternative tool that can improve the model fit in the presence of non-linear associations, overcoming many of the limitations of categorical approaches and providing information on the shape of the exposure-outcome relationship. Including RCS transformations in regression models, however, is not straightforward analytically and presents challenges in terms of interpretation and graphical presentation of the exposure-outcome association. In this paper, we provide an introduction to the application of RCS in regression modeling for assessing non-linear exposure-outcome associations in epidemiological studies. We present RCS as a flexible extension of categorization and describe the two key steps of integrating RCS in regression: model fitting and graphical presentation. We detail key considerations that can guide the choice of RCS transformations, the interpretation of regression output, and the translation of regression results into graphical displays of the exposure-outcome association. To accompany this presentation, we also provide a set of functions and examples in R, Stata, and SAS, thereby providing a comprehensive set of tools for flexibly and robustly incorporating continuous covariates into regression modeling.
More Related Videos
10:46A Method of Trigonometric Modelling of Seasonal Variation Demonstrated with Multiple Sclerosis Relapse Data
Published on: December 9, 2015
11:26Assessing Cerebral Autoregulation via Oscillatory Lower Body Negative Pressure and Projection Pursuit Regression
Published on: December 10, 2014
Related Concept Videos
Residuals and Least-Squares Property
If the observed data point lies above the line, the residual is positive, and the line underestimates the actual data value for y. If the observed data point lies below the line, the residual is negative, and the line overestimates the actual data value for y.
The process of fitting the best-fit...
Calibration Curves: Linear Least Squares
For data that follow a straight line, the standard method for fitting is the linear...
Calculating and Interpreting the Linear Correlation Coefficient
Survival Tree
Building a Survival Tree
Constructing a...
Correlation and Regression
Parametric Survival Analysis: Weibull and Exponential Methods
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...