sdata {causal.decomp} | R Documentation |
A randomly generated dataset containing 1000 rows and 9 columns with no missing values.
sdata
A data frame containing the following variables. The data are provided only for explanatory purposes. The mediators are assumed to be independent of each other.
A quantitative covariate.
A binary covariates with a value of 0 or 1.
A group indicator with four levels.
A quantitative intermediate confounder between a mediator and the outcome.
A quantitative mediator.
A binary mediator with a value of 0 or 1.
A categorical mediator with three levels.
A quantitative outcome.
A binary outcome with a value of 0 or 1.
Note that all the variables are randomly generated using the dataset used in Park et al. (2021+).
Park, S., Kang, S., and Lee, C. (2021+). "Choosing an Optimal Method for Causal Decomposition Analysis: A Better Practice for Identifying Contributing Factors to Health Disparities".