checkBaseline: Check Baseline Equivalency.

View source: R/checkBaseline.R

checkBaselineR Documentation

Check Baseline Equivalency.

Description

Check Baseline Equivalency.

Usage

checkBaseline(data, variables, treatment)

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.

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.


imt documentation built on Sept. 11, 2024, 5:41 p.m.