Logo

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.

Returns a PHregResults instance. :

Previous topic

statsmodels.duration.hazard_regression.PHReg.efron_loglike

Next topic

statsmodels.duration.hazard_regression.PHReg.fit_regularized

This Page