baltable: Calculate covariate balance statistics

Description Usage Arguments Value

View source: R/utils.R

Description

Calculate covariate balance statistics

Usage

1
baltable(Xmat, TA, wts = NULL, show_unweighted = T, n_digits = 3)

Arguments

Xmat

A matrix of covariates

TA

A vector of treatment assignments (i.e, 1 if treated, 0 in control)

wts

A vector of estimated (or true) weights

show_unweighted

Query if the the balance table should contain unweighted estimates

n_digits

Number of digits to print for the table

Value

A table of covariate balance statistics


bvegetabile/entbal documentation built on July 28, 2021, 8:50 p.m.