From an outcome to a number
A random variable assigns a numerical value to the outcome of a random process. Its value is unknown before the process takes place. A discrete random variable has a finite or countably infinite set of possible values.
The variable
Use a capital letter, such as , for the random variable: the number of damaged items in a box of eight.
A possible value
Use a lower-case letter, such as , for a value. Here , and is the probability of exactly two damaged items.
Discrete variables often count things, but their values need not be consecutive integers. A randomly selected ticket might award £0, £2 or £10. The possible values must come from the situation.
The permitted values need not be whole numbers. A reading restricted to is also discrete: its possible values form a finite set, even though one is fractional.