ate_diffmeans | R Documentation |
Simple Difference in Means estimator for binary treatment (for HW etc)
ate_diffmeans(df, outcome, treatment)
df |
A dataframe |
outcome |
The outcome variable (in df) |
treatment |
The treatment indicator (in df) |
## Not run:
ate_diffmeans(mtcars, outcome = mpg, treatment = vs)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.