select lasso penalty parameter \(\lambda\) for \(\beta_1\) and \(\beta_2\) in CSTE estimation.
select_cste_bin(
x,
y,
z,
lam_seq,
beta_ini = NULL,
nknots = 1,
max.iter = 2000,
eps = 0.001
)samples of covariates which is a \(n*p\) matrix.
samples of binary outcome which is a \(n*1\) vector.
samples of treatment indicator which is a \(n*1\) vector.
a sequence for the choice of \(\lambda\).
initial values for \((\beta_1', \beta_2')'\), default value is NULL.
number of knots for the B-spline for estimating \(g_1\) and \(g_2\).
maximum iteration for the algorithm.
numeric scalar \(\geq\) 0, the tolerance for the estimation of \(\beta_1\) and \(\beta_2\).
A list which includes
optimal: optimal cste within the given the sequence of \(\lambda\).
bic: BIC for the sequence of \(\lambda\).
lam_seq: the sequence of \(\lambda\) that is used.
Guo W., Zhou X. and Ma S. (2021). Estimation of Optimal Individualized Treatment Rules Using a Covariate-Specific Treatment Effect Curve with High-dimensional Covariates, Journal of the American Statistical Association, 116(533), 309-321