---
title: "Value pluralism, utility, and justice"
subtitle: "Class"
author: "Joshua Loftus"
format:
  html:
    toc: true
execute:
  message: false
  warning: false
---

::: {.callout-note}
This is the student version of the class sheet. The exercises are for your own time; the class works through everything under "In class". Answers are revealed in class.
:::

## How this sheet works

Exercises rederive or apply the lecture's results. Do them on your own
time; they are not worked in class. The class works the items under
"In class," in that order, then what it can of "If there is time."
The items in class need only this sheet.

Most items are about who gets something that cannot go to everyone, or
whether a program should go to everyone: by a score, a rule or a
lottery, and what the choice says about what is valued. Each item ends by asking who bears the error,
who gains from it going unnoticed, or who the choice could be
justified to.

## Exercises

Attempt each part before you open a hint. Notation as in the lecture
notes.

::: {.callout-warning title="Hints"}
Do not open a hint unless you have been stuck for at least a few
minutes, and open them in order.
:::

### Exercise 1. Weights

Four applicants for a place are scored from 0 to 1 for need and for
how much the place would benefit them:

| Applicant | Need | Benefit |
|:---|---:|---:|
| A | 0.9 | 0.1 |
| B | 0.5 | 0.4 |
| C | 0.2 | 0.6 |
| D | 0.4 | 0.3 |

(a) One applicant dominates another if they score at least as high on
both. Which of the six pairs does dominance order?

(b) A score $w \cdot \text{need} + (1 - w) \cdot \text{benefit}$, with
$0 \le w \le 1$, orders every pair. For which $w$ does B rank above A?

(c) For each applicant, find the weights at which they are ranked
first. Is anyone never first, whatever the weight?

(d) At the weight where B and C tie, how many units of benefit is one
unit of need worth?

(e) An official chooses $w = 0.5$ "to treat need and benefit equally."
Who is first? Now suppose benefit had been scored from 0 to 2 instead,
each applicant's benefit doubled, and $w = 0.5$ kept. Who is first? Who
could the official's choice be justified to?

::: {.callout-tip collapse="true" title="Hint 1"}
For (b) and (c), each applicant's score is a straight line in $w$.
Where do two lines cross?
:::

### Exercise 2. Three rules

Three policies give three people these amounts of a good:

| Policy | Person 1 | Person 2 | Person 3 |
|:---|---:|---:|---:|
| J | 9 | 9 | 9 |
| K | 16 | 16 | 4 |
| L | 49 | 1 | 0 |

(a) Which policy does each rule pick: the largest sum, the largest sum
of square roots, the largest minimum?

(b) Is any policy at least as good as another for every person?

(c) Take the amounts as utilities. Now measure person 3's utility in
units five times smaller, so that each of their amounts is multiplied
by 5. Which policy does each rule pick now?

(d) A person behind a veil of ignorance gives themselves an equal
chance of being each of the three people and maximizes their expected
utility. Which policy do they pick if utility is the amount, and which
if it is the square root of the amount?

(e) Person 3 gets nothing under L. Who decided the units in (c), and
could policy L be justified to person 3?

::: {.callout-tip collapse="true" title="Hint 1"}
For (d): an equal chance of being each person makes expected utility
the average over the three people.
:::

### Exercise 3. Utility from a lottery

A person is indifferent between £30 for sure and a ticket that pays
£100 with probability 0.6 and nothing otherwise. Set
$u(\text{£0}) = 0$ and $u(\text{£100}) = 1$.

(a) Find $u(\text{£30})$, if the person ranks the two options by
expected utility.

(b) Without asking anything more, would they prefer £60 for sure or
the ticket? What are you assuming?

(c) A second person is indifferent between £30 for sure and a ticket
that pays £100 with probability 0.3. Would each of the two take a
ticket that pays £100 with probability 0.45 over £30 for sure? Which of
the two is more averse to risk, at these stakes?

(d) Can you tell from this which of the two people would gain more
from being given £30?

(e) The construction used a ticket whose probabilities were stated. A
policy's outcomes come with no stated probabilities. Who supplies
them, and who bears it if they are wrong?

::: {.callout-tip collapse="true" title="Hint 1"}
For (d): the scale was fixed by choosing $u(\text{£0}) = 0$ and
$u(\text{£100}) = 1$ for each person. Was that choice forced?
:::

### Exercise 4. Bounds and a harm weight

