Description Usage Arguments Value References
View source: R/generate_simulated_data.R
Generates simulated data to illustrate the gapclosing function
1 | generate_simulated_data(n = 1000)
|
n |
Number of observations to be generated |
A data frame with n
rows and 4 columns containing simulated data containing category
over which disparities are defined, a confounder
that affects treatment assignment, a binary treatment
, and a continuous outcome
.
Lundberg I (2021). "The gap-closing estimand: A causal approach to study interventions that close disparities across social categories." Sociological Methods and Research. Available at https://osf.io/gx4y3/.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.