get_mnpp {tehtuner} | R Documentation |
Get the MNPP for the Step 2 model
Description
Find the lowest penalty parameter so that the Step 2 model fit for the estimated CATE from Step 1 is constant for all subjects.
Usage
get_mnpp(z, data, step2, Trt, Y, threshold)
Arguments
z |
a numeric vector of estimated CATEs from Step 1 |
data |
a data frame containing a response, binary treatment indicators, and covariates. |
step2 |
a character string specifying the Step 2 model. Supports
" |
Trt |
a string specifying the name of the column of |
Y |
a string specifying the name of the column of |
threshold |
for " |
[Package tehtuner version 0.3.0 Index]