Shapley Value Solution

Share:

Description

Calculates the Shapley value for a N-agent cooperative game.

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# 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)