Tutorials › Introduction to Statistics › Discrete Counts and Continuous Measurements

Variables, Data Types and Questions · Tutorial 5 of 996

Discrete Counts and Continuous Measurements

Learn how the possible values of a variable distinguish counts from measurements, and why the number of decimal places recorded does not decide which kind it is.

Beginner 9 min read

What You'll Learn

  • Distinguish counts of separate outcomes from measurements of a quantity.
  • Describe the possible values of discrete counts and continuous measurements.
  • Identify when a continuous measurement has been rounded for recording.
  • Explain why integer-valued records are not automatically counts.
  • Classify variables using what they represent, not just how they are written.

Why the Difference Matters

Two data columns can both contain numbers while representing different kinds of quantitative variables. A count records how many separate things or events there are. A measurement describes how much of a quantity there is. For example, the number of books in a box is a count, while the mass of the box’s contents is a measurement.

The distinction is about what each value represents and what values make sense, not whether a spreadsheet happens to show whole numbers or decimal places. A measurement rounded to the nearest whole unit still represents a measurement. A count does not become a measurement simply because someone writes it with a decimal point.

This classification matters when describing data and deciding how to record them. If a variable counts separate events, values between consecutive integers are not possible. If it measures a quantity, values between two reported numbers may be possible even when the instrument records only a rounded value.

Definition: A discrete quantitative variable has possible values that are separate and distinct. A count is a common example: it records how many items or events there are and ordinarily takes nonnegative integer values. A continuous quantitative variable represents a measured quantity that, in the model being used, can take any value in a range. The recorded values may be rounded or limited by an instrument’s precision.

Counts: Separate Things or Events

A count comes from enumerating items or occurrences. If a variable records the number of parcels delivered to a home in a day, possible values include 0, 1, 2, and 3. A value of 2.4 parcels would not describe an actual count of parcels. The possible values are separate: moving from 2 parcels to 3 parcels means one additional parcel, and there is no count in between.

The full set of possible values depends on the situation. A count of people in a room cannot be negative and must be an integer; it may also have a practical upper bound. A count of events over a period might have no fixed upper bound specified in advance, but its possible values are still separate whole-number counts. In either case, the count is discrete.

The word “count” refers to what is being recorded, not just the appearance of the data. A total calculated from several counts remains a count if it counts the combined number of items. But a number that happens to be a whole number is not necessarily a count: it might be a rounded measurement, a score, or a numerical label. The meaning of the variable has to be considered.

Worked Example: Counting Repairs

In a hypothetical exercise, a maintenance team records the number of repairs completed on each of six workstations during one shift. The recorded counts are 0, 1, 1, 2, 3, and 3 repairs. Is this a discrete count or a continuous measurement?

Identify what one value represents. Each value is the number of separate repairs completed on one workstation. It is not a measure of how much repair work was done.

Check the possible values. A workstation could have 0, 1, 2, 3, or another whole number of completed repairs. A value such as 1.5 completed repairs would not be a count of separate repairs.

Check the recorded data. The counts add to \(0+1+1+2+3+3=10\) repairs across the six workstations. The total is also a count of separate repairs, and the variable remains discrete. The sum being 10 does not make the individual workstation counts measurements.

Measurements: How Much of a Quantity

A measurement describes an amount of something, such as length, mass, or volume. In a continuous model, a measurement can take any value within a relevant range, not merely a sequence of separated whole numbers. A container’s volume might be 1.2 litres, 1.23 litres, or 1.234 litres. The exact values that can occur are limited by the real situation, but values between two reported values may still be meaningful.

“Continuous” describes the variable’s model, not a promise that a measuring device can display infinitely many decimal places. Instruments have finite resolution; records may be rounded; and data-entry systems may restrict the available formats. Those practical limits affect how the value is observed or reported. They do not change the fact that the underlying quantity is a measurement.

A useful question is: could the quantity meaningfully fall between these two recorded values? If the variable is length in centimetres, a value between 12 cm and 13 cm can be meaningful, even if a particular record displays only whole centimetres. If the variable is the number of separate items, a fractional value between 12 and 13 is not a possible count.

Worked Example: A Rounded Length

In a hypothetical materials exercise, a strip’s length is measured and reported to the nearest tenth of a centimetre as 12.4 cm. Classify the underlying variable, and explain what the recorded precision tells us.

Identify the quantity. The variable is the strip’s length. Length is measured, rather than found by counting separate strips or events. In a continuous model, possible lengths lie along a range rather than only at whole-centimetre values.

Interpret the rounding. Rounding to the nearest 0.1 cm means that values close to 12.4 cm are reported as 12.4 cm. Under the usual round-to-nearest convention, the values from 12.35 cm up to, but not including, 12.45 cm round to 12.4 cm:

