smooth_state_cox()

Smooth event-state probability using secondary Cox + 3-knot RCS.

Usage

Source

smooth_state_cox(
    probs,
    times,
    events,
    horizon,
    *,
    grid=None,
    penalizer=0.01,
)