powered by
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 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
if (FALSE) { data(tMdat) }
Run the code above in your browser using DataLab