Random variable
First taught in High school statistics
Definition
A random variable is a variable whose value is a number determined by the outcome of a random process.
Advertisement
Random variables are written with capital letters like . A particular value is written with a lowercase letter, as in .
Example: Flip two coins and let be the number of heads. The outcomes HH, HT, TH, TT give .
There are two types:
- A discrete random variable has countable values, like the number of heads or the number of customers in an hour.
- A continuous random variable can take any value in an interval, like a person's height or the time until a bus arrives.
The values together with their probabilities make the probability distribution. The long-run average value is the expected value.