statsmodels.regression.linear_model.PredictionResults#
- class statsmodels.regression.linear_model.PredictionResults(predicted_mean, var_pred_mean, var_resid, df=None, dist=None, row_labels=None)[source]#
Results class for predictions
- Parameters:
- predicted_mean
ndarray The array containing the prediction means.
- var_pred_mean
ndarray The array of the variance of the prediction means.
- var_resid
floatorndarray The array of residual variances.
- df
Noneorint,optional The degree of freedom used if dist is ‘t’.
- dist{
None, ‘norm’, ‘t’,object},optional Either a string for the normal or t distribution or another object that exposes a ppf method.
- row_labels
Noneor array_like,optional Row labels used in summary frame.
- predicted_mean
- Attributes:
- predicted_mean
- se
- se_mean
- se_obs
- var_pred_mean
Methods
conf_int([obs, alpha])Confidence or prediction interval for the predicted values
summary_frame
Methods
conf_int([obs, alpha])Confidence or prediction interval for the predicted values
summary_frame([alpha])Properties