Related Experiment Video
Updated: Oct 25, 2025

Inverse Probability of Treatment Weighting Propensity Score using the Military Health System Data Repository and National Death Index
Published on: January 8, 2020
Using SAS Macros for Multiple Mediation Analysis in R
Paige Fisher1, Wentao Cao1, Qingzhao Yu1
1Louisiana State University Health Sciences Center, New Orleans, US.
This study introduces SAS macros for advanced mediation analysis, enabling complex variable relationships beyond generalized linear models (GLM). The new method integrates regression trees and splines for robust statistical inference.
Area of Science:
- Biostatistics
- Statistical Modeling
- Computational Statistics
Background:
- Mediation analysis assesses third-variable effects on exposure-response relationships.
- Generalized linear models (GLM) are standard but limited for nonlinearities and interactions.
Purpose of the Study:
- To develop SAS macros for implementing advanced mediation analysis.
- To extend the capabilities of the R package 'mma' to the SAS environment.
Main Methods:
- Developed SAS macros to interface with the 'mma' R package.
- Utilized generalized linear models, multiple additive regression trees, and smoothing splines.
- Applied the method to perform mediation analysis within SAS.
Main Results:
- Successfully created SAS macros for mediation analysis.
- Enabled the use of advanced statistical techniques (regression trees, splines) in SAS.
- Facilitated the analysis of complex exposure-response relationships.
Conclusions:
- The developed SAS macros provide a powerful tool for mediation analysis.
- This integration enhances statistical capabilities for researchers using SAS.
- The method accommodates nonlinear relationships and interactions effectively.
More Related Videos
Related Concept Videos
Statistical Analysis System (SAS)
Applications: SAS finds applications in numerous fields, including healthcare for clinical trial analysis, finance for risk assessment, marketing for customer data analysis, and...
One-Way ANOVA: Unequal Sample Sizes
Statistical Methods to Analyze Parametric Data: ANOVA
One-way ANOVA is applied when a single independent variable or factor is scrutinized. It compares...
One-Way ANOVA: Equal Sample Sizes
Different sample means can result in different values for the variance estimate: variance between samples. This is because the variance between samples is calculated as the product of the sample size and the variance between the...
One-Way ANOVA
Two-Way ANOVA
The two-way ANOVA analysis initially begins by stating the null hypothesis that there is an interaction effect between the two factors of a dataset. This effect can be visualized using line segments formed by joining the...

