Skip to contents

Simple Difference in Means estimator for binary treatment (for HW etc)

Usage

ate_diffmeans(df, outcome, treatment)

Arguments

df

A dataframe

outcome

The outcome variable (in df)

treatment

The treatment indicator (in df)

Examples

if (FALSE) {
ate_diffmeans(mtcars, outcome = mpg, treatment = vs)
}