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