mallows_three_first_theo#

actinvoting.mallows_three_first_theo(n, rho)[source]#

Compute the theoretical equivalent of 1 - P(3 is CW) in “M 3 first”

“M 3 first” is a Mallows model with pole [3, 2, 1].

Parameters:
  • n (int) – Number of voters.

  • rho (float) – Concentration parameter for the Mallows model.

Returns:

Theoretical equivalent of the probability that candidate 3 fails to be the Condorcet winner in “M 3 first”.

Return type:

float