SciencesPo (version 1.3.8)

cox.shugart: Cox-Shugart measure of proportionality

Description

Calculate the Cox and Shugart measure of proportionalitybased on a vector of votes and a vector for the electoral outcome. This measure is also referred to as the regression index.

Usage

cox.shugart(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.

Examples

Run this code
# 2012 Queensland state elecion:
pvotes= c(49.65, 26.66, 11.5, 7.53, 3.16, 1.47)
pseats = c(87.64, 7.87, 2.25, 0.00, 2.25, 0.00)

cox.shugart(pvotes, pseats)

# 2012 Quebec provincial election:
pvotes = c(PQ=31.95, Lib=31.20, CAQ=27.05, QS=6.03, Option=1.89, Other=1.88)
pseats = c(PQ=54, Lib=50, CAQ=19, QS=2, Option=0, Other=0)

cox.shugart(pvotes, pseats)

Run the code above in your browser using DataCamp Workspace