pyuncertainnumber.pba.constructors ================================== .. py:module:: pyuncertainnumber.pba.constructors Functions --------- .. autoapisummary:: pyuncertainnumber.pba.constructors.pbox_from_pseudosamples pyuncertainnumber.pba.constructors.interpolate_p Module Contents --------------- .. py:function:: pbox_from_pseudosamples(samples) a tmp constructor for pbox/cbox from approximate solution of the confidence/next value distribution :param samples: the approximate Monte Carlo samples of the confidence/next value distribution :type samples: nd.array .. note:: ecdf is estimted from the samples and bridge to pbox/cbox .. py:function:: interpolate_p(p, q) interpolate the cdf bundle for discrete distribution or ds structure .. note:: - p: probabilities (x) - q: quantiles (y) return: a tuple of new (p, q)