Related Experiment Video
Updated: Aug 16, 2025

Inverse Probability of Treatment Weighting Propensity Score using the Military Health System Data Repository and National Death Index
Published on: January 8, 2020
Stan and BART for Causal Inference: Estimating Heterogeneous Treatment Effects Using the Power of Stan and the
Vincent Dorie1, George Perrett2, Jennifer L Hill2
1Code for America, San Francisco, CA 94103, USA.
This study introduces stan4bart, a new algorithm for estimating treatment effects in grouped data. It outperforms other methods by effectively modeling complex data structures and nonlinear relationships.
Area of Science:
- Statistics
- Machine Learning
- Causal Inference
Background:
- Machine learning models excel at nonlinear response surfaces, improving treatment effect estimation.
- Standard methods struggle with grouped data, failing to model observation dependence.
- Identifying heterogeneous treatment effects remains challenging with complex data structures.
Purpose of the Study:
- Introduce stan4bart, a novel algorithm combining Bayesian Additive Regression Trees (BART) and Stan.
- Address limitations of existing machine learning and multilevel models for grouped data.
- Improve estimation of average, subgroup, and individual-level treatment effects.
Main Methods:
- Developed stan4bart, integrating BART's flexibility with Stan's computational efficiency.
- Applied the algorithm to estimate treatment effects in multilevel data structures.
- Compared stan4bart performance against flexible and multilevel approaches.
Main Results:
- stan4bart demonstrated stronger performance than existing flexible methods ignoring multilevel structure.
- The algorithm outperformed multilevel approaches with strict parametric forms.
- Accurate estimation of average, subgroup, and individual treatment effects was achieved.
Conclusions:
- stan4bart effectively models nonlinearities and dependence in grouped data.
- The proposed method offers improved accuracy for causal inference in complex settings.
- stan4bart provides a flexible and efficient tool for estimating diverse treatment effects.
More Related Videos
04:09Predicting Treatment Response to Image-Guided Therapies Using Machine Learning: An Example for Trans-Arterial Treatment of Hepatocellular Carcinoma
Published on: October 10, 2018
04:35Development of an Individual-Tree Basal Area Increment Model using a Linear Mixed-Effects Approach
Published on: July 3, 2020
Related Concept Videos
Mechanistic Models: Compartment Models in Individual and Population Analysis
Regression Toward the Mean
Statistical Inference Techniques in Hypothesis Testing: Parametric Versus Nonparametric Data
Parametric statistics, as the name suggests, assumes that data follow a specific distribution, often a normal distribution. This assumption enables robust hypothesis testing and estimation. Parametric methods, like the Student's t-test or Goodness-of-fit test, are frequently employed in biostatistics due to their robustness. For instance,...
Statistical Methods to Analyze Parametric Data: Student t-Test and Goodness-of-Fit Test
The Student's t-test is a statistical test that examines if there is a statistically significant difference between the means of two groups. This test is instrumental when dealing with...
Randomized Experiments
Simple randomization
Simple...
Comparing the Survival Analysis of Two or More Groups