statsmodels.duration.hazard_regression.PHReg.baseline_cumulative_hazard_function

PHReg.baseline_cumulative_hazard_function(params)[source]

Returns a function that calculates the baseline cumulative hazard function for each stratum.

Parameters:
paramsndarray

The model parameters.

Returns:
A dict mapping stratum names to the estimated baseline
cumulative hazard function.

Last update: Nov 14, 2024