statsmodels.tsa.base.prediction.PredictionResults#
- class statsmodels.tsa.base.prediction.PredictionResults(predicted_mean, var_pred_mean, dist=None, df=None, row_labels=None)[source]#
Prediction results
- Parameters:
- predicted_mean
ndarray,Series,orDataFrame The predicted mean values.
- var_pred_mean
ndarray,Series,orDataFrame The variance of the predicted mean values.
- dist“norm”, “t”,
orrv_frozen,optional The distribution to use when constructing prediction intervals. Default is the normal distribution.
- df
int,optional The degrees of freedom parameter for the t distribution. Not used if dist is “norm” or an rv_frozen distribution.
- row_labelssequence
ofhashableorpandas.Index,optional Row labels to use for the summary frame. If None, attempts to read the index of
predicted_mean.
- predicted_mean
- Attributes:
predicted_meanThe predicted mean
row_labelsThe row labels used in pandas-types
se_meanThe standard deviation of the predicted mean
tvaluesThe ratio of the predicted mean to its standard deviation
var_pred_meanThe variance of the predicted mean
Methods
conf_int([alpha])Confidence interval construction for the predicted mean
summary_frame([alpha])Summary frame of mean, variance and confidence interval
t_test([value, alternative])z- or t-test for hypothesis that mean is equal to value
Methods
conf_int([alpha])Confidence interval construction for the predicted mean
summary_frame([alpha])Summary frame of mean, variance and confidence interval
t_test([value, alternative])z- or t-test for hypothesis that mean is equal to value
Properties
The predicted mean
The row labels used in pandas-types
The standard deviation of the predicted mean
The ratio of the predicted mean to its standard deviation
The variance of the predicted mean