Discrete Random Variable vs Continuous Random Variable

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.

Discrete random variable

Random variables and distributions

A discrete random variable takes a countable set of separate values, each with its own probability, and those probabilities add to 1.

A discrete random variable is one whose possible values you could write out in a list, usually because it comes from counting something. If XX is the number of heads in two fair coin flips, then XX takes the values 0, 1, and 2 with probabilities 0.250.25, 0.500.50, and 0.250.25. Every discrete probability distribution satisfies P(xi)=1\sum P(x_i) = 1 (the probabilities sum to 1), and here 0.25+0.50+0.25=10.25 + 0.50 + 0.25 = 1. Counts are discrete; measurements like time and weight are continuous.

Full entry for discrete random variable

Continuous random variable

Random variables and distributions

A continuous random variable can take any value in an interval, so its probabilities come from area under a density curve, not from single points.

A continuous random variable comes from measuring rather than counting, so between any two of its values there are infinitely many more. That is why the probability of any single exact value is 0, and probability instead means the area under a density curve over an interval. If your wait for a bus is equally likely anywhere between 0 and 10 minutes, the density height is 1/10=0.11/10 = 0.1, so P(X<3)=3(0.1)=0.30P(X < 3) = 3(0.1) = 0.30. The normal distribution is the continuous model you will use most in this course.

Full entry for continuous random variable

Where each one fits in the course