Discrete vs Continuous Distributions
Learn the difference between discrete and continuous probability distributions, and when to use each type.
Definition
Discrete Distributions
- Number of heads in 10 coin flips:
- Roll of a die:
- Number of students in a class:
Continuous Distributions
- 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
Try it now
Worked Examples
Classify each variable as discrete or continuous: (a) Number of cars passing a checkpoint (b) Weight of a package (c) Number of defective items in a batch
Analyze variable (a)
Cars are counted: 0, 1, 2, 3, ... Cannot have 2.5 cars → Discrete
Analyze variable (b)
Weight is measured: 1.234 kg, 1.235 kg, etc. Any value possible → Continuous
Analyze variable (c)
Defects are counted: 0, 1, 2, ... Cannot have 1.7 defects → Discrete
Answer: (a) Discrete, (b) Continuous, (c) Discrete
Common Mistakes
Thinking 'money' is always discrete because we count dollars
Why it's wrong: While we often round money to cents, financial models frequently treat money as continuous because transactions can theoretically be any amount.
Correct: Context matters: counting coins is discrete, but modeling stock prices is typically continuous.
Trying to calculate P(X = exact value) for continuous distributions
Why it's wrong: For continuous distributions, the probability at any single point is zero. Only intervals have positive probability.
Correct: For continuous distributions, always calculate using the area under the curve.
Confusing 'few possible values' with 'discrete'
Why it's wrong: A variable is discrete based on its nature, not the number of values observed in a sample.
Correct: Ask: 'Can this variable theoretically take ANY value in a range?' If yes, it's continuous.
Interactive Visual
Bar Chart
Dice Roller
Click the button to run trials and see probability in action!
Interactive Sandbox
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
15 problemsWhich variable is discrete?
Why It Matters
- Statistics: Choosing the right test or model for your data
- Data Science: Selecting appropriate machine learning algorithms
- Quality Control: Monitoring manufacturing processes (defect counts vs measurements)
- Finance: Modeling stock prices (continuous) vs number of trades (discrete)
- Medicine: Analyzing patient counts (discrete) vs blood pressure readings (continuous)
Real World Applications
Quality Control in Manufacturing
Factories use discrete distributions to count defects and continuous distributions for measurements.
Example:
A factory counts defective items per batch (discrete: 0, 1, 2, ...) but measures product weight in grams (continuous: 250.3g, 250.31g, ...).
A quality inspector examines 100 light bulbs and finds 3 defective ones.
Is 'number of defective bulbs' discrete or continuous?
Step 1: Write the mathematical expression
Think: Can you have 2.5 defective bulbs?
Medical Statistics
Healthcare uses both types: patient counts (discrete) and vital signs (continuous).
Example:
Number of patients admitted today (discrete: 45, 46, 47) vs blood pressure reading (continuous: 120.5 mmHg, 121.3 mmHg).
A hospital tracks both the number of surgeries per day and the duration of each surgery.
Classify each variable.
Step 1: Write the mathematical expression
Number of surgeries: ___ Duration: ___
Key Takeaways
- 1Discrete distributions apply to variables with countable, separate values (like dice rolls, coin flips, or counts)
- 2Continuous distributions apply to variables that can take any value in a range (like height, weight, or time)
- 3For discrete variables, we use PMF and can calculate directly
- 4For continuous variables, we use PDF and calculate probabilities for intervals:
- 5Ask yourself: 'Is this counted or measured?' Counted = discrete, Measured = continuous
Frequently Asked Questions
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