PO_dmlmt: This function calculates the potential outcomes for all...

Description Usage Arguments Value

View source: R/dmlmt.R

Description

This function calculates the potential outcomes for all treatment levels.

Usage

1
PO_dmlmt(t, y, y_mat, p_mat, cs_i = NULL, cl = NULL, print = TRUE)

Arguments

t

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

y

Vector of outcomes

y_mat

N x # of treatments matrix with fitted outcome values

p_mat

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

cs_i

If not NULL, boolean vector to indicate that observation is on support

cl

If not NULL, vector with cluster variables

print

If TRUE, print results

Value

PO_dmlmt returns a list containing the results and a matrix with the individual values of the effcicient score (mu).


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