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:

params : ndarray

The model parameters.

Returns:

A dict mapping stratum names to the estimated baseline

cumulative hazard function.