Skip to contents

Calculate whether matched measures meet WWC standards for baseline equivalence

Usage

baseline_equivalence(psm, plot = TRUE)

Arguments

psm

Output from MatchIt

plot

Logical. Whether to include a plot or not.

Value

A data frame with columns variable, type of variable, the equivalence measure value, whether baseline equivalence was met, and the baseline equivalence measure used.

Examples

library(MatchIt); library(magrittr); library(ggplot2); data("lalonde", package = "cobalt")
m.out1 <- matchit(treat ~ age + educ + race +
married + nodegree + re74 + re75,
data = lalonde, method = "nearest")
baseline_equiv <- baseline_equivalence(psm = m.out1)