statsmodels.duration.hazard_regression.PHReg.breslow_gradient#

PHReg.breslow_gradient(params)[source]#

Returns the gradient of the log partial likelihood, using the Breslow method to handle tied times

Parameters:
paramsndarray

The proportional hazards model parameters.

Returns:
ndarray

The gradient of the log partial likelihood function.