| fit_P2_gated_L1 | R Documentation |
Implements
p_{\lambda,\varepsilon}(\delta) = \lambda\int_\varepsilon^{\sqrt{\delta^2+\varepsilon^2}} [1+\exp\{(u/\widehat{SE}(\hat\delta_0)-c)/\tau\}]^{-1}du,
which provides a continuous relaxation of test-then-pool procedures driven by standardized evidence against commensurability.
fit_P2_gated_L1(
dat,
xnames = NULL,
lambda,
c = 1.64,
tau = 0.25,
delta_bounds = DEFAULT_DELTA_BOUNDS,
full_fit = NULL,
robust = FALSE,
eps = SMOOTH_EPS,
n_grid_opt = DEFAULT_N_GRID_OPT
)
dat |
A data frame from |
xnames |
Character vector of covariate names. If |
lambda |
Penalty strength ( |
c |
Evidence threshold (default 1.64, one-sided 5% gate). |
tau |
Gate smoothness parameter (positive). |
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 |
n_grid_opt |
Number of grid points for the coarse search in the non-convex objective. |
A list of estimates and inference quantities, including the
evidence-gate value g_hat and the raw (unstabilized)
penalty curvature pen_curv_raw.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.