code: def _calculate_intervals(out, level, h, sigmah):
      z = _quantiles(np.asarray(level))
      zz = np.repeat(z, h)
      zz = zz.reshape(z.shape[0], h)
      lower = out["mean"] - zz * sigmah
      upper = out["mean"] + zz * sigmah
      pred_int = {
          **{f"lo-{lv}": lower[i] for i, lv in enumerate(level)},
          **{f"hi-{lv}": upper[i] for i, lv in enumerate(level)},
      }
      return pred_int
  
file_path: statsforecast/statsforecast/utils.py
imports: from typing import Dict
  import math
  import os
  import warnings
  import numpy
  import pandas
  from scipy.stats import norm
  from utilsforecast.compat import DataFrame
  from utilsforecast.data import generate_series
label_desc: Use image node_id 7 for calling a global function with example usage: _calculate_intervals(out, level, h, sigmah) and returns: pred_int