Litcius/Paper detail

Modeling non-linear relationships in epidemiological data: The application and interpretation of spline models

Noah A. Schuster, Judith J. M. Rijnhart, Jos W. R. Twisk, Martijn W. Heymans

2022Frontiers in Epidemiology103 citationsDOIOpen Access PDF

Abstract

Objective Traditional methods to deal with non-linearity in regression analysis often result in loss of information or compromised interpretability of the results. A recommended but underutilized method for modeling non-linear associations in regression models is spline functions. We explain spline functions in a non-mathematical way and illustrate the application and interpretation to an empirical data example. Methods Using data from the Amsterdam Growth and Health Longitudinal Study, we examined the non-linear relationship between the sum of four skinfolds and VO 2 max, which are measures of body fat and cardiorespiratory fitness, respectively. We compared traditional methods (i.e., quadratic regression and categorization) to spline methods [1- and 3-knot linear spline (LSP) models and a 3-knot restricted cubic spline (RCS) model] in terms of the interpretability of the results and their explained variance ( <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M1"><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>a</mml:mi><mml:mi>d</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math> ). Results The spline models fitted the data better than the traditional methods. Increasing the number of knots in the LSP model increased the explained variance (from <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M2"><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>a</mml:mi><mml:mi>d</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>578</mml:mn></mml:math> for the 1-knot model to <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M3"><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>a</mml:mi><mml:mi>d</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>582</mml:mn></mml:math> for the 3-knot model). The RCS model fitted the data best ( <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="M4"><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>a</mml:mi><mml:mi>d</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>591</mml:mn></mml:math> ), but results in regression coefficients that are harder to interpret. Conclusion Spline functions should be considered more often as they are flexible and can be applied in commonly used regression analysis. RCS regression is generally recommended for prediction research (i.e., to obtain the predicted outcome for a specific exposure value), whereas LSP regression is recommended if one is interested in the effects in a population.

Topics & Concepts

Spline (mechanical)InterpretabilityAlgorithmArtificial intelligenceComputer scienceLinear regressionSmoothing splineMathematicsMachine learningStatisticsSpline interpolationPhysicsThermodynamicsBilinear interpolationStatistical Methods in EpidemiologyStatistical Methods and InferenceAdvanced Statistical Methods and Models
Modeling non-linear relationships in epidemiological data: The application and interpretation of spline models | Litcius