code: def test_predict_is_intervals_bbvi():
      """
      Tests prediction intervals are ordered correctly
      """
      model = ARIMA(data=data, ar=2, ma=2, family=Poisson())
      x = model.fit("BBVI", iterations=100, quiet_progress=True)
      predictions = model.predict_is(h=10, intervals=True)
      assert np.all(
          predictions["99% Prediction Interval"].values
          >= predictions["95% Prediction Interval"].values
      )
      assert np.all(
          predictions["95% Prediction Interval"].values
          >= predictions["5% Prediction Interval"].values
      )
      assert np.all(
          predictions["5% Prediction Interval"].values
          >= predictions["1% Prediction Interval"].values
      )
  
file_path: pyflux/pyflux/arma/tests/test_arima_poisson.py
imports: import numpy
  from pyflux.arma import ARIMA
  from pyflux.families import Poisson
label_desc: Use image node_id 12 for calling a global function with example usage: test_predict_is_intervals_bbvi() without return types