johnstonIndex: Compute Johnston index

Description Usage Arguments Value Author(s) References Examples

View source: R/JohnstonConcept.R

Description

johnstonIndex calculates the Johnston index for a simple game.

Usage

1

Arguments

v

Numeric vector of length 2^n - 1 representing the values of the coalitions of a TU game with n players

Value

Johnston index for a specified simple game

Author(s)

Johannes Anwander anwander.johannes@gmail.com

Michael Maerz

Jochen Staudacher jochen.staudacher@hs-kempten.de

References

Johnston R.J. (1978) "On the measurement of power: Some reactions to Laver", Environment and Planning A, pp. 907–914

Chakravarty S.R., Mitra M. and Sarkar P. (2015) A Course on Cooperative Game Theory, Cambridge University Press, p. 124

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
library(CoopGame)
johnstonIndex(c(0,0,0,1,0,0,1))


#player 1 has 3 votes
#player 2 has 2 votes
#player 3 has 1 vote
#majority for the decision is 4 (quota)

library(CoopGame)
#function call generating the game vector:
v <- weightedVotingGameVector(n = 3, w = c(3,2,1), q = 4)

johnstonIndex(v)
#[1] 0.6666667 0.1666667 0.1666667

CoopGame documentation built on May 2, 2019, 5:57 a.m.