$$ 12.35 \leq \text{length} < 12.45 \text{ cm} $$

The reported value is 12.4 cm, but the unrounded measurement could be, for example, 12.37 cm or 12.42 cm. Those values represent different possible lengths even though both would be recorded as 12.4 cm at this precision. Thus the underlying variable is a continuous measurement; the recorded values are rounded.

Why Rounding Does Not Change the Variable Type

Rounding maps multiple possible values to one recorded value. This explains why a continuous measurement can produce records that appear to have only a limited set of values. Suppose a measurement is rounded to the nearest whole centimetre. Values near 8 cm may all be recorded as 8 cm; values near 9 cm may all be recorded as 9 cm. The recorded values are separated, but the underlying length can still lie between 8 cm and 9 cm.

1
Start with the quantity.
For a measurement, consider the possible values the underlying quantity can take, not only the values printed in the data file.
2
Apply the recording rule.
An instrument or protocol may round the quantity to a chosen precision, causing different underlying values to receive the same recorded value.
3
Classify the variable.
The underlying length remains a continuous measurement even though its rounded records occur in steps. By contrast, a count has separate possible values because it counts whole items or events.

The same reasoning works when a measurement is recorded with one decimal place, a whole number, or another fixed precision. More decimal places give a finer report, but do not turn a measurement into a count. Fewer decimal places make the record coarser, but do not turn a measurement into a count either.

Worked Example: Whole-Number Records for a Measurement

In a hypothetical quality-control exercise, the mass of each package is measured but recorded to the nearest gram. One package is recorded as 350 g. Is the variable discrete because its records are whole numbers?

Identify what is being recorded. The variable is the mass of each package. Mass is a measured quantity, not a number of separate packages.

Understand the recording resolution. If the usual rounding rule is used, an underlying mass from 349.5 g up to, but not including, 350.5 g is reported as 350 g:

$$ 349.5 \leq \text{mass} < 350.5 \text{ g} $$

For instance, an underlying mass of 350.2 g would be recorded as 350 g. The whole-number record does not tell us that the package’s mass was exactly 350 g; it reports a rounded measurement. The variable is therefore a continuous measurement in the model, even though this data file contains whole-number records.

A Short Justification: Why the Recorded Values Can Mislead

Let \(x\) be an underlying measurement and let \(r\) be its recorded value after rounding to the nearest unit. For a typical rounding convention, values in the interval from \(r-0.5\) up to, but not including, \(r+0.5\) are recorded as \(r\). Thus, for a record of 350 g:

$$ 349.5 \leq x < 350.5 \quad \Longrightarrow \quad r=350 $$

There are many possible values of \(x\) in that interval, even though they all produce the same \(r\). Rounding therefore groups possible measurement values into one record; it does not show that the underlying quantity had only separated possible values. A count works differently: if \(c\) counts whole items, then \(c\) itself must be an allowed whole-number count. There is no underlying count of 349.7 items that gets rounded to 350.

This distinction is a matter of definition and recording, not a claim that measurements can be observed with unlimited precision. The continuous model is a useful way to describe measured quantities that can meaningfully vary within an interval. A device’s precision tells us how finely we record the quantity, not whether the variable counts items or measures an amount.

Common Mistakes

  • “The data are whole numbers, so the variable is discrete.” This reasoning looks only at the recorded format. A length, mass, or other measurement can be rounded to whole numbers. Identify what the variable represents before classifying it.
  • “The data have decimals, so the variable is continuous.” Decimal notation alone is not enough. Counts are whole-number values, but a calculated summary of counts could have decimals; that does not make the original count variable a measurement. Focus on the meaning of the variable itself.
  • “A measurement is continuous only if every possible decimal is recorded.” Continuous describes the model for possible underlying values. Instruments and reporting rules can record only a limited precision.
  • “Any number with a fixed set of possible values is a count.” A rounded measurement can also have a restricted set of recorded values. A count must represent how many separate items or events there are.
Key takeaway: Classify a quantitative variable by what it represents. Counts enumerate separate items or events and take distinct count values; measurements describe amounts that can vary across a range in a continuous model. Rounding changes the recorded precision, not the underlying distinction.

Check Your Understanding

For each item, decide whether the underlying variable is a discrete count or a continuous measurement, and explain your reasoning.

  1. A record gives the number of pages in each booklet as a whole number. What kind of variable is this, and could a booklet have 18.5 pages as a count?
  2. A sensor records the temperature of a sample to the nearest whole degree. Does the whole-number format make temperature a count? Explain.
  3. A machine’s output is recorded as 2.7 litres. What does the decimal precision tell you, and what does it not tell you?
  4. For a measurement reported to the nearest tenth, explain why several different underlying values could produce the same record.
  5. A data file contains only integer values. Give the key question to ask before classifying its variable as discrete.