EventTrio1t
- class poisson_approval.EventTrio1t(candidate_x, candidate_y, candidate_z, tau)[source]
A 3-candidate almost-tie of the type (X - 1, X, X).
Notes
We consider the trios of type 1, i.e. situations where
S_x + 1 = S_y = S_z
.For parameters and attributes, cf.
Event
.Examples
>>> from fractions import Fraction >>> from poisson_approval import TauVector >>> tau = TauVector({'a': Fraction(1, 10), 'ab': Fraction(6, 10), 'c': Fraction(3, 10)}) >>> EventTrio1t(candidate_x='a', candidate_y='b', candidate_z='c', tau=tau) <asymptotic = exp(- inf)>