# statsmodels.duration.hazard_regression.PHReg.fit¶

PHReg.fit(groups=None, **args)[source]

Fit a proportional hazards regression model.

Parameters: groups (array-like) – Labels indicating groups of observations that may be dependent. If present, the standard errors account for this dependence. Does not affect fitted values. a PHregResults instance. (Returns) –