In short: A continuous random variable takes any value in a range, like a height or a time. Its probabilities are areas under a probability density function , with total area 1, so .
Starting point: Years 9 and 10
Counted and measured data
- Discrete data is counted: goals scored, number of siblings. Only certain values are possible.
- Continuous data is measured: height, time, mass. Any value in a range is possible.
Histograms for continuous data
Continuous data is grouped into classes such as . A histogram has bars that touch, because the classes have no gaps between them.
| Height (cm) | 150 to 155 | 155 to 160 | 160 to 165 | 165 to 170 |
|---|---|---|---|---|
| Frequency | 4 | 10 | 12 | 4 |
There are 30 students. The relative frequency of 160 to 165 cm is .
Probability as area
If you draw a relative frequency histogram where each bar's area is its relative frequency, the total area of all bars is 1. The chance a student is in a class equals the area of that bar.
- Any value in a range
- Probability of one exact value is 0
- f(x) ≥ 0
- Total area 1
- P(a ≤ X ≤ b) = area
- Integrate f from a to b
- P(X ≤ x)
- Median: F(m) = 0.5
- μ = ∫ x f(x) dx
- Var = ∫ x² f(x) dx - μ²
Quick summary
- Discrete data is counted. Continuous data is measured.
- For continuous data, probability is the area over an interval. Total area is 1.
- A PDF has and total area 1. .
- for a continuous variable.
- . The median solves . .
Quiz
Sign in to take the quiz
13 questions with instant marking. It is free, and your scores are saved to your account so you can carry on from any device.
Turn on JavaScript to sign in and take the quiz.
Try 3 questions now
Which of these is continuous data?
- A number of pets
- B time to run 100 m
- C shoe size on a label
- D goals in a match
Show answer
B: time to run 100 m
Time is measured and can take any value in a range.
Which of these is discrete data?
- A number of cars in a car park
- B mass of an apple
- C height of a tree
- D temperature
Show answer
A: number of cars in a car park
Cars are counted.
In a histogram of continuous data, the bars:
- A have gaps between them
- B touch each other
- C must all be the same height
- D are drawn sideways
Show answer
B: touch each other
The classes run into each other.