Continuous Random Variables
When a quantity can land anywhere in an interval, no single exact value has any real chance of happening. Probability lives in ranges instead, as the area under a density curve, and the whole area adds up to 1.
What the symbols mean
- Probability density
The height of the curve. Areas under it, not heights, are probabilities.
- Probability of a range
The area under the density between a and b.
Explanation
A continuous random variable is simply a random quantity that can land anywhere in a range, like a reaction time or a height, rather than on a short list of values like a die roll. "Continuous" means there are no gaps between the possible values. All we're really saying in this lesson is that the chance of landing in a range is the area under a curve over that range. The formula looks like calculus homework, but it's just three pieces: (a curve that's high where values are common and low where they're rare), and (the ends of the range you care about) and (the area between them). The second formula, total area , just says that something has to happen. It's the same "area under a curve" you met in calculus, wearing a new outfit.
From bars to curves. With a discrete random variable, like a die roll, each value got its own bar and the bars' heights added to 1. Now picture a measurement like a reaction time, which could be 0.31 s or 0.3107 s or anything in between. There are too many possible values to give each one a bar. So instead we draw a smooth curve and let area play the role the bar heights used to play.
Single values have probability 0. The area above a single point is zero, since it's a slice with no width. So and . That isn't saying 2 can't happen; it's saying any one exact value is infinitely unlikely compared with the whole range.
The mean of a continuous random variable is , the balance point of the area. It's the same idea as for discrete variables, with the sum turned into an integral.
For the common distributions, areas come from formulas or tables rather than fresh integrals.
A common mistake. It's tempting to read the height as a probability, because bar heights were probabilities in the discrete case. It isn't one. can even exceed 1, for a narrow, tall density. Only areas are probabilities.
See it
Worked examples
has density on . Find .
- 1
The probability is the area under the density from 0 to 2: .
Practice
Type your answer and check it. Solve them all to complete the lesson.
For on , find .
For the same density, find .
For the same density, find the mean .
Find so that on is a density.
For a continuous random variable, what is ?
A machine part's lifetime, in years, has density on . What's the probability it lasts more than 8 years?
Find the mean lifetime for the same density.
The hardest one here. Get it, and you've got this lesson.
Find the median lifetime for the same density.
Where it's used
Heights, reaction times, rainfall amounts and the lifetimes of components are continuous; engineers and actuaries work with their densities.