get_cox_kappa: Estimate the kappa value for the synthetic Cox proportional...

get_cox_kappaR Documentation

Estimate the kappa value for the synthetic Cox proportional hazards model

Description

This function iterative estimates the kappa value for the synthetic Cox proportional hazards model using a vectorized approach for efficiency.

Usage

get_cox_kappa(X, time, status, hazard_constant)

Arguments

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.

Value

A numeric value representing the estimated kappa for the synthetic Cox model.


catalytic documentation built on April 4, 2025, 5:51 a.m.