Discrete vs Continuous Distributions
Learn the difference between discrete and continuous probability distributions, and when to use each type.
Definition
A probability distribution describes how likely different outcomes are for a random variable.
Discrete Distributions
A discrete distribution applies to variables that can only take specific, separate values (usually counted).
Examples of discrete variables:
- Number of heads in 10 coin flips:
- Roll of a die:
- Number of students in a class:
Key feature: You can list all possible values. We use a Probability Mass Function (PMF) where:
Continuous Distributions
A continuous distribution applies to variables that can take any value in a range (usually measured).
Examples of continuous variables:
- Height of a person: any value from 0 to 300 cm
- Time to complete a task: any positive value
- Temperature: any value on a thermometer
Key feature: You cannot list all possible values (infinitely many). We use a Probability Density Function (PDF) where:
For continuous variables, because there are infinitely many possible values.
Try it now
Which variable is discrete?
Interactive Visual
Bar Chart
Discrete: one die roll
1(0.17)
2(0.17)
3(0.17)
4(0.17)
5(0.17)
6(0.17)
Normal Distribution
Continuous: height (cm)
μ = 170, σ = 7
Shade within
P(169.5 ≤ X ≤ 170.5) ≈ 0.0569 = 5.7%z = -0.07, z = 0.07
Interactive Sandbox
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
15 problemsProblem 1 of 15
Easy
Which variable is discrete?
Glossary
- Discrete variable
- A variable that can only take specific, separate values, typically from counting
- Continuous variable
- A variable that can take any value within a range, typically from measuring
- PMF (Probability Mass Function)
- Function giving the probability that a discrete random variable equals each possible value
- PDF (Probability Density Function)
- Function whose integral over an interval gives the probability for a continuous random variable
- Random variable
- A variable whose value depends on the outcome of a random phenomenon