Last chance! 50% off unlimited learning
Sale ends in
A simulate dataset for demonstrating the functions in the twangMediation package.
tMdat
A sample of simulated data for demonstration
A data frame with 500 rows and 7 variables:
Simulated continuous covariate
Simulated continuous covariate
Simulated continuous covariate
Simulated dichotomous exposure indicator
Simulated continuous outcome
Simulated mediator that has 11 unique values
Estimated inverse probability weight, estimated using GBM via the twang ps function
wgtmed