Calculates the Farina index also referred to as the cosine proportionality score based on a vector of votes and a vector for the electoral outcome.
Usage
farina(v, s)
Arguments
v
A vector containing the votes for each political party.
s
A vector containing the election outcome as seats.
Value
A single score given the vector of votes and the vector for seats.
References
Koppel, M., and A. Diskin. (2009) Measuring disproportionality, volatility and malapportionment: axiomatization and solutions. Social Choice and Welfare 33, no. 2: 281-286.