statsmodels.duration.hazard_regression.PHReg.predict
PHReg.predict(params, cov_params=None, endog=None, exog=None, strata=None, offset=None, pred_type='lhr') [source]
Returns predicted values from the proportional hazards regression model. Parameters:
params : array-like The proportional hazards model parameters. cov_params : array-like The covariance matrix of the estimated params vector, used to obtain prediction errors if pred_type=?lhr?, otherwise optional. endog : array-like Durat