class_docstr: Distribution with piecewise linear cdf, pdf is step function
  
  can be created from empiricial distribution or from a histogram (not done yet)
  
  work in progress, not finished
class_docstr_tok: ["Distribution","with","piecewise","linear","cdf",",","pdf","is","step","function","can","be","created","from","empiricial","distribution","or","from","a","histogram","(","not","done","yet",")","work","in","progress",",","not","finished"]
code: def __init__(self, data):
      self.data = np.atleast_1d(data)
      self.binlimit = np.array([self.data.min(), self.data.max()])
      sortind = np.argsort(data)
      self._datasorted = data[sortind]
      self.ranking = np.argsort(sortind)
  
      cdf = self.empiricalcdf()
      self._empcdfsorted = np.sort(cdf)
      self.cdfintp = interpolate.interp1d(
          self._datasorted, self._empcdfsorted
      )
      self.ppfintp = interpolate.interp1d(
          self._empcdfsorted, self._datasorted
      )
  
file_path: statsmodels/statsmodels/sandbox/stats/stats_dhuard.py
imports: import scipy.interpolate
  import numpy
label_desc: Use image node_id 1 to create a new HistDist object  with example: obj = HistDist(data)