Sample-splitting inference after Cox-Lasso selection

Sample splitting separates model selection from coefficient inference by using disjoint subsets of the observations. This avoids using the same observations for both steps, at the cost of reduced information in each part of the analysis.

Basic call

split <- coxlasso_split(
  X, time, status,
  seed = 2026
)
summary(split)

The selected support is determined from the selection sample. An unpenalized Cox model is then fitted to that support in the inference sample, where conventional Cox-model uncertainty is computed.

Target and interpretation

The resulting coefficients correspond to the selected submodel defined by the selection sample. They should not be interpreted as the same target as debiased full-model coefficients. Results also depend on the realised split; the random seed should therefore be reported whenever reproducibility of the exact split matters.