balance_table {DirectEffects}R Documentation

Balance diagnostics telescope matching

Description

Provides matching balance diagnostics for telescope matching CDE estimators

Usage

balance_table(object, vars, data, comparison = NULL)

Arguments

object

output from an estimated cde_telescope_match estimator

vars

a formula object containing either the treatment or the mediator as the dependent variable (which denotes whether first-stage or second-stage balance diagnostics are returned) and the covariates for which balance diagnostics are requested as the independent variables. Each covariate or function of covariates (e.g. higher-order polynomials or interactions) should be separated by a +.

data

the data frame used in the call to estimate on the cde_telescope_match object.

comparison

a binary indicator for if the function should return the balance for the treated group ('1'), for the control group ('0'), or for overall combined balanced ('NULL', the default).

Value

Returns a data frame with the following columns.


[Package DirectEffects version 0.3 Index]