When to use it
Use when comparing relative event rates over time while controlling for covariates.
Required Inputs
- Survival times
- Censoring status
- Covariate groups (Treatment vs Control)
Estimate Hazard Ratios (HR), 95% confidence intervals, and Cox proportional hazards regression parameters for survival time analysis.
Run this test live in StatLab npm i @statlab/coreUse when comparing relative event rates over time while controlling for covariates.
h(t|X) = h₀(t) exp(βᵀX), HR = exp(β)
from lifelines import CoxPHFitter
cph = CoxPHFitter()
cph.fit(df, duration_col='time', event_col='status')
print(cph.summary)
library(survival)
coxph(Surv(time, status) ~ group, data = df)
import { coxRegression } from '@statlab/core';
const res = coxRegression(df);
Continuous A/B testing, statistical telemetry analysis, and automated feedback loops for live backend services.
Explore VoxelPulse →Fixed-price AI release-readiness sprints, automated regression testing, and reliability statistical benchmarks.
Explore VoxelAssurance →Explore static calculators across the StatLab inference engine suite.