gps_cs: This function checks common support for a user provided...

Description Usage Arguments Value

View source: R/dmlmt.R

Description

This function checks common support for a user provided matrix of (generalized) propensity scores

Usage

1
gps_cs(p_mat, t, q = 1, print = TRUE, cs = TRUE)

Arguments

p_mat

N x # of treatments matrix with (generalized) propensity scores

t

Matrix of binary treament indicators (N x # of treatments matrix) each column contains a binary indicator for each tratment

q

Quantile used for enforcing common support

print

If TRUE, descriptives for p-scores and common support shown

cs

If TRUE common support enforced, if FALSE only boolean vector added

Value

gps_cs returns a list containing a N x # of treatments matrix with generalized propensity scores (p) and a boolean indicating common and a boolean indicating common support (cs).


MCKnaus/dmlmt documentation built on Dec. 4, 2020, 9:48 a.m.