L_Tukey: Disproportionality index. Tuckey's line (LT)

Description Usage Arguments Value Examples

View source: R/Electoral_index.R

Description

This indicator is also known as the robust bias index. Its value is obtained by using the slope of the well-known "Tuckey Line" and its use is recommended when there is a "small" group of parties that behave significantly differently from the rest. This procedure is qualified as "robust" because the presence of behaviors of certain parties different from the rest does not substantially alter the line obtained, unlike what happened when it was used in the least squares criteria to make the regression adjustment.#'

Usage

1
L_Tukey(votes, seats)

Arguments

votes

It is a vector of integers, containing the votes of all the candidates.

seats

It is a vector of integers, containing the seats obtained by each of the candidates.

Value

Returns the value obtained for the index

Examples

1
L_Tukey(c(3947,3189,1971,466,345,82),c(184,99,44,10,0,0))

Relectoral documentation built on July 2, 2020, 2:31 a.m.