Types of data
Before a single statistic can be calculated — before a mean, a median, or a frequency polygon means anything — a student has to be able to look at a set of numbers and name what kind of numbers they are. Are they exactly as collected, or already sorted? Do they come from counting, or from measuring with an instrument? Statistics as a subject is built entirely on top of these classification choices: the wrong choice at the start (treating a measured quantity as if it were a countable one, say) quietly wrecks every calculation that follows. This topic gives the vocabulary — raw, arrayed, grouped data, and discrete versus continuous variables — and the one manual skill, tallying, that turns a messy list into a usable table. It is the doorway into the whole Statistics chapter of ICSE Class 9 Mathematics.
Data is raw as collected, arrayed once sorted, and grouped once bucketed into class intervals, and every variable is either discrete (from counting) or continuous (from measuring) — a distinction that decides how the data may legally be tabulated and summarised.
The core idea
Three states a data set passes through. Raw data is the list exactly as recorded — no order imposed, for example the marks of 20 students in the order their scripts were checked. It is complete but unreadable at a glance. Arrayed data is the same values rearranged in ascending or descending order of magnitude; sorting is almost always the first physical step towards finding a range or a median. Grouped data goes one step further, bucketing values into class intervals such as – or – and recording how many observations fall in each — used once there are too many distinct raw values to list one at a time.
The variable decides everything downstream. A variable is the quantity being recorded, and every variable is one of exactly two kinds. A discrete variable takes only specific, separate values — almost always whole numbers — obtained by counting: number of siblings, goals scored, books on a shelf. It can never sit between two consecutive counted values (there is no such thing as siblings). A continuous variable can take any value in a range, obtained by measuring: height, mass, time, temperature. Between any two continuous readings there is always, in principle, another possible reading, limited only by the precision of the instrument used.
Why the label matters in practice. The discrete/continuous label controls how a frequency table is built later in the chapter. Discrete data is tabulated value by value, because each value can genuinely repeat (three students can each have exactly sibling). Continuous data is tabulated by class interval, because two measured heights are almost never identical to several decimal places — grouping is not optional convenience here, it is the only way the data becomes readable at all. Getting the label wrong at this stage produces a frequency table later that is either uselessly long (grouping should have been used) or artificially coarse (individual values should have been kept).
Tallying converts a list into a table. Tabulation using tally marks is the standard hand method: each observation adds one stroke () against its value or class, and the fifth stroke is drawn diagonally across the previous four () so that counting proceeds in fast, visually checkable groups of five. Once every observation has been tallied, the total tally count against a value (or class) is its frequency, usually written . A completed frequency table should always be checked against the count of the original raw list:
where: is the total number of observations in the raw data set, and is the sum of the frequency column across every row of the finished table. If the two numbers disagree, a tally stroke has been mis-drawn or mis-counted somewhere, and the table must be re-checked before it is used for anything further — this single running check is the cheapest error-catcher in the whole chapter.
Why it works
This topic has no formula to derive because it is a classification skill, not a calculation — but the classification is not arbitrary, and the reasoning behind it is worth making explicit. The discrete/continuous split traces back to how a number was produced. Counting is a discrete operation: it moves in steps of one whole unit and can never land between two consecutive whole numbers, so anything obtained by counting inherits that property and is discrete. Measuring, by contrast, reads a continuous scale (a ruler, a thermometer, a stopwatch), and any two readings on a continuous scale can, in principle, be refined further — a height of cm could always be re-measured to cm with a finer instrument — so anything obtained by measuring is continuous. This is exactly why the size of a data set, or the number of distinct values it contains, is irrelevant to the classification. A variable with only four possible values ( siblings) is discrete because it was counted, not because it has few values; a variable with a thousand distinct measured heights is still continuous, because it was measured, not because it has many values. The test is always the origin of the number — counting or measuring — never how many different numbers show up. Once that origin is identified correctly, the rest of the chapter (which tabulation method to use, whether class intervals are needed) follows automatically.
Worked example
The number of siblings of 15 students in a class, recorded in the order the teacher asked each student, is .
Step 1. Identify the data type and the variable. The numbers are listed exactly as collected, with no ordering imposed, so this is raw data. The variable "number of siblings" can only take whole-number values obtained by counting, so it is a discrete variable — it can never be .
Step 2. Arrange the raw data as an array. Sorting the 15 values in ascending order gives . Sorting alone already makes the repeats visible, before any table is drawn.
Step 3. Tally into a frequency table. Each value from to gets one tally stroke per occurrence in the array, with every fifth stroke crossed through the previous four.
| Number of siblings | Tally marks | Frequency () |
|---|---|---|
| 0 | 3 | |
| 1 | 5 | |
| 2 | 5 | |
| 3 | 2 | |
| Total | 15 |
Step 4. Check the total against . Using : , which matches the original count of 15 students, confirming no tally stroke was lost or duplicated. The finished frequency table shows sibling and siblings are the most common responses (each with ), information invisible in the raw list.
Competitive stretch
A gardener separately measures the heights (in cm) of 10 saplings: . Height is obtained by measuring on a scale, so it is a continuous variable, unlike siblings above. Arrayed, the values are — almost every value is distinct, so a value-by-value tally table would give mostly rows and reveal nothing. This is precisely the signal that the data should instead be grouped into class intervals such as –, –, –, the technique developed next in the chapter under grouped frequency distributions.
Common traps
- Confusing discrete with "few distinct values" — the correct test is how the number was produced (counted versus measured), never how many different values appear in the set.
- Treating "arrayed" as a synonym for "grouped" — an array is raw data sorted in order; it has not yet been bucketed into class intervals.
- Forgetting the cross-out-the-fifth convention for tally marks, which slows counting and invites miscounts once a frequency exceeds about ten.
- Skipping the check — a table that "looks right" can still have a lost or doubled tally stroke that only the total catches.
Ask the tutor: unsure whether a quantity like "shoe size" or "number of runs scored" counts as discrete or continuous — ask the AI tutor to walk through the counted-versus-measured test with you.
Is "marks out of 100" discrete or continuous? It feels like it could be almost any number.
It is discrete, because marks are obtained by counting the number of correct answers or awarded points, not by measuring a continuous scale. The fact that marks could take many different values out of 100 does not make the variable continuous — the test is always the origin of the number, counting versus measuring, not how many distinct values are possible. Only genuinely measured quantities such as length, time, mass or temperature are continuous.
Why bother arraying the data before tallying it? Can I not tally directly from the raw list?
You can tally directly from the raw list, and the frequency table will come out identical either way — arraying is not compulsory before tallying. It is recommended because sorting first makes repeated values visually obvious, so mistakes such as skipping a tally stroke are easier to catch, and an array is also the natural first step for other calculations (like the median) that come later in the chapter, so doing it here builds the habit.
If a data set has only three distinct values, say 5, 10 and 15, does that automatically make it discrete?
No — the number of distinct values tells you nothing about whether a variable is discrete or continuous. If those three numbers were counted (say, three possible team sizes: 5, 10 or 15 players), the variable is discrete because it came from counting. If they were measured quantities that simply happened to round to those readings (say, three temperatures that were each close to 5 degrees Celsius apart), the underlying variable is still continuous — a finer thermometer could have shown 10.3 or 14.8. Always classify by how the number was obtained, never by how many different values turned up.