Professor Turing

Study guides

Discrete and continuous data

Last updated: 2026-11-26

Discrete data take separate values with gaps between them, and counts are the usual case. Continuous data can take values anywhere within a range, and measurements such as time or weight are the usual case. To classify a variable, ask which values the quantity itself could take, and then look at how it was written down.

Start learning No account needed

1. Count or measurement

Both kinds are numerical (quantitative) data. Wikipedia on continuous and discrete variables says a continuous variable has possible values between any two values, while a discrete variable keeps a minimum distance between one permissible value and the next. Counts behave the second way, and measurements such as lengths, weights or times are usually treated the first way. The number of phone calls you get in a day is discrete. The length of a call in minutes is continuous.

A useful check is to ask whether two possible values can sit next to each other with nothing possible between them. A count of calls can be 2 or 3 and nothing in between. Between two call lengths, such as 2 and 3 minutes, other lengths are possible.

2. A worked example: six mornings at a café

Suppose you log two things for six mornings: how many cups of coffee were sold, and how long the first customer waited, read from a timer to a hundredth of a minute. The figures are made up. The numbers below are computed by scripts/discrete-vs-continuous-data-worked-example.py in the Professor Turing repository.

MorningCups soldWait (minutes)
1413.24
2384.68
3452.91
4413.17
5505.06
6383.83

Cups sold is discrete. The total is 253 over 6 days, so the mean is 42.17. Nobody sold 0.17 of a cup, and the variable is still discrete, because the mean is a summary and the observations are counts.

Waiting time is continuous. A wait could fall between any two of the readings, and a finer timer would show more digits.

3. What rounding does

Now write the same six waits at three levels of precision.

cups sold: 41, 38, 45, 41, 50, 38
total = 253, days = 6, mean = 42.17
wait to 0.01 min: 3.24, 4.68, 2.91, 3.17, 5.06, 3.83 | distinct = 6
wait to 0.1 min:  3.2, 4.7, 2.9, 3.2, 5.1, 3.8 | distinct = 5
wait to 1 min:    3, 5, 3, 3, 5, 4 | distinct = 3
mean wait from 0.01 readings = 3.815, from whole minutes = 3.833

To the whole minute, the waits look like counts, and only 3 different values remain out of 6 readings. The waiting did not change. A recorded 3 here stands for a time that rounds to 3 minutes. So the quantity is continuous and the record of it is coarse. The mean also moves a little, from 3.815 to 3.833.

The Australian Bureau of Statistics puts it this way: a continuous value can be recorded as finely as the measuring instrument allows. An instrument has a smallest step, so recorded measurements come in steps too.

4. Money

A price written in dollars and cents moves in steps of one cent, so the record has gaps. The sources below do not settle how to label money. Follow the convention your course uses, and write down your reason.

5. A common misconception: decimals mean continuous

The shortcut "decimals are continuous, whole numbers are discrete" fails in both directions. Suppose a quiz is graded in half points. A score of 7.5 has a decimal, yet no score can fall between 7.5 and 8, so the scores are discrete. In the other direction, the waits rounded to 3, 5 and 4 minutes are whole numbers and come from a continuous quantity. The definition turns on the gaps between permissible values, and values with decimals can have gaps too. So decimals alone do not settle the question; ask which values the quantity can take. The mean cup count, 42.17, also has decimals, but it is a summary computed from counts and is not one of the observations.

Some numbers are neither. A bus route number names a category. The Australian Bureau of Statistics describes categorical variables as ones whose values describe a quality or characteristic, and a route number does that even though it is written in digits.

6. Test yourself

For each one, write discrete, continuous or categorical, plus one sentence of reason. Then open the answer.

Case 1. The number of emails you received today.

Answer to case 1

Discrete. It is a count.

Case 2. The mass of a parcel, shown on a scale to the nearest gram.

Answer to case 2

Continuous. Mass is measured, and the whole grams come from the scale's rounding.

Case 3. A person's age, written in completed years.

Answer to case 3

Continuous. The Australian Bureau of Statistics lists age as a continuous variable, and completed years record it in whole steps. If the question treats the written number of years as the variable, say so in your answer.

Case 4. The number on a bus route.

Answer to case 4

Categorical. It is a label for a route.

For a wider plan, see how to study for a statistics exam and how to test yourself.

What the sources found, and their limits

Wikipedia, "Continuous or discrete variable". Defines both kinds by whether values exist between any two values or are separated by a minimum distance. Limits: a reference article under CC BY-SA 4.0, written in mathematical terms, and it does not settle how to treat money. Source: Continuous or discrete variable, read on 2026-11-25.

Australian Bureau of Statistics, "Variables." Defines numeric variables as continuous or discrete, lists height, time, age and temperature as continuous, and separates numeric from categorical variables. Limits: a short glossary page, and its wording for discrete variables speaks of whole values, which is narrower than our half-point example. Source: abs.gov.au variables, read on 2026-11-25.

The café log, the quiz example and the check between two values are ours.

How Professor Turing helps

Professor Turing is a tutor for adults learning any subject, in college or on their own. It asks you questions instead of giving the final answer, does not grade a bare guess, and remembers what you got wrong. No account is needed to start. It's an AI tutor, free to try.

Bring a variable you are unsure how to classify. Its first reply asks about your attempt, such as which class you picked and why, before it teaches anything. You must be 18 or older. Guest conversations are deleted 7 days after your last activity; with an account they are kept while the account is active.

FAQ

Is age discrete or continuous? The Australian Bureau of Statistics lists age as a continuous variable. Written in completed years it takes only whole values, so read how your question defines the variable before you answer.

Can the mean of discrete data be a decimal? Yes. In our café example the daily cup counts are whole numbers and their mean is 42.17. The mean summarizes the data and does not have to be a value the variable can take.

Is a number used as a label discrete data? A route number or jersey number names a category, so treat it as categorical data. Adding or averaging such labels does not describe a quantity.

Start with what you're working on

Tell the tutor which variable you are classifying and let it ask you the questions.

Start learning No account needed

See also: how to study for a statistics exam · all study guides