class_docstr: Based class for get_prediction results
      
class_docstr_tok: ["Based","class","for","get_prediction","results"]
docstr: internal function to avoid code duplication
          
docstr_tok: ["internal","function","to","avoid","code","duplication"]
code: def _conf_int_generic(self, center, se, alpha, dist_args=None):
      """internal function to avoid code duplication"""
      if dist_args is None:
          dist_args = ()
  
      q = self.dist.ppf(1 - alpha / 2.0, *dist_args)
      lower = center - q * se
      upper = center + q * se
      ci = np.column_stack((lower, upper))
      # if we want to stack at a new last axis, for lower.ndim > 1
      # np.concatenate((lower[..., None], upper[..., None]), axis=-1)
      return ci
  
imports: import numpy
  from scipy import stats
  import pandas
label_desc: Use image node_id 5 for calling the PredictionResultsBase obj's underlying member method code with example usage: obj._conf_int_generic(center, se, alpha, dist_args) and returns: ci