ShapleyValue {GameTheory} | R Documentation |
Shapley Value Solution
Description
Calculates the Shapley value for a N-agent cooperative game.
Usage
ShapleyValue(x, Names = NULL)
Arguments
x |
object of class Game |
Names |
Labels of the agents |
Details
Please check ShapleyShubik
for an extension to voting power index.
Author(s)
Sebastian Cano-Berlanga <cano.berlanga@gmail.com>
References
Shapley L (1953). A value for n-person games. In Tucker A, Kuhn H (Eds.), Contributions to the theory of games II (pp. 307-317). Princeton University Press: Princeton NJ.
Examples
# Begin defining the game
COALITIONS <- c(46125,17437.5,5812.5,69187.5,53812.5,30750,90000)
LEMAIRE<-DefineGame(3,COALITIONS)
# End defining the game
NAMES <- c("Investor 1","Investor 2","Investor 3")
LEMAIRESHAPLEY <- ShapleyValue(LEMAIRE,NAMES)
summary(LEMAIRESHAPLEY)
[Package GameTheory version 2.7.1 Index]