Statistics / Unit 7: Random Variables
7.1 Discrete Random Variables
Notes
A random variable assigns a number to each outcome of a random process. A discrete random variable has a countable list of possible values.
- Its probability distribution lists each value with its probability.
- Every probability is between 0 and 1, and the probabilities add to exactly 1.
- Example: Let $X$ be the number of heads in two coin flips: $P(0) = 0.25$, $P(1) = 0.5$, $P(2) = 0.25$.
Practice
A random variable $X$ has $P(0) = 0.1$, $P(1) = 0.3$, $P(2) = p$ and $P(3) = 0.2$. What is $p$?
The probabilities add to 1: $0.1 + 0.3 + p + 0.2 = 1$, so $p = 0.4$.
For the distribution $P(0) = 0.1$, $P(1) = 0.3$, $P(2) = 0.4$, $P(3) = 0.2$, what is $P(X \ge 2)$?
$P(2) + P(3) = 0.4 + 0.2 = 0.6$.
Which could be a probability distribution for $X = 1, 2, 3$?
Only this list has all values between 0 and 1 and a total of 1.
Ready for more? Take the Unit 7 test.