L2Scores {socialranking} | R Documentation |
L2 Ranking
Description
Calculate the scores.
Usage
L2Scores(powerRelation, elements = powerRelation$elements)
L2Ranking(powerRelation)
lexcel2Scores(powerRelation, elements = powerRelation$elements)
lexcel2Ranking(powerRelation)
Arguments
powerRelation |
A |
elements |
Vector of elements of which to calculate their scores.
By default, the scores of all elements in |
Details
Let be a set of elements,
a power relation,
and
its corresponding quotient order.
For an element , construct a matrix
with
columns and
rows.
Whereas each column
represents an equivalence class, each row
corresponds to the coalition size.
Given two elements ,
then ranks
strictly above
if there is some row
and column
such that
-
,
-
Note that the conditions are very similar to L1Ranking()
, with the difference that condition 3.(i)
also ranks an element over another if they simply appear more often in an equivalence class, regardless of coalition size.
This implies that a row for condition 3.(ii) to be satisfied may not have to exist.
Value
Score function returns a list of type L2Scores
and length of powerRelation$elements
(unless parameter elements
is specified).
Each index contains a matrix with length(powerRelation$eqs)
columns and 1 + length(powerRelation$elements)
rows.
Ranking function returns corresponding SocialRanking
object.
Example
Let and
,
where
is every other coalition not present in the first equivalence class.
From this, we get the following four matrices:
For the sums in column 1, we get
This immediately puts above all other elements and
above
and
according to the
.
would in this case prefer
over
, simply because
appears once in a coalition of size 1 and
doesn't.
Since the column sum for and
is the same, we can next evaluate if the individual row values are also the same.
Here, since
, this gives an edge of element
over
.
Note that, if the column was identical for and
, we would go to the next column and repeat the process.
Elements are only then considered indifferent from each other, if the entire matrix is identical between the two.
Alterations
The matrices as described above and in Béal S, Rémila E, Solal P (2022).
“Lexicographic solutions for coalitional rankings based on individual and collective performances.”
Journal of Mathematical Economics, 102, 102738. can be investigated with the L1Scores()
function.
For less complexity, another row is prepended to the matrix showing the sum of each column.
Through this, a simple comparison can be applied.
Aliases
For better discoverability, lexcel2Scores()
and lexcel2Ranking()
serve as aliases for L2Scores()
and L2Ranking()
, respectively.
References
Algaba E, Moretti S, Rémila E, Solal P (2021). “Lexicographic solutions for coalitional rankings.” Social Choice and Welfare, 57(4), 1–33.
See Also
Other ranking solution functions:
L1Scores()
,
LPSScores()
,
LPScores()
,
copelandScores()
,
cumulativeScores()
,
kramerSimpsonScores()
,
lexcelScores()
,
ordinalBanzhafScores()
Examples
pr <- as.PowerRelation("123 ~ 12 ~ 13 ~ 14 ~ 2 ~ 4")
pr <- appendMissingCoalitions(pr)
scores <- L2Scores(pr)
scores$`1`
# [,1] [,2]
# [1,] 0 1
# [2,] 3 0
# [3,] 1 2
# [3,] 0 1
L2Ranking(pr)
# 1 > 2 > 4 > 3
L1Ranking(pr)
# 2 > 4 > 1 > 3