Statistics and Mechanics Year 1, chapter 6 (Statistical distributions), section 6.1
Random variables
A discrete random variable takes separate values, each with a probability. A capital is the variable, and a lower-case is a particular value.
A probability distribution lists each value with its probability, and the probabilities must sum to 1:
It can be given as a table or as a formula (a probability function).
Worked example 1: finding a constant
for . Find and .
Worked example 2: a table
| 0 | 1 | 2 | 3 | |
|---|---|---|---|---|
, so . Then .
Discrete uniform distribution
If all values are equally likely, . For a fair die, for .
Worked example 3: a die
Let be the score on a fair die. .
Check
After finding any unknown, check all probabilities are between and and that they sum to .
Common mistake: forgetting the condition that probabilities sum to 1, or giving a probability outside . Also, read the inequality carefully: does not include .
Exam tip: write the sum equal to 1 and solve for the unknown. List the values you need for a probability such as before adding.
Check yourself
What must the probabilities in a distribution add up to?
.
If for , find .
, so .
What is for a fair coin with or ?
each.