For each person, $Y(1) = 1$ if they would do well with a program and
$Y(0) = 1$ if they would do well without it. A person is **helped** if
$Y(1) = 1$ and $Y(0) = 0$, **hurt** if $Y(1) = 0$ and $Y(0) = 1$,
**well either way** or **badly either way** otherwise. A randomized
trial estimates $p_0 = P(Y(0) = 1)$ and $p_1 = P(Y(1) = 1)$. In a
trial, 30% do well without the program and 50% with it. Treat these
as the population values.

(a) What share of people could the program have helped, and what share
could it have hurt?

(b) Show that the share helped minus the share hurt is 0.2, whatever
the split.

(c) Count harming a person as $\lambda$ times as bad as failing to help
them, so that giving everyone the program is worth
$W = P(\text{helped}) - \lambda P(\text{hurt})$ per person. For which
$\lambda$ does the trial settle that $W > 0$?

(d) If nobody could be hurt by the program, what is $W$?

(e) Who are the hurt, and who decides $\lambda$? Who gains if only the
20-point average is reported?

::: {.callout-tip collapse="true" title="Hint 1"}
Write $p_0$ and $p_1$ as sums of the shares of the four kinds of
person.
:::

::: {.callout-tip collapse="true" title="Hint 2"}
For (c): use (b) to write $W$ in terms of $P(\text{hurt})$ alone.
:::

### Exercise 5. Two groups (harder)

Another trial reports two groups. In group G, 40% of people, 20% do
well without the program and 80% with it. In group H, the other 60%,
50% do well without and 40% with. Treat these as the population
values; notation as in exercise 4.

(a) Find the overall shares doing well without and with the program,
and the bounds on the share hurt from those two numbers alone.

(b) Find the bounds on the share hurt within each group, and from them
the bounds overall. Do the same for the share helped.

(c) What share would do well if only group G got the program?

(d) The overall average effect is 18 points. Who gains if that is the
only number reported? Is giving the program to group G only fair to
the people in group H who it would help?

::: {.callout-tip collapse="true" title="Hint 1"}
For (b): the overall share hurt is $0.4$ times group G's share plus
$0.6$ times group H's, so its bounds are the same combinations of the
groups' bounds.
:::

## In class

### Discussion 1: what do you value?

To value something is to think it worthwhile. A thing is valued
**intrinsically** if it is valued for itself, and **instrumentally** if
it is valued for what it brings.

1. Alone (1 min): write down three things you value.
2. In pairs (4 min): for each, is it valued for itself, or for what it
   brings? If for what it brings, ask "what for?" again, until you
   cannot answer.
3. With the room (5 min): name two of your values that pulled in
   different directions in a choice you actually faced. Did you find a way to serve
   both, or did one lose? If one lost, was that the right answer, or
   an excuse?
4. A number often stands in for something people value: a grade, a
   salary, a rating. When it does, who chose what it leaves out?

### Problem 1. Places on a training course

A city's employment service has 400 places on a twelve-week course in
digital skills, held at the central library on weekday mornings, and
about 3,000 people registered as looking for work. It has hired a
contractor to build a score to decide who is offered a place. Below are
extracts from the contractor's proposal and from an email by the
service's director.

**From the proposal**

1. "The score predicts whether a person will be recorded as in paid
   work six months after the course ends. Our fee includes a bonus of
   £150 for each course graduate recorded as in work at six months."
2. "We trained the model on the 2,140 people who enrolled on the
   service's courses between 2019 and 2024 and completed them. We
   removed 37 duplicate records and corrected the spelling of district
   names."
3. "We compared 36 model specifications, including gradient boosting,
   random forests and penalized regression, and selected the most
   accurate. On the 2024 records it is 74% accurate."
4. "Among past participants with the top fifth of scores, 81% were in
   work at six months, against 34% of those with the bottom fifth.
   Offering places to the highest scorers is where the course will do
   the most good."
5. "The score uses 14 variables, including age, postcode, months since
   the last paid job, highest qualification, and the number of job
   applications logged with the service. It does not use gender or
   ethnicity."
6. "The score is updated every month. Each person can log in to see
   their own score and the three variables that moved it most."
7. "At every level of the score, the share later in work is the same,
   to within two percentage points, in each of the city's five
   districts. The score is therefore fair to every district."

**From the director's email**

8. "The course costs £1,900 a place. Last year's evaluation found a
   return of £3.20 for each pound spent, so this year's 400 places have
   an expected social value of about £2.4 million. Participants rated
   the course 4.6 out of 5."
