Learn R Programming

imt (version 1.0.0)

checkBaseline: Check Baseline Equivalency.

Description

Check Baseline Equivalency.

Usage

checkBaseline(data, variables, treatment)

Value

tibble with the standardized difference of the pre-intervention variables. The tibble includes variables: the variable name, std_diff: the standardized difference for that variable as a number balance: the standardized difference for that variable as a factor variable. For more details about this methodology check https://ies.ed.gov/ncee/wwc/Docs/OnlineTraining/wwc_training_m3.pdf.

Arguments

data

dataframe with the pre-intervention variables, and the treatment indicator.

variables

vector of with the names of the pre-intervention variables.

treatment

name of the treatment indicator.