CumulativeDist class
The cenreg.distribution.cdf.CumulativeDist class is a representation of a cumulative distribution function (CDF) that is defined on a set of bins.
The parameter b represents the bins used to define the discrete distribution. The parameter p represents the probabilities corresponding to each bin, and the cum_p parameter represents the cumulative probabilities of p.
The interpolate parameter determines how the CDF is interpolated between the bins, with options for ‘right’, ‘left’, and ‘linear’.
The illustration of the CDF, where the interpolate parameter is set to right.
The illustration of the CDF, where the interpolate parameter is set to left.
The illustration of the CDF, where the interpolate parameter is set to linear.