Steply

x: 10, 20, 30; P(x): 0.2, 0.5, 0.3, find the mean

Step by step, with the reason for every step · Random variables · University Statistics

Step by step

The question

Question: x can be 10, 20, 30, with probabilities 0.2, 0.5, 0.3: find the mean.

x: 10, 20, 30; P(x): 0.2, 0.5, 0.3. mean?

1 Check the table

The table lists each value of x and its probability, P of x.

A probability table must add up to 1.

0.2 plus 0.5 plus 0.3 is 1.

Good.

0.2 + 0.5 + 0.3 = 1

2 Multiply x × P(x)

The mean of a random variable: each x times its probability, all added up.

mean μ = add up all x × P(x)

10 times 0.2 is 2.

20 times 0.5 is 10.

30 times 0.3 is 9.

3 Add the column

2 plus 10 plus 9 is 21.

The mean, μ, is 21.

μ = 2 + 10 + 9 = 21

Careful!

The plain average treats every x the same.

But the likely ones count more: we weight by P of x.

Careful: not (10 + 20 + 30) ÷ 3 = 20 ✗

4 Check

Let's check with 10 tries.

Each x comes up about 10 times its probability: 10, 2 times; 20, 5 times; 30, 3 times.

10 tries: 10 comes 2 times, 20 comes 5 times, 30 comes 3 times

All the x's of the 10 tries add up to 210.

total 10 × 2 + 20 × 5 + 30 × 3 = 210

210 divided by 10 is 21: the mean.

So it is right!

210 ÷ 10 = 21

Let's look back.

First: check the table.

Then: multiply x × P(x).

Then: add the column.

Last: check.

Answer
Careful: not (10 + 20 + 30) ÷ 3 = 20 ✗

Your turn

Try this one yourself, then check:

x: 10, 20, 30; P(x): 0.4, 0.1, 0.5. mean?
Show the answer
μ = 21

More from Random variables

The whole lesson: Random variables →