Loos_Hanby {Relectoral}R Documentation

Disproportionality index of Loosemore and Hanby - 1971 ("LH")

Description

Loosemore and Hanby disproportionality index ( 1971 ) aims to address the difficulties encountered with the Rae index. To calculate this disproportionality index, the absolute values of the differences between votes and seats are added together and the result is divided by two. The specific formula used is as follows: '

LH=\frac{\sum_{i=1}^{n}|E_{i}-V_{i}|}{2}

for i = 1, 2, \ldots,n

Usage

Loos_Hanby(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

Loos_Hanby(c(1200, 30, 4000),c(10,6,8))


[Package Relectoral version 0.1.0 Index]