Related Experiment Video
Updated: Jun 16, 2026

Inverse Probability of Treatment Weighting (Propensity Score) using the Military Health System Data Repository and National Death Index
Published on: January 8, 2020
Dose-response analyses using restricted cubic spline functions in public health research
Loic Desquilbet1, François Mariotti
1AgroParisTech, UMR 1290 BIOGER-CPP, F-75005 Paris, France. ldesquilbet@vet-alfort.fr
Restricted cubic splines (RCS) offer a superior alternative to categorizing continuous exposures in regression models. This study introduces an SAS macro to implement RCS, improving dose-response association analysis and reducing confounding.
Area of Science:
- Epidemiology
- Biostatistics
- Statistical Software
Background:
- Categorizing continuous exposures in regression models can obscure non-linear dose-response relationships.
- Restricted cubic splines (RCS) are effective for characterizing, visualizing, and testing non-linear associations.
- Existing SAS software has limited implementation for RCS functions.
Purpose of the Study:
- To develop and present an SAS macro for implementing restricted cubic splines (RCS) in regression analysis.
- To facilitate the characterization and visualization of dose-response associations between continuous exposures and outcomes.
- To provide statistical tests for assessing overall and non-linear associations within various regression models.
Main Methods:
- Developed an SAS macro to create RCS functions for continuous exposures.
- Integrated the macro with linear, logistic, and Cox models, including generalized estimating equations.
- Generated graphs with 95% confidence intervals and statistical tests for dose-response relationships.
Main Results:
- The SAS macro successfully creates RCS functions and visualizes dose-response associations.
- The macro provides statistical tests for overall and non-linear effects.
- Demonstrated utility with real-world data on calcium, folate, and cholesterol in relation to health outcomes.
Conclusions:
- The developed SAS macro effectively implements restricted cubic splines for analyzing continuous exposure-outcome relationships.
- This tool enhances the ability to detect and quantify non-linear associations, improving epidemiological and clinical research.
- The macro offers a valuable solution for researchers using SAS to address limitations in handling continuous exposures.
Related Concept Videos
Dose-Response Relationship: Overview
Dose Response Curve: Conventional Versus Nonmonotonic
Analysis of Population Pharmacokinetic Data
Dose-Response Relationship: Potency and Efficacy
Dose-Response Relationship: Selectivity and Specificity
Pharmacokinetic–Pharmacodynamic Relationship: Dose to Pharmacological Effect