9. "Three council members have written to me. One wants the places to
   go to those out of work longest, one to those the course would help
   most, and one to those who have tried hardest to find work. I
   propose a combined score, 40% time out of work, 40% the
   contractor's score and 20% applications logged, so that every view
   is represented."

(a) Extract 1. What could go wrong here, and who gains if it does?

(b) Extracts 2 and 4. Give two separate reasons why they do not show
that the highest scorers are where the course does the most good.

(c) Extract 3. Is 74% a fair estimate of how the score will do for
this year's applicants? Give more than one reason.

(d) Extracts 5 and 6. Which variable would you question first, and
why? What do the two extracts together make possible?

(e) Extract 7. What does it show, and what does it not show? What
would you ask for before accepting its last sentence?

(f) Extract 8. What would you need to know before relying on "£2.4
million"?

(g) Extract 9. What does the combined score do that none of the three
council members asked for? Is "every view is represented" an answer or
an excuse?

(h) Which hidden choice in the extracts would you raise with the
director first? Who benefited from that choice being invisible? And
would a more competent analyst have chosen differently?

### Discussion 2: chances nobody defined, things that may not compare

An expected value needs the possible outcomes, a probability for each,
and a value for each on one scale; Problem 1 (f) asked about one such
value. A single scale assumes that any two options compare: one is
better than the other, or they are equally good. Two options are
**incomparable** if none of "better than", "worse than" and "equally
good" holds between them. Problem 1 (g) put need, benefit and effort on
one scale. A probability model and a single scale are often assumed
without anyone saying so.

1. Find a case where a probability, an expected value or an expected
   utility was used to justify a decision, but nobody said what the
   possible outcomes were or where the probabilities came from, and
   perhaps nobody could have. What would someone have to state to make
   the number well defined (3 min)?
2. Find a case where two things were put on one scale, or traded at a
   fixed rate, though they may be incomparable. What did the single
   scale decide that nobody argued for (2 min)?
3. How many cases of either kind can you find in the course so far,
   from the first week to this one? List them as a group (3 min).
4. Take one case from your list. Who gained from the missing model or
   the forced comparison, and who bore the cost (2 min)?

### Problem 2. No difference on average

A hospital sends text reminders to half of 2,400 patients due for a
follow-up appointment, chosen at random; each text costs 4p. In both
halves, 55% of patients attend. The report concludes that reminders
make no difference. Treat the percentages as the population values.

(a) What share of patients could the reminders have helped attend, and
what share could they have stopped from attending?

(b) How could a reminder stop someone attending?

(c) The trial also recorded whether each patient was under 65; half
were. Under 65, 40% attend without a reminder and 60% with one. At 65
and over, 70% attend without and 50% with. What can be said now about
the shares helped and stopped?

(d) The hospital decides to send reminders only to patients under 65.
What share attends? Is the decision fair to patients 65 and over? Who
gains from "no difference" being the headline, and who would have
borne the harm if reminders went to everyone?

### Discussion 3: argue a principle

Return to the 400 places in Problem 1. Each group takes a different
principle:

- **Most total good**: places where they raise the number in work the
  most.
- **Priority to the worse off**: a gain counts for more the worse off
  the person who gets it.
- **Enough for everyone**: first bring as many people as possible above
  a threshold.
- **The worst off first**: places to those worst off, whatever the gain.
- **Desert**: places to those who have earned them by effort.
- **Equal chances**: a lottery among everyone eligible.
- **Luck**: places to those whose disadvantage is not of their own
  making.

The reading's supplemental part sets out most of these principles.

1. Make the strongest case for your principle for these places
   (4 min).
2. What would you need to know to apply it, and could the service know
   it (3 min)?
3. Give the strongest objection to your principle, and name one
   applicant who could reasonably make it (3 min).
4. With the room: which principle would you choose, and who could it be
   justified to (4 min)?

## If there is time

### Discussion 4: a model reads the statements

The contractor offers instead a language model that reads each
applicant's written statement, "Why I want a place on this course,"
and rates their motivation from 1 to 10. Places go to the highest
ratings.

1. What is the rating measuring, and what is it meant to measure?
2. Who writes a statement that rates well, and who does not?
3. What happens once applicants know how places are given?
4. An applicant is turned down. Who answers for it?

## References

- "Values, utility and probability," reading note for this course,
  <https://ethics4ds.com/weeks/wk10/reading.html>; its second part,
  "Supplemental: principles of distribution."
- Lecture notes for this course, "Value pluralism, utility, and
  justice," <https://ethics4ds.com/weeks/wk10/notes.html>.
