Selections from ordered sets

We study the problem of evaluating whether the selection from a set is close to the ordering of the set determined by an exogenously given measure. Our main result is that three axioms, two naturally capturing “dominance”, and a stronger one imposing a form of symmetry in the comparison of selections, are sufficient to evaluate how close any selection from any set is to the given ordering of the set. This closeness is given by a very simple index, which is a linear function of the sum of the ranks of the selected elements. The paper ends by relating this index to the existing literature on distance between orderings, and also offers a practical application of the index.

evaluate how close any selection from any set is to the given ordering of the set. This closeness is given by a very simple index, which is a linear function of the sum of the ranks of the selected elements. The paper ends by relating this index to the existing literature on distance between orderings, and also offers a practical application of the index.

Introduction
Selections are typically made according to a varying blend of objective measures and subjective judgments. A sport coach might base her team choice on the recent performance of individuals in her squad (batting and bowling/pitching averages, tennis rankings, trial results for track and field, and so on), and on her sense of who is the best person for each given role, given the expected conditions. Many universities do not strictly follow SATs results and school grades when choosing whom to admit, but take into account a student's social background and his potential contribution to desirable characteristics of the student body, like diversity. Applicants for academic jobs might be ranked according to bibliometric measures, but the appointment panel's judgment often leads to decision that do not map precisely into the ranking. 1 Large and complex procurement contracts often demand the subtle evaluation of complex qualitative elements, and lowest price is seldom the only criterion used to award these contracts. 2 And so forth and so on.
Observers and decision makers might be interested in some means of comparing the choices of different selectors. If the property of following the measurable dimension is labelled "orderliness", someone might want to compare the orderliness of different selections, for example to determine which is more "orderly".
We can think of at least three conceptually distinct situations where this comparison is meaningful. 3 First, we may want to compare different selections from the same set. For example, the public may want to know how close the proposed shortlists of the different judges of a book or film prize are to a market-determined (sales, box office earnings) ordering. Second, the comparison might be of selections from altogether different sets. A cricket fan may want to know whether Australia's selection for the Ashes team is closer to the players' current rankings than England's. A university whose admission policies are under scrutiny in court may want to argue that its admission policy is as based on SATs as those of comparable institutions. Or a government minister concerned about corruption in procurement contracts or personnel hiring may 1 An example from recent implementation of policy which some readers will be familiar with is the extent by which bibliometric criteria should be used in the evaluation of university research departments. Unlike in Italy, the UK funding body was persuaded to allow panels not to adhere strictly to bibliometric measures of departmental output, but allow the latitude afforded by peer review. We reprise this theme in Sect. 5. 2 As, for instance, the 1991 auctions for the 16 regional television franchises in the UK, when only half the franchises were awarded to the highest bidder; see Cabizza and De Fraja (1998), especially Table 1, pp 11-12. want to compare the orderliness of various commissioning boards or hiring panels, to identify and perhaps investigate atypical behaviour. On a broader scale, orderliness is a helpful yardstick when assessing inequality of opportunity: it can serve as a measure of nepotism, telling how close selection into society's elite is to the pecking order determined by family history, or of plutocracy, measured for example by the closeness of membership of Parliament to a person's position in the income distribution. The third kind of potential comparisons is for situations where both the selection and the selectors are the same, but there are two or more ways of ordering the elements of a set. In these cases, which are close to the topic of some related literature considered below (Kemeny 1959;Klamler 2008), the focus is on their relative importance in the selection. For example, a rugby analyst may want to know whether weight or speed is more important to be selected as a three-quarter for the Springboks. Or an external funder may want to know which of teaching and research is more important for promotion in a given university.
Comparing selections is straightforward only in the starkest cases. Sure, the selection of the best ranked is unquestionably more orderly than selections that do not. But is a university which, from its 102 applicants, admits as students those ranked according to their SAT scores second to 5th, 8th, 11th, 12th, 24th, 25th, 38th, and 47th more orderly than one that chooses the first 20, the 57th, and those ranked between 170 and 180 out of 500 applicants? Or, in an even simpler example, is picking the second ranked out of ten candidates for a job more orderly than selecting the third ranked out of 19? 4 This paper takes an axiomatic approach to comparing selections. The axioms are requirements of orderliness: a decision maker who is called to opine which is more orderly of two selections from different sets, that is which selection is in her opinion closer to the order-determined by a given measure-of the set from which it is taken, should only make judgements that obey these axioms. This is conceptually similar to the approach taken by Sen (1976) and Cowell and Kuga (1981) in regard to judgements on which of two groups of individuals poverty or inequality, respectively, is greater.
We begin with three natural axioms, which extend the dominance principle in the comparison of sets (Barberà et al. 2004, BBP in what follows). The first requires that when an element is replaced in the selection with a better one, then the selection is deemed to be more orderly. In the next two axioms we depart from the set-up of the literature reviewed in BBP, and in some of its extensions, such as Rubinstein and Salant (2006). The departure is that we consider elements that are not in the original set, thus allowing the comparison of selections from different sets, as in many of the examples given above. These axioms require that if a new element appears which is better than all the selected (non-selected) ones, then the selection is considered more (less) orderly if the new element is selected. Analogously for the appearance of a worse element. Extending the axioms to different sets implies that we cannnot, like the literature cited, take the rank of the elements as the starting point of the analysis, since a new elements change the ranks of all the elements below it. Instead, we need to make formally explicit the mapping from the measured performance to the rank of the elements ordered by this measure.
These three axioms, which we show to be independent, are not characterising: there are different orderings of selections from sets which satisfies them. In our main result we show that characterisation is achieved by replacing the first axiom with a stronger one, which we label "mirror invariance". This requires that if a change makes a selection more orderly, then the mirror image of the selection-that is the selection of only the non-selected elements-is made less orderly by the mirror image of the change. This is equivalent to requiring that the importance attributed to changes in the ordering be independent of where they occur: departures from the ranking are as important if they occur among the best or the worst ranked elements. This result is established in Theorem 1, which shows that the orderliness relation characterised by Axioms 2-4 is represented, in close analogy to the representation of a consumer's preference by a utility function, by an "index of orderliness", given by a simple function of the number of elements in the set, the number of selected elements, and the sum of the ranks of the selected elements.
The paper continues by showing that our index of orderliness has a simple relation with the concept of distance between rankings originally proposed by Kendall (1938), and given an axiomatic foundation by Kemeny (1959). This distance compares different selections from the same set, and, in this case, Proposition 4 shows that if a selection is more orderly than another selection from the same set, then the ranking of the set naturally induced by the first selection is nearer, in the sense of the Kendall-Tau distance, to the ordering of the set.
The paper is organised as follows: the dominance axioms and some preliminary results are in Sect. 2. The core of the paper is Sect. 3, which presents the index of orderliness, and strengthens one of the axioms to obtain a complete ordering of all selected sets. The relation with existing literature is explored in Sect. 4, and the paper ends with Sect. 5, which shows how the index can be used to assess the evaluation mechanism for promotion to professorship in Italian universities. A brief conclusion follows.

