permute {tehtuner} | R Documentation |
Sets the marginal treatment effect to zero and then permute all treatment indicators.
permute(data, Trt, Y, zbar)
data |
a data frame containing a response, binary treatment indicators, and covariates. |
Trt |
a string specifying the name of the column of |
Y |
a string specifying the name of the column of |
zbar |
the estimated marginal treatment effect |
a permuted dataset of the same size as data