Random Variable vs Probability Distribution

Both terms below come up in the same part of the course, and students mix them up. Here is each one defined on its own, side by side, so you can see where they part company.

Random variable

Random variables and distributions

A random variable assigns a numerical value to each outcome of a chance process, so its value is determined by the result of a random event.

A random variable turns the outcomes of a random process into numbers you can average and analyze. For example, if XX is the number of heads in two coin flips, then XX can equal 0, 1, or 2, each with its own probability. Random variables are discrete when their values are countable and continuous when they can take any value in an interval. Its long-run average is the expected value E(X)=xipiE(X) = \sum x_i \, p_i (E of X, each value times its probability, summed).

Full entry for random variable

Probability distribution

Random variables and distributions

A probability distribution lists every value a random variable can take along with the probability of each value or range of values.

A probability distribution shows how the total probability of 11 is shared among a random variable's possible values. For example, rolling a fair six-sided die gives each value from 1 to 6 a probability of 16\frac{1}{6}. For a discrete variable the probabilities must satisfy 0pi10 \le p_i \le 1 and pi=1\sum p_i = 1 (each probability is between 0 and 1, and they add to 1). Continuous variables use a density curve instead, where probability is the area under the curve.

Full entry for probability distribution

Where each one fits in the course