metric_mhb: mahalanobis balance

Description Usage

View source: R/rwe_balance.R

Description

covs should be a reduced datset that contains only those covariates that will be used for calculating Mahalanobis balance, for example, covs = dat[,1:6] trt should be the exposure variable, for example, trt=dat$X

Usage

1
metric_mhb(cov0, cov1)

olssol/rwetools documentation built on April 18, 2021, 11:42 a.m.