EventPivotTij

class poisson_approval.EventPivotTij(candidate_x, candidate_y, candidate_z, tau)[source]

A personalized pivot of type Tij.

Notes

We consider the personalized pivot for the two most-liked candidates of a voter xyz, i.e. situations where, if the voter add a reasonable ballot (x or xy), it becomes a strict pivot for xy. In other words, situations where S_x + 1 = S_y > S_z or S_x + 1 = S_y + 1 > 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)})
>>> EventPivotTij(candidate_x='a', candidate_y='b', candidate_z='c', tau=tau)
<asymptotic = exp(- 0.1 n + o(1)), phi_a = 0, phi_c = 1, phi_ab = 1>