Returns predicted values from the fitted proportional hazards regression model.
Parameters: | params : array-;like
endog : array-like
exog : array-like
strata : array-like
offset : array-like
pred_type : string
|
---|---|
Returns: | A bunch containing two fields: `predicted_values` and : `standard_errors`. : |
Notes
Standard errors are only returned when predicting the log hazard ratio (pred_type is ‘lhr’).
Types surv and cumhaz require estimation of the cumulative hazard function.