get_theta_null {tehtuner} | R Documentation |
Permute a dataset under the null hypothesis and get the MNPP
Description
Permute a dataset under the null hypothesis and get the MNPP
Usage
get_theta_null(data, Trt, Y, zbar, step1, step2, threshold, ...)
Arguments
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 |
step1 |
character strings specifying the Step 1 model. Supports
either " |
step2 |
a character string specifying the Step 2 model. Supports
" |
threshold |
for " |
... |
additional arguments to the Step 1 model call. |
Value
the MNPP for the permuted data set