svycdiff

R
Complex Surveys
Controlled Outcome Differences
Propensity Scores
Causal Inference
Estimating Controlled Outcome Differences in Complex Surveys
Published

Jul 2025

Overview

Propensity score methods are broadly employed with observational data as a tool to achieve covariate balance, but how to implement them in complex surveys is less studied – in particular, when the survey weights depend on the group variable under comparison.

In this package, we focus on the specific case when sample selection depends the comparison groups of interest. We implement identification formulas to properly estimate the average controlled difference (ACD), or under stronger assumptions, the population average treatment effect (ATE) in outcomes between groups, with appropriate weighting for both covariate imbalance and generalizability.

This packages also contains the code necessary to reproduce the motivating data analysis in “What’s the weight? Estimating controlled outcome differences in complex surveys for health disparities research.” This analysis focuses on data from the National Health and Nutrition Examination Survey (NHANES), investigating the interplay of race and social determinants of health when our interest lies in estimating racial differences in mean telomere length.

Back to top