| fit_li_adaptive_lasso | R Documentation |
Implements the adaptive lasso borrowing penalty
p_\lambda(\delta) = \lambda |\hat\delta_0|^{-\gamma} |\delta|,
where \hat\delta_0 is the unpenalized maximum partial
likelihood estimator of the drift parameter.
fit_li_adaptive_lasso(
dat,
xnames = NULL,
lambda,
gamma = 1,
delta_bounds = DEFAULT_DELTA_BOUNDS,
full_fit = NULL,
robust = FALSE,
eps = SMOOTH_EPS
)
dat |
A data frame from |
xnames |
Character vector of covariate names. If |
lambda |
Penalty strength ( |
gamma |
Adaptive-weight exponent (typically 1). |
delta_bounds |
Numeric vector of length 2 giving the
optimization interval for |
full_fit |
Optional pre-computed full Cox fit (output of an
internal helper). If |
robust |
Use robust (Lin-Wei) Cox standard errors. |
eps |
Smoothing parameter for |
A list of estimates and inference quantities, including
the effective penalty weight w, the initial estimator
delta0_hat, and its standard error se_delta.
Li, R., Lin, R., Huang, J., Tian, L., and Zhu, J. (2023). A frequentist approach to dynamic borrowing. Biometrical Journal 65(7), 2100406.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.