pi.shapley {powerindexR} | R Documentation |
Power based on the Shapley-Shubik index.
Description
This function determines the distribution of the power based on the Shapley-Shubik index and the Owen value.
Usage
pi.shapley(quota, weights, partition = NULL)
Arguments
quota |
Numerical value that represents the majority in a given voting. |
weights |
Numerical vector of dimension |
partition |
Numerical vector that indicates the partition of voters. Each component indicates the element of the partition to which such voter belongs. If it is not |
Value
Shapley value |
The Shapley value, if |
Owen value |
The Owen value, if |
Author(s)
Livino M. Armijos-Toro, Jose M. Alonso-Meijide, Manuel A. Mosquera, Alejandro Saavedra-Nieves.
References
Alonso-Meijide, J. M., & Bowles, C. (2005). Generating functions for coalitional power indices: An application to the IMF. Annals of Operations Research, 137, 21-44.
Lucas, W. F. (1983). Measuring power in weighted voting systems (pp. 183-238). Springer New York.
Examples
# Example Shapley value
weights<-c(137,85,71,32,9,8,5,2,1)
quota<-176
pi.shapley(quota,weights)
# Example Owen value
quota<-30
weights<-c(28, 16, 5, 4, 3, 3)
# Partition={{1},{2,4,6},{3,5}}
pi.shapley(quota,weights,partition=c(1,2,3,2,3,2))