View source: R/ProgPredLasso.R
ProgPredLasso | R Documentation |
The computes the regularization path of the Prognostic Predictive Lasso described in the paper Zhu et al. (2022) given in the references.
ProgPredLasso(X1, X2, Y=Y, cor_matrix=NULL, gamma=0.99, maxsteps=500, lambda='single')
X1 |
Design matrix of patients characteristics with treatment 1 |
X2 |
Design matrix of patients characteristics with treatment 2 |
Y |
Response variable |
cor_matrix |
Correlation matrix of biomarkers. If not specified, the function |
gamma |
Parameter γ defined in the paper Zhu et al. (2020) given in the references. Its default value is 0.99. |
maxsteps |
Integer specifying the maximum number of steps for the generalized Lasso algorithm. Its default value is 500. |
lambda |
Using single tuning parameter or both. |
Returns a list with the following components
lambda |
different values of the parameter λ considered. |
beta |
matrix of the estimations of β for all the λ considered. |
beta.min |
estimation of β which minimize the MSE. |
bic |
BIC for all the λ considered. |
mse |
MSE for all the λ considered. |
Wencan Zhu, Celine Levy-Leduc, Nils Ternes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.