code: def __init__(
      self,
      predicted,
      var_pred,
      linpred=None,
      linpred_se=None,
      func=None,
      deriv=None,
      df=None,
      dist=None,
      row_labels=None,
  ):
      # TODO: is var_resid used? drop from arguments?
      self.predicted = predicted
      self.var_pred = var_pred
      self.linpred = linpred
      self.linpred_se = linpred_se
      self.func = func
      self.deriv = deriv
      self.df = df
      self.row_labels = row_labels
  
      if dist is None or dist == "norm":
          self.dist = stats.norm
          self.dist_args = ()
      elif dist == "t":
          self.dist = stats.t
          self.dist_args = (self.df,)
      else:
          self.dist = dist
          self.dist_args = ()
  
imports: import numpy
  from scipy import stats
  import pandas
label_desc: Use image node_id 1 to create a new PredictionResultsMonotonic object from inherited base classes: PredictionResultsBase with example: obj = PredictionResultsMonotonic(predicted, var_pred, linpred, linpred_se, func, deriv, df, dist, row_labels)