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_meanndarray

The array containing the prediction means.

var_pred_meanndarray

The array of the variance of the prediction means.

var_residndarray

The array of residual variances.

dfint

The degree of freedom used if dist is ‘t’.

dist{‘norm’, ‘t’, object}

Either a string for the normal or t distribution or another object that exposes a ppf method.

row_labelslist[str]

Row labels used in summary frame.

Attributes:
predicted_mean
se
se_mean
se_obs
var_pred_mean

Methods

conf_int([obs, alpha])

Returns the confidence interval of the value, effect of the constraint.

summary_frame([alpha])

Properties

predicted_mean

se

se_mean

se_obs

var_pred_mean


Last update: Oct 03, 2024