Estimate the CATE Using the Lasso for Step 1 of Virtual Twins
vt1_lasso(data, Trt, Y, ...)Estimated CATEs for each subject in 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.
additional arguments to cv.glmnet
Other VT Step 1 functions:
vt1_mars(),
vt1_rf(),
vt1_super()