mallows_three_last_theo#

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

Compute the theoretical equivalent of P(3 is CW) in “M 3 last”

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

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

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

Returns:

Theoretical equivalent of the probability that candidate 3 is the Condorcet winner in “M 3 last”.

Return type:

float