Discrete vs continuous data are two broad categories of numeric variables. Numeric variables represent characteristics that you can express as numbers rather than descriptive language.
When you have a numeric variable, you need to determine whether it is discrete or continuous.
In broad strokes, the critical factor is the following:
- You count discrete data.
- You measure continuous data.
Let’s dig a little deeper into the differences! I’ll explain the differences and provide examples of discrete vs continuous data.
Related post: What is a Variable?
What is Discrete Data?
Discrete variables can only assume specific values that you cannot subdivide. Typically, you count them, and the results are integers. For example, if you work at an animal shelter, you’ll count the number of cats.
Discrete data can only take on specific values. For example, you might count 20 cats at the animal shelter. These variables cannot have fractional or decimal values. You can have 20 or 21 cats, but not 20.5! Natural numbers have discrete values.
Other examples of discrete variables include the following:
- The number of books you check out from the library.
- The number of heads in a sequence of coin tosses.
- The result of rolling a die.
- The number of patients in a hospital.
- The population of a country.
While discrete data have no decimal places, the average of these values can be fractional. For example, families can have only a discrete number of children: 1, 2, 3, etc. However, the average number of children per family can be 2.2.
Frequently, you’ll use bar charts to graph discrete data because the separate bars emphasize the distinct nature of each value. However, it’s appropriate to use other graphs as well.
When you have discrete values of a qualitative nature (i.e., attributes rather than numbers), it’s called categorical or nominal data.
What is Continuous Data?
Continuous variables can assume any numeric value and can be meaningfully split into smaller parts. Consequently, they have valid fractional and decimal values. In fact, continuous data have an infinite number of potential values between any two points. Generally, you measure them using a scale.
When you see decimal places for individual values, you’re looking at a continuous variable.
Examples of continuous data include weight, height, length, time, and temperature.
Discrete vs. Continuous Data Summary
|Discrete Data||Continuous Data|
|Specific values that you cannot divide.||Infinite number of fractional values between any two values.|
Both types of variables are essential in statistics. At the animal shelter, after counting the cats, you’ll weigh them. The counts are discrete values while their weights are continuous. Chances are you’ll need to analyze both types of variables.
It’s vital to recognize discrete vs continuous data because there are different ways to graph and analyze them. To learn more about how to assess different types of variables, read the following posts:
- Levels of Measurement: Nominal, Ordinal, Interval, and Ratio Scales
- Variable Types and How to Graph Them
- Comparing Hypothesis Tests by Types of Variables
- Choosing Regression Analysis Based on Data Types
- Probability Distributions for Discrete and Continuous Variables