Axioms of "orderliness"
Let N R contain N ∈ N\ {1} distinct elements: x, y ∈ N implies x = y . 5 The inequality relation in R induces a transitive, complete and antisymmetric relation between the members of N . This relation is naturally defined as the rank in N , ρ N , a bijective mapping of the elements of N into the set of the first N natural numbers ρ N : N −→ {1, 2, . . . , N }, which satisfies ρ N (x) < ρ N (y) if and only if x < y. We choose this convention, that x has a better 6 rank in N than y if it is smaller, for definiteness. It would refer for example, to a situation where the real numbers are marathon runners' personal best times; the changes needed to apply the framework to situations where a larger real number is better, such as cricketers' career runs or scientists' citation counts, are obvious.
We next define a selection K as a proper and non-empty subset of N , that is K N , and K = ∅. Let K ∈ {1, . . . , N − 1} be the number of elements of K. We define the pair (N , K) a "selected set". 7 Let S be the family of selected sets.
Given a selected set (N , K) ∈ S , there is a natural mapping induced by ρ N from S into the set S defined as that is as the union, over the natural numbers greater than 1, of the cartesian product between N and the power set of {1, . . . , N } , with the set {1, . . . , N } itself removed. The generic element of the set S is therefore (N , {i 1 Define this map as: is the pair given by the cardinality of N and the subset of {1, . . . , N } which are the ranks in N of the elements of K: Recall that, because the elements of N are different, ρ N is invertible. Given a selected set (N , K) such that m(N , K) = (15, {2, 3, 8, 12}), implying that the second, the third, the 8th and the 12th ranked out of the set's 15 elements are selected, we may represent its image under m as follows: Elements are ranked from best to the left, to worst to the right, and a "1" in the j-th position indicates that the j-th element is selected. We single out the situations where the selection follows exactly the ranking.
Definition 1 Given a selected set (N , K) ∈ S , the selection K is "perfect " if x ∈ K and y ∈ N \K implies x < y. The selection K is "antiperfect" if x ∈ K and y ∈ N \K implies y < x.
7 Selecting members of a set is related but different from the administration of a test. In the former, the number of available places is usually fixed, or at least within a given range; whereas the important feature of a test, such as a school leaving exam, or the rejection of potentially faulty items from a production line, is the minimisation of errors, possibly weighted by the relative importance of type I and type II errors. Loosely speaking, one can think of selection according to a rank and testing as inverse operations: in the former, the number of slots is fixed, and the distribution in the population of the metric on which the ranks are based determines the threshold for selection; in the latter, the pass/fail threshold is fixed, and the distribution determines the number of successful elements.
In words, the selection K is perfect if no selected element has a rank worse than a non-selected element, and it is antiperfect if every selected element has a worse rank than every non-selected element.
Let S P ⊆ S be the set of all perfect selections, and conversely, let S A ⊆ S be the set of all antiperfect selections. Note that since K is a proper non-empty subset of N , S P ∩S A = ∅: no selection is simultaneously both perfect and antiperfect.
We want to compare selections, that is order the set S , in the following sense: consider two ranked sets N A with N A elements, and N B with N B elements, and selections K A and K B from N A and N B , respectively. We want to answer the question: is the selection K A from N A closer to or farther from the ranking of set N A than the selection K B from N B is to the ranking of set N B ? In terms of the examples given above, we want to know whether, say, a journalist's choice of the "all time England cricket test team" is more based on the players' record than an Italian chemistry academy's choice of the members of its scientific committee is based on the academics' citation count.
To formalise this question we define a binary relation M ⊆ S×S, which we interpret as "orderliness": orderliness is the property of being close to the ordering of the set.

Definition 2 Given two selected sets (N
We are thus defining equivalence classes in S : two selected sets ( , that is if the sets N A and N B have the same number of elements, and the ranks of the selected elements are the same in the selected sets (N A , K A ) and (N B , K B ). In particular, the image of ({x 1 , . . . , x N }, {x i 1 , . . . , x i K }) is the same as the image of any set where x j is replaced by any x in an interval of the real line containing x j but no other element of {x 1 , . . . , x N }. Thus Definition 2, accordingly, defines orderliness as a relation on the classes of equivalence in S .
We follow the standard convention used to describe preferences, and write is at least as orderly as (N B , K B ). "Strict orderliness", M , and "equal orderliness", ∼ M , are naturally defined: We require the orderliness relation M to be reflexive, so that all selected sets with the same image are equally orderly, complete and transitive. The assumption of completeness is a strong one, though it is necessary to ensure that orderliness can have operational value in practice, as it ensures that there are no selections which are "not comparable". Relatively simple examples show that it is in principle arbitrary to construct such a complete ordering. Consider two selected sets ( {2, 5, 6, 7, 10, 16, 24, 28}) and m(N B , K B ) = (21, {3, 6, 8, 10, 11}). These can be represented graphically as: In (N A , K A ), there are some selected elements among the best ranked, but there are also some below the median. In the second, from a smaller set, no selected element is below the median, but many are close to it: different observers might well have different views as to which of the two above selections is more orderly. As we show in this paper, this arbitrariness is fully resolved if one accepts the simple axioms we propose.
Even with completeness, without any further restrictions, the orderliness relation can still be vacuous: for example, the relation M = S×S, where all selected sets are equally orderly, is transitive, reflexive and complete, and so it can well represent a person's opinion of the orderliness of selections. In the rest of the paper, therefore, we impose some further requirements. As in BBP, they are natural restrictions on M, the relation between the images in S of the sets (N , K). BBP (p 904) begin by imposing the "extension rule": given x, y ∈ N , then m(N , {x}) M m (N , {y}) if and only if x < y. We strengthen the extension rule, requiring that the orderliness comparison be strict, and that it applies to any set, not just singletons. In words, Axiom 1 requires that the swap between an element in the selection and an element not in the selection makes the selected set strictly more (less) orderly if the rank of the newly selected element is better (worse) than the rank of the removed element. 8 Note that Axiom 1 is incompatible with the independence axiom (BBP p 905), which, in our framework, would require that, given selections (N , As BPP note, this axiom rules out "certain types of complementarities" (p 906), and runs therefore contrary to the motivation of the paper, which views selections in their entirety. In fact, BBP show that independence is a strong requirement in this context, as it prevents comparison between selections, except in very special cases (BBP, pp 910-922).
The next two Axioms we impose are the natural extension of the idea of dominance, which "requires that adding an element which is better (worse) than all elements in a given set A [...] leads to a set that is better (worse) than the original set" (BBP, p 905). In our more complex set-up, we want to compare subsets selected from different sets, and therefore we state the axioms as binary comparisons between sets with different number of elements.
Suppose a new element is added 9 to the set N , and this new element has better rank than every selected element. Then Axiom 2 requires that, if this new element is selected, the selection becomes more orderly (Axiom 2.i); if it is not selected, the selection becomes less orderly (Axiom 2.ii).
Axiom 3 is the converse of Axiom 2 at the other end of the ranking of the set N : if a new element is added to the set N which is worse ranked than every selected element, then the selection becomes more (respectively, less) orderly if this new element is not selected, Axiom 3.i (respectively, is selected, Axiom 3.ii).
To see these axioms "in action", consider the selected set represented graphically in (1). Axioms 2 and 3 are illustrated by the following changes in the selected set, where the new element is boxed.

Axiom
New element in set (1)  In the first and fourth rows the selection becomes more orderly, and in the second and third less so. In the first two rows the new element can indifferently be in the first or second position of the ranking; and in the third and fourth row, in any of the bottom four positions.
The selection (1) is neither perfect nor antiperfect, and so all the comparisons between it and the selected sets in the above table are strict.
The three axioms are independent: it is possible to define different orderliness relations such that one Axiom is violated but the other two are satisfied. To see this, consider an orderliness relation, M, which, given a selected set (N , K) and an element In word, in order for a new element to make the selection more orderly, it must be better than at least one non-selected element in N which is better than all the selected elements. Clearly M violates Axiom 2, and obeys Axioms 1 and 3. A symmetric argument holds in respect of Axiom 3. Lastly, consider an orderliness relation, M, which, given a selected set (N , K) and any two elements such that x < z < y. That is, in order to make a selection more orderly, a swap must be between elements which are separated by at least one element in N . M violates Axiom 1, and obeys Axioms 2 and 3.
Axioms 2 and 3 dictate the relative orderliness of two selected sets where the ranked sets, N and N ∪ {x}, differ in size by 1. The dominance axioms, labelled by BBP (p 905) the Gärdenfors principle (1976), impose an ordering on selections from a given ranked set, therefore they apply to sets of the same size. We derive them in our framework as immediate consequences of Axioms 2 and 3 in the following corollary.
Proof We only establish the first claim, as the proof of the remainder is essentially identical. Consider a selected set (N , K), and an x ∈ N \K such that x < y for all y ∈ K.
Note that this implies that (N , K) / ∈ S P . Take z / ∈ N , such that z < y for all y ∈ K, and x Rz (that is z is better than every selected element, but worse than x). By Axiom since an excluded element better than all selected elements is replaced by another, and so (N , Intuitively, if a non-selected element that is better ranked than every selected element were instead selected, the selection would become more orderly (Corollary 1.i), and if the best element in the selection were removed, the selection would become less orderly (Corollary 1.ii). Conversely, consider an element in N which is worse ranked than every selected element: if it is removed from the selection, then the selection becomes more orderly (Corollary 1.iii); if it is added to the selection, then the selection becomes less orderly (Corollary 1.iv).
While Corollary 1 is an obvious consequence of Axioms 2 and 3, the next result is less immediate, and shows that, although Axioms 1-3 may seem weak, they do have some bite, as can be inferred from one of their implications on the comparison of "extreme" selections from different sized sets.
Proof Let us begin with (i). Consider a perfect selection of K p elements from a set (N p , K p ), with (N p , K p ) ∈ S P . Clearly the best ranked K p elements are in K p , the rest in N p \K p . Now add to the set and to the selection an element z 1 such that Next return to the selection (N p , K p ), and add, again to the set and to the selection, an element z 2 such that x < z 2 for all x ∈ K p , and z 2 < y for all y ∈ N p \K p (that is z 2 is worse ranked than every selected element, but better ranked than every nonselected element). By Axiom 3.ii, (N p , K p ) M (N p , ∪{z 2 }, K p ∪{z 2 }). But now notice that both new selections select only the best ranked K p + 1 elements: hence, m(N p , ∪{z 1 }, K p ∪{z 1 }) = m(N p , ∪{z 2 }, K p ∪{z 2 }) . By transitivity, these both equal m(N p , K p ). The process can be repeated to show that all perfect selections are equally orderly. The proof of (ii) is identical. Consider (iii) next. Take a selection (N , K) with (N , K) ∈ S \S P \S A . Let N and K be the number of elements in N and K. Now let x 1 ∈ K be the best ranked selected element such that there is a nonselected element y ∈ N \K such that y < x 1 . Because the selection is not perfect, it is possible to find such a x 1 . Next let y 1 ∈ N \K be the best ranked non-selected element such that there a selected element x ∈ K such that y 1 < x. Again, because the selection is not antiperfect, it is possible to find such a y 1 . Now by Axiom 1, If not, we can repeat, until a perfect selection in reached. This happens in at most min{K , N − K } steps, and establishes that ( In words, Proposition 1 says that all perfect selections are equally orderly, and similarly, that all antiperfect selections are equally orderly. The third statement asserts that every perfect selection is strictly more orderly than every non-perfect selection, and every antiperfect selection is strictly less orderly than every nonantiperfect selection. This is entirely reasonable when the selection is from the same set. Thus, selecting the best ten from a set of one hundred elements is clearly more orderly than selecting the best nine and the eleventh. However, as we want to extend the range of selected sets to be compared, it is possible to think of extreme situations when the size of the sets and of the selections is different, and when the argument that a perfect selection is more orderly is less clear-cut. Consider, for example, the following case: is selecting the better of the two elements of a set unquestionably more orderly than selecting the best 25 and the 27-th ranked out of a set with 10,000 elements? Proposition 1 answers unambiguously yes, but someone might argue in favour of the opposite, on the grounds that the former is more likely than the latter to have been determined by other criteria, which by chance happen to coincide with the rank, whereas the selection of the first 25 and the 27-th elements out of a very large set would almost surely be seen as the consequence of a determinate intention to use the rank as the criterion for selection, with the 26-th element being excluded due to some other criterion.

An index of "orderliness"
Definition 3 An index of orderliness is a function M : S −→ [−1, 1] such that, given any two selected sets ( Note that we require the index to takes values ranging from −1 to 1, in the cases of an antiperfect and a perfect selection, respectively. Of course, a different normalisation would allow us to choose any two end points. However, in analogy with the measures of correlation, having 1 indicating perfect orderliness, and −1 its antithesis, where the selection perversely chooses the worst elements, does seem the natural choice. In analogy with the theory of consumers' preferences, existence of the index of orderliness is ensured by the additional requirement that the orderliness relation is continuous. The formal proof is identical with the proof of the existence of a utility function; as with consumer theory, a lexicographic relation illustrates well the need of continuity to represent orderliness through an index. Consider the following way of comparing the orderliness of any two selected sets: take first the best ranked element in each: if only one selection includes it, then that selection is strictly more orderly than the other. Otherwise, look next at the second best ranked element, and again, if it is included only in one selection, this is the more orderly one. Again, if they are both or neither selected, go to the next ranked element and so on. If one selection "runs out of elements" before the other, then it is less orderly. In analogy with consumer preferences, this relation is reflexive, complete and transitive, but it is not continuous, and so it cannot be represented by an index of orderliness. 10 To ensure existence of a orderliness index representing a relation M, therefore we require that the orderliness relation be continuous. 11 Uniqueness, on the other hand, is not ensured by the three axioms proposed: it is possible to find pairs of relations both satisfying the three axioms, which rank differently the orderliness of given selected sets, and therefore are represented by indices of orderliness which attach differently ordered values to given selected sets. To see this, consider the following two indices. and .
(3) 10 The relation given in the text can be formalised as follows. Given any two selected sets ( For future reference, it is convenient to denote the sum of the ranks of the selected elements as: Using (4), the expression in (2) can then be written as where r K and r N ,K are the sum of the ranks when the best and the worst K elements are selected, respectively, and therefore they are given by: m (N , K)): it can be written as where r 1,K and r N ,K 1 are the sum of the squares of the ranks when the best and the worst K elements are selected, r 1,K = K j=1 j 2 , and r N ,

Proposition 2 A relation represented by the index M(m (N , K)) satisfies Axioms 1-3.
Proof Suppose a relation M on S × S is given, which can be represented by the index (2), M(m (N , K)). We begin by showing that M satisfies Axioms 2 and 3. In each of these axioms, a new element z is added to the set N . Therefore N increases by 1. What happens to K and to the total rank r depends on which part of which Axiom is considered. In Axiom 2.i the new element z is in the selection, and so K also increases by 1, and as z is better than every selected element, the total rank increases by ρ N (z) + K : each of the K previously selected elements increases by 1, and the new element's rank ρ (z) is added to the total. The value of M therefore changes from which is increasing in r , and equals 2 (N −K )(K +1) > 0 when r takes its lowest possible value given ρ N (z), ρ N (z)+K j=ρ N (z)+1 j. Thus it is positive for every feasible value of r .
If the new element is not selected, Axiom 2.ii, then K does not change, but the total rank of the selected elements increases by K , since the rank of every selected element increases by 1, and so the value of the index changes from (5) to which is increasing in r , and since it is 0 at the maximum value of r , r N , , it is strictly negative for any other value of r , establishing the result.
Next consider Axiom 3. There is a new element in N which is worse than all the elements selected. In Axiom 3.i, the new element is not selected, and so neither K nor r change. In this case, the index (2) becomes The difference with its previous value, (5) , which is increasing in r . Since it is 0 at the minimum value of r , which is r K = K (K +1) 2 , it is strictly positive for any other value of r , and so the index increases in this case. Finally Axiom 3.ii: the new element, worse than all those already selected, is itself selected. Thus K increases by 1 and r by ρ N (z), and so index (2) becomes and the difference with (5) is , increasing in r and taking, for given ρ N (z), its maximum value, 0, at r = Consider finally Axiom 1, which is straightforward: the swap between an element in the selection and an element not in the selection changes neither K nor N . It only changes r , and so clearly the index M increases if r decreases, that is if a better ranked element takes the place of a worse ranked one in the selection. This establishes that the index (2) satisfies all the Axioms and completes the proof. Table 1 summarises the proof of Lemma 2, by presenting a schematic description of the effects of adding a new element to a selected set, and of the effects which Axioms 2 and 3 require on the value of the index: in all cases, N increases by 1, and K , r , and M (N , K) are the original values of the size of the selection, of the sum of the ranks, and of the index of orderliness.
The analogous of Proposition 2 for the index (3) holds, but its proof is essentially identical to the above proof and is omitted. 1 (m (N , K)) satisfies Axioms 1-3. r increases by ρ N (z) + K , r increases by ρ N (z), K increases by 1. K increases by 1.

Proposition 3 A relation represented by the index M
The orderliness is higher: The orderliness is lower: r increases by K , r does not change, K does not change.
K does not change.
The orderliness is lower: The orderliness is higher: Now consider the following two selected sets,  (2), then the second is more orderly, and vice versa, if orderliness is described by a relation represented by index (3) then the first is more orderly. Thus both indices M and M 1 satisfy Axioms 1-3, and yet they give a different answer to the question of the relative orderliness of the two sets: Axioms 1-3 are not characterising.
The restriction required to ensure characterisation is remarkably simple, as the rest of the paper shows. We replace Axiom 1 with the following.

Axiom 4 (Mirror invariance) For all (N , K) ∈ S and x
In words, suppose that a new element is added to the set N , and that this makes the new selected set more orderly. Then it must be the case that the "mirror image" of the new selected set, that is the selection from the same set which includes all the elements which are not selected in the original selection, and excludes all those which were included, is less orderly than the mirror image of the original selected set. Axiom 4 is stated for the case when the new element is selected, but it of course implies the opposite case: If the first selected set is more orderly than the third, which differ from the first as it has a new element, ranked 5, which is selected, then it must be the case that the second is less orderly than the fourth, which is the mirror image of the third, and vice versa.
We can now establish the main result of the paper. (2).

Theorem 1 A reflexive transitive, complete and continuous orderliness relation M satisfies Axioms 2-4 if and only if it can be represented by a monotonic transformation of the index of orderliness M(m(N , K)), given in
The "if" part of this result follows immediately from Proposition 2: to see this simply note that Axiom 4 implies Axiom 1. To establish the "only if" part, suppose that there is an orderliness relation which satisfies Axiom 4, which is represented by an index M which is not a function of the sum of the ranks of the selected elements. In particular take a set (N , K) and a new element x / ∈ N , and let the index attached to the set (N , K) have value M 0 . This can be mapped into the index of orderliness (2), so that The "only if" part is based on the following Lemma, which also has independent interest.

Lemma 1 An index of orderliness represents a relation M satisfying Axiom 4 if and only if it is a decreasing function of the sum of the ranks of the selected elements.
Proof Consider a set (N , K). We show, first, that the index (7), which is decreasing in the sum of the ranks of the selected elements, does indeed satisfy Axiom 4, and, second, that an index which satisfies Axiom 4 must be decreasing in the sum of the ranks of the selected elements.
Starting from the set (N , K) , suppose that we add a new element x, which takes rank ρ N (x), and with k x selected elements in the "initial" set (N , K) with better rank than x. The sum of the ranks of the selected elements in the new set , and hence the index of orderliness of this new set is given by: Suppose that this new element x makes the selection more orderly, and so the expression on the RHS of (8) must exceed the corresponding expression in (7): Re-arranging, we can see that the above inequality holds, and therefore that the index of orderliness increases when the new element x is added to the selected set and selected, if and only if Now, for Axiom 4 to hold, we require that the mirror image of the new set is less orderly than the mirror image (N , N \K) of the "initial" set, since the set (N ∪ {x} , K∪ {x}) is more orderly than the "initial" set (N , K).
We therefore proceed to calculate the index of orderliness for the mirror image of the "initial" set (N , K), that is for the selected set (N , N \K). In this set, there are N elements of which (N − K ) are selected. The sum of the selected elements of (N , N \K) is given by N (N +1) 2 − r , and so we have: ( 1 0 ) The mirror image of the "new" set increasing the sum of the ranks of the selected elements by this amount. Thus: Axiom 4 requires that the RHS of (10) exceeds the RHS of (11). Simple algebraic re-arrangement shows that this is the case if and only if condition (9) holds. We have therefore shown that an orderliness relationship that is represented by the index (7) satisfies Axiom 4. Next we show that if an orderliness relationship satisfies Axiom 4, then it must be decreasing in the sum of the ranks of the selected elements. And thus there is a monotonic transformation such that it equals index (7).
We proceed from a selected set (N , K), to which we add a new element x / ∈ N , which is selected, and then remove a selected element of N , y ∈ K. Thus we start from set (N , K) and arrive at a "final" set (N ∪ {x} \ {y} , K ∪ {x} \ {y}), which has the same N and the same K . Suppose that this makes the new set more orderly. We show that the change in the sum of the ranks of the selected elements from the "initial" set and the "final" set has the opposite sign of the corresponding change in their mirror images. Recall that, since this orderliness relation satisfies Axiom 4, then the mirror image of the "new" set is more orderly than the mirror image of the original set (N , N \K), and so the index is monotonic in the sum of the ranks of the selected elements. Moreover, because it must take values −1 and 1 at antiperfect and perfect selections respectively, then it must be monotonically decreasing, and this proves the Lemma.
So to establish the above argument, we compute the sum of the ranks of the selected elements in these four sets, namely the "initial" set (N , K), the "final" set (N ∪ {x} \ {y} , K ∪ {x} \ {y}), and their respective mirror images, (N ∪ {x} , N \K) and (N ∪ {x} \ {y} , N \K). Begin with a selected set (N , K) , and let r be the sum of the ranks of the selected elements. Add x, and the sum of the selected ranks of the selected elements of this set, where, as above, k x is the number of selected elements in the "initial" set (N , K) with better rank than x. Now remove from this set the element y, which has rank ρ N ∪{x} (y) in the set (N ∪ {x} , K ∪ {x}). The sum of the rank in the set thus obtained, where k y is the number of selected elements in the "intermediate" set (the initial number of selected elements, minus the number of those which are better than x: there are (ρ N (x) − 1) elements of rank lower than x and k x are selected). Finally, remove y from the mirror image of the intermediate set, to obtain the mirror image of the final set. The sum of the ranks of the selected elements of this set is The first brackets contain the sum of the ranks of the selected elements in the intermediate set. This is changed by the removal of y: we must subtract 1 for each of those elements that were in the "intermediate" set (N ∪ {x}, K ∪ {x}), had worse rank than y, and were not selected: N − K were not selected, and k y were better than y. So ρ N ∪{x} (y) − k y were not selected and are better than y.
To establish the Lemma we need to show that if the sum of ranks (12) is lower than r (the sum of the ranks in the "initial" set (N , K)), then the sum of the ranks of (13) is higher than (N +1)N 2 − r , the sum of the ranks in the mirror image of the "initial" set (N , N \K). That is if then As required, (14) and (15) are equivalent, and the proof is complete.
This Lemma implies that a change that decreases the sum of the ranks of the selected elements makes the set more orderly would make the mirror image of the selected set less orderly, as required by Axiom 4.
We can now prove the main theorem, by showing that every index of orderliness representing a relation M satisfying Axioms 2 and 3 which is a decreasing function of the sum of the ranks of the selected elements is a strictly monotonic transformation of M(m (N , K)).
Proof of Theorem 1 Given the ordinal property of the ranking determined by the index, any strictly decreasing function of the sum of ranks can be mapped through a monotonic transformation into a decreasing linear function of the sum of ranks. That is, any index of orderliness which is a function of the sum of the ranks, r , can be transformed into one that is written as Moreover Proposition 1 constrains all perfect selections have the same value, and all antiperfect selections also to have the same value: these values can be normalised to 1 and −1 respectively . This implies that for every N > 1 and every K < N , the following must hold The first condition requires all perfect selections to give value 1 to the index and the second all antiperfect selections to give value −1. Solving the above in a K ,N and b K ,N , we get: Next, we proceed by induction on N . When N = 2, its lowest possible value, there are two possible selections from the set {1, 2}, K = {1} which has sum of ranks r = 1 and K = {2} which has sum of ranks r = 2. The former is perfect, and so we must have a 1,2 − b 1,2 = 1, and the latter is antiperfect, and so a 1,2 − 2b 1,2 = −1, (18) and (19) satisfy these constraints. In addition, (18) and (19) must also satisfy Axioms 2 and 3.
This establishes that the coefficients a and b satisfy (16) and (17) and so are given by (18) and (19) when N = 2, and establishes the first step of the induction process. For the second step, assume to have shown that the statement holds for N − 1, that is: for all K = 1, . . . , N − 2. Recall that r K and r N ,K are the lowest and highest possible values for the sum of ranks r when the set has size N and the selection has size K . We must have: because if the selection is perfect then including a new element both in N and in K increases the lowest possible sum of the ranks by K . And similarly for the highest possible sum of ranks: By the induction hypothesis, (20)-(21), we have that Substitute these into the two above equations, (22) and (23): to get: Finally, solve the above in a K ,N and b K ,N , to obtain (18) and (19). This establishes the Theorem.
Obviously any strictly monotonic transformation of the index (2) would represent a relation satisfying Axioms 2-4. The functional form in (2), which is linear in the sum of ranks, has the natural property of being 0, in expectation, if the selection is completely random: to see this, note that the expected rank of K random draws is . Substitute this in (2), to obtain 0. Theorem 1 is the main result of the paper: in words, it shows that the index of orderliness (2) satisfies the dominance Axioms 2 and 3, and the mirror invariance Axiom 4, and, conversely, that any index which satisfies the dominance Axioms 2 and 3, and the mirror invariance Axiom 4, is a monotonic transformation of the index of orderliness (2). Only index (2) satisfies all three axioms, and it is the only one (up to monotonic transformations) to do so: Axioms 2, 3 and 4 together characterise the index of orderliness (2).
The structure of the proof of Theorem 1 allows to replace the mirror invariance Axiom with an equivalent one, which gives a different interpretation to the restriction imposed on the orderliness relation to obtain characterisation.
Axiom 5 (Position Irrelevance) For every (N , K) ∈ S and for every y 1 ∈ N \K and x 1 ∈ K, satisfying ρ (x 1 ) = ρ (y 1 ) + a, and any y 2 ∈ N \K∪ {x 1 } and x 2 ∈ K∪ {y 1 }, satisfying ρ (x 2 ) = ρ (y 2 )−a, where a is any integer such that ρ (y 1 )+a, ρ ( In words, Axiom 5 considers two subsequent "swaps" between a selected and a nonselected element. The element newly included in the selection and the one removed differ in rank by a. The second swap turns the intermediate selection obtained with the first swap into the final one, by selecting an element not selected and removing another element from the (intermediate) selection which are −a ranks apart. Thus, for example, if the first swap selects the (originally non-selected) 12-th ranked element and de-selects the 19-th ranked; their difference in rank is −7. Suppose the second swap selects the (originally non-selected) 56-th ranked element and de-selects the 49-th ranked; their difference in rank is 7. 12 Then, by Axiom 5, the initial and the final selection are equally orderly. In shorter, looser words, the effect of a change in the selection depends only on the extent of the change, not on whether it affects the upper or the lower tail of the distribution. 13 We note that the relative importance of the position in the ranking is at the core of the analysis of distance between preferences in Can (2014). It is straightforward to establish the following. Proof This is simply a consequence of Lemma 1 together with the obvious observation that the sum of the ranks is left unchanged by a swap that satisfies Axiom 5.
Note that Theorem 1 and Corollary 2 together imply that Axioms 4, mirror invariance, and Axiom 5, position irrelevance, are equivalent: each holds for a relation if and only if the other does.

The index M and the Kendall-Tau distance
The study of metrics on orders, initiated by Kendall (1938) has developed a measure of distance between two rankings of the elements of a given set N , the Kendall-Tau distance (Kemeny 1959), recently extended to choice functions (Klamler 2008). This is obtained by counting the number of times the two rankings "switch" two elements x, y ∈ N . That is, if ρ 1 and ρ 2 are the two rankings, the distance between them is the number of pairs (x, y) ∈ N × N such that ρ 1 (x) > ρ 2 (x) and ρ 1 (y) < ρ 2 (y). This count can then be normalised by the maximum possible number of switches.
This idea has been applied to voting mechanism, whereby a ranking is interpreted as a vote, and the outcome of an election as the aggregation of the rankings of different voters. 14 We view the Kendall-Tau distance from a different angle: note in the first place that the index of orderliness (2) applies to a broader range of situations, such as those where the selections being compared are from different sets. Secondly, the orderliness index (2) compares selections, rather than rankings, as the Kendall-Tau distance does. Nevertheless, a selection does rank the elements of a set, albeit in a very coarse manner: the K selected elements are joint first, and the non-selected ones are joint (K + 1)-th. Recall that the Kendall-Tau distance is defined when there are ties, and so we can measure the Kendall-Tau distance between the ranking determined 12 The element swapped in the second swap need not be different from the elements swapped in the first. 13 A simple example may illustrate this idea: in some sports, a team's success is determined by the performance of its best athletes. This is typically the case, for example, in "Grand Tour" cycling, where a team's objective is for the team leader to win the race. In rowing (and in team pursuit cycling), on the other hand, everyone must push at the same rate, and the team's result is heavily influenced by the performance of its weakest members. Ranking of selections would, in these sports, violate Axiom 5. Conversely, relays in track and field (especially the 4 × 400) approximately satisfy Axiom 5. 14 Young (1995) includes an intuitive introduction; among the many more recent examples, Davenport and Kalagnanam (2004), or Betzler and Dorn (2010); Davenport and Kalagnanam (2004). by a selection and a given ranking ρ of N . In this section we study the relation between this Kendall-Tau distance and the index of orderliness (2), M (N , K).
To develop the formal analysis, given a selected set (N , K), define a mapping κ N K : N −→ {1, . . . , N } as follows: That is the ordering κ N K assigns a better rank to x ∈ N than to y ∈ N if and only x is selected and y is not. We can label κ N K the ordering induced by the selection K.
Since it is an ordering of the set N , we can define the Kendall-Tau distance between ρ and κ N K . To count the number of switches between rankings ρ and κ N K , note that a switch occurs only when the better element is not selected and the worse one is. The total number of switches is thus measured by: where ε ∈ (0, 1). To see this, note simply that the first term is 1 2 if only one of x and y is selected, and is 0 otherwise. Consider the second factor: given that κ N K (x) = κ N K (y), its second term is 1 if ρ and κ agree, and −1 if they do not, and so the whole term is 2 if a switch occurs. The role of ε is to ensure that the denominator is never 0. To sum up, the Kendall distance, between the ranking of a set N and the ranking induced by the selection K is given by Next note that the maximum number of switches is (N − K ) K , which happens in an antiperfect selection, where the first N − K elements have K switches each, and therefore the normalised Kendall-Tau distance iŝ One would want that the shorter the distance between the given ranking in the set N and the ordering induced by the selection K, the more orderly the selected set (N , K). The next results shows that this is indeed the case: it shows that there is a very simple link between the normalised Kendall-Tau distance (25) and the index of orderliness (2).
Proof We proceed by induction on N , the number of elements of N . It is trivially true for N = 2. In this case, K = 1: when the better (worse) element is selected M(m (N , K)) = 1 andτ (N , K) = τ (N , K) = 0 (M(m (N , K)) = −1 and τ (N , K) = τ (N , K) = 1). Next, suppose to have demonstrated the result for N − 1; let K be the number of selected elements, so we have which implies: Now increase the number of elements in the set from N − 1 to N , which is achieved via the inclusion in N of a new element, z. Its rank in the new set N ∪ {z} is ρ (z) ∈ {1, . . . , N }, and z is either selected, giving the new selected set (N ∪ {z} , K ∪ {z}), or not selected, giving the set (N ∪ {z} , K). Consider the first case: the new number of selected elements is K + 1. In this case note that the total rank of the selected elements increases by ρ (z) + s, where s is the number of elements in the set {y ∈ K|ρ (y) > ρ (z)}. The new value of τ , is instead equal to the previous one, τ (N , K), increased by the number of new switches generated by z: all the previous switches remain such of course. This is given simply by the number of elements in the set {y ∈ N \K|ρ (y) < ρ (z)}, which can be obtained by noting that there are ρ (z) − 1 elements ranked better than z, and that K − s are selected (because s is the number of selected elements with rank worse than z). Thus the increase in τ is (ρ (z) − 1 − (K − s)). This gives: Rearrange to obtain (27) again. Suppose instead z is not selected, and the new set is (N ∪ {z} , K). The total rank of the selected elements increases only by s, where again s is the number of elements in the set {y ∈ K|ρ (y) > ρ (z)}. The new value of τ is instead equal to the previous one, τ (N , K), increased by the number of new switches generated by z, which in this case is s, the number of selected elements with rank worse than z. Hence we can write which again gives (27) and completes the proof.
Thus, in addition to satisfying natural axioms, the index (2) coincides, in the situations where both can be applied, with an established measure of distance between rankings. This paper therefore provides a micro-foundation of the Kendall-Tau distance, which currently lacks one.
The Kendall-Tau distance and the Spearman coefficient of rank correlation give in general different answers to the question of the comparison between two rankings: this implies that there at least one of the axioms is violated by the Spearman coefficient of correlation between the original ranking and the ordering κ N K derived in (24). The Spearman coefficient, originally intended for situations with no ties in either ordering, has been adapted by Taylor (1964) for the case of ties: the adaptation involves replacing the ties with "fractional ties" and adjust with one correction factor for each set of tied values, again, in either of the two orderings. Given the assumption of no ties in the ordering of the set N , and given that there are only two ranks in (24), and thus exactly two correction factors will be required, one for K, the other for (N-K) tied elements, the Spearman coefficient of correlation between the original ranking and the ordering κ N K derived in (24) is given by: We now show one example of a violation of one of the Axioms. Consider a selected set (N , K) represented by 0101110000000. Applying the above formula, we find that the Spearman correlation coefficient is 0.3929. Now consider adding a new element which occupies the seventh place in the new ranking, hence is worse that all of the selected elements, and is itself selected, so the new selected set can be represented by 010111 1 0000000 (the new element is the one in the box). By Axiom 3.ii, the new set must be less orderly. However, applying the above formula to the new set gives a higher value of 0.4154, in violation of Axiom 3.ii. Similar counterexamples can be found for the other Axioms, except Axiom 1. Another measure of correlation is the Kappa correlation. This applies to ranking with very few steps (and coincides with the selection when there are only two categories). This suggests a direction for future research in this area, namely the extension of the index of orderliness to situations where the selection is more nuanced than simply "in" and "out". An example is a coach selection of the first team and of the second team for a sport tournament.

Example: orderliness in Italian universities
The orderliness index proposed here finds a natural application in the analysis of promotions in hierarchical organisations, where, at given intervals, individuals from the pool of potential candidates are assessed and some are promoted, some are not. The determinants of promotions may be stated formally or known implicitly: thus for example, academic promotions may be decided by criteria ranging from scientific productivity, to teaching performance, fund-rising ability, seniority, or age; the relative importance of performance along the various criteria may of course vary from institution to institution and from discipline to discipline.
As explained in Checchi et al. (2014), academic careers in Italy are firmly channelled along narrowly defined research fields: every academic is allocated to one and only one of 371 scientific sectors (SSDs), changing sector is relatively unusual, and the members of the promotion panels in each scientific sector are chosen exclusively among academic post holders in that sector.
The dataset assembled by Checchi et al. (2014) allows us to rank all the candidates for promotion to associate professor in each scientific sector in the period from 1995 to 2011 according to two criteria, their record of publication in international journals 15 and their age.
Since with minor exceptions, each panel could select for promotion only candidates from the lower rank within the same sector, it is a simple matter to calculate the orderliness of the selections made by the promotion panel in each scientific sector, in each of the four separate sub-periods which Checchi et al. (2014) suggest to aggregate calendar years to reflect the pattern of the promotion rounds. Figure 1 describes the outcome of this process. Each dot corresponds to one of 371 scientific sectors, except the smaller ones, in one 4-year interval. The abscissa of a dot is the orderliness according to scientific productivity, its ordinate the orderliness according to age. 16 Broad scientific areas are colour coded; we have also singled out economics and econometrics among the social science sectors. An analysis of the Italian university sector might use these indices as characteristics of the selection procedures used in promotion and appointments. A cursory visual analysis suggests that overall productivity matters more than age, and also that it matters more in STEM subjects.

Concluding remarks
Often an agent chooses a number of options from a larger set, the elements of which can be ranked in some objective or generally accepted manner. We propose a way 15 Details are again in Checchi et al. (2014): from the Thomson Reuters Web of Knowledge dataset, we construct for each candidate a score given by a combination of research output and impact: the former measured by the number of publications, and the latter by the individual h-index. 16 Occasionally, the rankings we constructed in this way display ties. The analysis of this paper applies to antisymmetric relations on the set N , and thus it excludes ties at the outset. To break the ties in the construction of the orderliness index displayed in Fig. 1, we have followed a randomisation approach, by bootstrapping the orderliness index (2) over many repetitions of the procedure, whenever a scientific sector's ranking has ties.  -1995-2011 to assess how close this agent's selection is to the order of the set. Aside from its intrinsic interest in the examples given in the introduction, availability of this measure might address the need reported in the medical literature for an objective evaluation of clinical services (Iverson 1998;Bickman 2012), or help the study of aspects of social mobility, such as the importance of a person's family position in her access to leadership positions in society. 17 In this paper, we require that the comparison between selections satisfies some natural dominance requirements (Axioms 2 and 3), and the requirement that the mirror image of a change that nears a selection to the ranking must push the mirror image of that selection away from the ranking (Axiom 4). These three simple axioms prove very strong, in that they identify a unique index which provides an unambiguous comparison of the relative closeness of any selection to the order of the set from which it is taken. This index has a very simple expression, which depends only on the sum of the ranks of the selected elements, and the number of elements in the set and in the selection. The paper ends with a specific example of the potential applications of our index to the Italian university system. 17 Orderliness is at the basis of the popular book and film Moneyball (Lewis 2004), which tell the story of a baseball team with relatively scarce financial resources which was able systematically to outperform its much wealthier rivals by basing all its selections on the players' ranks; Hakes and Sauer (2006) confirm econometrically the book's intuition. Similarly, "artists and repertoire" talent spotters are being replaced in the music industry by detailed analyses of big data harvested from social media (Mukerji 2015). Anderson and Sally (2013) argue that the nature of the sport makes the method less applicable to soccer.