Learn R Programming

electoral (version 0.1.4)

psns: Party System Nationalization Score (PSNS)

Description

Party System Nationalization Score is a measure for the uniformity of vote share of a party system over subnational units (provinces for Ecuador). It is computed as the sum of part nationalization scores, weighted by the national share of every party (Jones and Mainwaring, 2003).

$$PSNS = sum(PNSi*pi)$$

where PNSi is the party nationalization score for party ith, and pi is the national vote share for party ith.

Party system nationalization score is a number from 0 to 1, low value (near 0) means a low level of nationalization, i.e. heterogeneous distribution of vote shares in subnational territorial units.

High score (near 1) indicates a high level of nationalization, i.e. homogeneous distribution of vote shares in subnational territorial units.

A new approach developed by Golosov (2014) 'Party System Nationalization: The Problems of Measurement with an Application to Federal States' (http://ppq.sagepub.com/content/early/2014/09/08/1354068814549342.abstract) is also available.

Input tibble must have 3 columns with fixed names: 'PROVINCE', 'PARTY and 'VOTES'.

See pns function for further information.

Developed by Jorge Albuja Delgado (albuja@yahoo.com).

Usage

psns(tidy_votes, method)

Value

A single numeric with Party System Nationalization Score (PSNS) in the interval [0, 1]

Arguments

tidy_votes

a tibble/data.frame in tidy format with 3 variables (columns): 'PROVINCE', 'PARTY' and 'VOTES', where:

  1. PROVINCE: names or codes of subnational units.

  2. PARTY: names or codes of national parties.

  3. VOTES: number of votes for every PARTY in every PROVINCE.

method

string to choose from c('Jones-Mainwaring', 'Golosov'). Defaults to 'Jones-Mainwaring'

Examples

Run this code
data <- data.frame(PROVINCE = c(1, 1, 1, 2, 2, 2),
               PARTY = c('1', '2', '3',  '1', '2', '3'),
               VOTES = c(66389, 55372, 20319, 28156, 18790, 4954))
psns(data)
psns(data, method = 'Golosov')

Run the code above in your browser using DataLab