L1Scores {socialranking} | R Documentation |
L1 Ranking
Description
Calculate the scores.
Usage
L1Scores(powerRelation, elements = powerRelation$elements)
L1Ranking(powerRelation)
lexcel1Scores(powerRelation, elements = powerRelation$elements)
lexcel1Ranking(powerRelation)
Arguments
powerRelation |
A |
elements |
Vector of elements of which to calculate their scores.
By default, the scores of all elements in |
Details
Similar to lexcelRanking()
, the number of times an element appears in each equivalence class is counted.
In addition, we now also consider the size of the coalitions.
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.
The rewards elements that appear in higher ranking coalitions as well as in smaller coalitions.
When comparing two matrices for a power relation, if
,
this suggests that there exists a
and
such that the following holds:
-
-
for all
-
for all
and
Value
Score function returns a list of type L1Scores
and length of powerRelation$elements
(unless parameter elements
is specified).
Each index contains a vector of length powerRelation$eqs
, the number of
times the given element appears in each equivalence class.
Ranking function returns corresponding SocialRanking
object.
Example
Let .
From this, we get the following three matrices:
From and
it
immediately follows that
is ranked above
and
according to
.
Comparing against
we can set
and
.
Following the constraints from the definition above, we can verify that the entire column 1 is identical.
In column 2, we determine that
, whereas
, indicating that
is ranked higher than
, hence
according to
.
Aliases
For better discoverability, lexcel1Scores()
and lexcel1Ranking()
serve as aliases for L1Scores()
and L1Ranking()
, 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:
L2Scores()
,
LPSScores()
,
LPScores()
,
copelandScores()
,
cumulativeScores()
,
kramerSimpsonScores()
,
lexcelScores()
,
ordinalBanzhafScores()
Examples
pr <- as.PowerRelation("(123 ~ 13 ~ 2) > (12 ~ 1 ~ 3) > (23 ~ {})")
scores <- L1Scores(pr)
scores$`1`
# [,1] [,2] [,3]
# [1,] 0 1 0
# [2,] 1 1 0
# [3,] 1 0 0
L1Ranking(pr)
# 2 > 1 > 3