I've been trying to use statsmodels' SARIMAX model but return a confidence interval around my predictions.
My goal is to generate series of predictions for the upper and lower bounds of the confidence interval.
I attempted to fit my model, then use get_prediction()
, and finally conf_int()
. get_prediction()
returns data for each of my index as I expected. However, conf_int()
returns a strange matrix:
0 1
ar.S.L7 0.018806 0.194818
ma.S.L7 -0.830238 -0.717128
sigma2 40.832875 48.105937
that I don't understand. I noticed that these are the parameters for a model, but I don't know how to use these to get upper and lower predictions for each of my indices.
I've consulted: this, this, and this, but none of them seem to have the same problem. I've also looked over this question. I have attempted to follow their code as closely as possible, but can't recreate the problem.