A random variable is a variable whose value is determined by chance.
A discrete random variable can take only certain values and these values occur randomly.
Examples include:
A probability distribution lists all possible values of a discrete random variable and the probability of each value.
| \(x\) | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| \(P(X=x)\) | 0.1 | 0.4 | 0.3 | 0.2 |
The probabilities must satisfy: