pyuncertainnumber.pba.constructors¶
Functions¶
|
a tmp constructor for pbox/cbox from approximate solution of the confidence/next value distribution |
|
interpolate the cdf bundle for discrete distribution or ds structure |
Module Contents¶
- pyuncertainnumber.pba.constructors.pbox_from_pseudosamples(samples)¶
a tmp constructor for pbox/cbox from approximate solution of the confidence/next value distribution
- Parameters:
samples (nd.array) – the approximate Monte Carlo samples of the confidence/next value distribution
Note
ecdf is estimted from the samples and bridge to pbox/cbox
- pyuncertainnumber.pba.constructors.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)