Confidence Boxes#
- class pba.cbox.Cbox#
Confidence boxes (c-boxes) are imprecise generalisations of traditional confidence distributions
They have a different interpretation to p-boxes but rely on the same underlying mathematics. As such in pba-for-python c-boxes inhert most of their methods from Pbox.
- Args:
Pbox (_type_): _description_
- __init__(*args, **kwargs)#
- add(other, method='f')#
Adds other to Pbox to other using the defined dependency method
- div(other, method='f')#
Divides Pbox by other using the defined dependency method
- mul(other, method='f')#
Multiplies other and Pbox using the defined dependency method
- recip()#
Calculates the reciprocal of a p-box.
Error
DivisionByZerois raised if the p-box contains 0.
- sub(other, method='f')#
Subtracts other from Pbox using the defined dependency method