get_cox_kappa | R Documentation |
This function iterative estimates the kappa value for the synthetic Cox proportional hazards model using a vectorized approach for efficiency.
get_cox_kappa(X, time, status, hazard_constant)
X |
A matrix of covariates with rows representing observations and columns representing features. |
time |
A vector of time-to-event data. |
status |
A vector indicating event occurrence (1 = event, 0 = censored). |
hazard_constant |
A scalar representing the hazard constant. Defaults to NULL, in which case it's calculated internally. |
A numeric value representing the estimated kappa for the synthetic Cox model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.