Collection and presentation of data
A class test, a household survey, a season of cricket scores — every one of these starts life as a messy pile of raw numbers with no order at all. Statistics is the craft of turning that pile into something readable: a table that shows what happened and how often, and a small set of numbers — the mean, median and mode — that summarise the whole pile in one glance. This chapter opens the Statistics unit of CBSE Class 9 Mathematics. It stays entirely with ungrouped data: single observations such as marks or family size, not numbers sorted into class intervals like 10–20 or 20–30 (that grouping, along with cumulative frequency, is Class 10 work). By the end you should be able to tell primary data from secondary data, build a frequency distribution table from a raw list using tally marks, and compute the mean, median and mode of that data — both from the raw list directly and from its frequency table.
Raw, unordered data becomes usable once it is tallied into a frequency distribution table, from which the mean (), the median (the middle value of the sorted list) and the mode (the most frequent value) summarise it in a single number each.
The core idea
Primary vs secondary data. Primary data is collected first-hand by the person doing the study — a student polling classmates on their favourite sport. Secondary data has already been collected and published by someone else and is simply reused — pulling numbers from a government census report. Knowing which kind you are handling matters because primary data lets you control how the question was asked, while secondary data inherits whatever choices the original collector made.
Raw data and the frequency distribution table. Data fresh off a survey or test, before any organising, is called raw or ungrouped data — a plain, usually unordered, list. To make it readable you build a frequency distribution table: list every distinct value that appears, and record how many times it occurs, its frequency, written . Tally marks (groups of four strokes with a fifth struck through) are the standard bookkeeping trick for counting occurrences in a single pass through the raw list without losing count.
The three summary numbers. Once the frequency table exists, three single numbers describe the whole data set from different angles:
- The mean is the arithmetic average — every observation contributes equally.
- The median is the value that sits in the middle once the data is sorted — it is not pulled around by one extreme outlier the way the mean can be.
- The mode is simply whichever value shows up most often — useful when you care about the single most common outcome, such as the most common shoe size sold.
For raw (ungrouped) data of observations , the mean is
where: is the -th observation and is the total count of observations. The median needs the data sorted first, ascending or descending. If is odd, the median sits at position in the sorted list. If is even, there are two middle positions, and , and the median is their average. The mode is read straight off the frequency table: whichever value has the largest . A data set can have exactly one mode, more than one mode (if two or more values tie for highest frequency), or no mode at all (if every value occurs equally often).
Mean from a frequency table
The goal is to show why summing across the distinct values and dividing by the total count gives exactly the same mean as adding up every raw observation one by one — so that once data is tallied, you never need to revisit the original unsorted list to find the average.
Step 1. Start from the raw definition. With raw observations , the mean is , adding every single value once.
Step 2. Group the identical values. Suppose a distinct value appears times, appears times, and so on up to appearing times, with . Adding to itself times is the same as computing , so the full sum of all raw observations can be rewritten as .
Step 3. Substitute this grouped sum back into the mean formula. Since and , the mean becomes — the frequency-table formula, built from nothing more than regrouping equal terms in an addition.
Step 4. Read the result. No information is lost in tallying: multiplying each distinct value by how often it occurs, summing those products, and dividing by the total count of observations gives the identical mean you would get by patiently adding every one of the raw numbers.
Worked example
A survey of 20 households recorded the number of family members in each: . Build the frequency distribution table and find the mean, median and mode of family size.
Step 1. Tally the raw list into a frequency table. Family size 2 occurs 2 times, 3 occurs 5 times, 4 occurs 7 times, 5 occurs 4 times, and 6 occurs 2 times. Check: , matching the 20 households, so no value was missed or double-counted.
Step 2. Compute the mean using : , so .
Step 3. Find the median by sorting all 20 values in ascending order: . Here is even, so average the values at positions and . Both the 10th and 11th values are , so the median is .
Step 4. Find the mode by reading the highest frequency in the table: family size 4 occurs 7 times, more than any other value, so the mode is .
The 20 households have mean family size , median , and mode — all three summaries agree the "typical" household has around 4 members, with the mean pulled down slightly by the smaller households of size 2.
Common traps
- Confusing the frequency with the observation itself. In a table row "4 | 7", the 4 is the value and 7 is how many times it occurred — averaging the frequency column instead of the value column gives nonsense.
- Finding the median without sorting first. The position rule ( or the two middle positions) only works on data already arranged in ascending or descending order.
- Picking one middle value when is even. Even-count data has two middle positions; the median is their average, not just one of them.
- Assuming a mode always exists and is unique. Data can be bimodal (two tied values), or have no mode at all if every value occurs equally often.
Ask the tutor: Want to build your own frequency table from a jumbled list and check your mean, median and mode step by step? Ask the AI tutor for a fresh practice data set.
Why do we even need a frequency table — why not just look at the raw list?
A raw list of, say, 50 marks scattered in the order they were collected hides every pattern: you cannot tell at a glance which mark is most common or how spread out the marks are. Tallying groups identical values together and counts them once, so a table with a handful of rows replaces fifty scattered numbers. It also makes computing the mean far faster, since you multiply each distinct value by its count instead of adding fifty separate numbers one at a time.
Can the mean, median and mode of the same data set all be different numbers?
Yes, and this is common. The mean uses every value and shifts if any single value changes, even a small change. The median only depends on which value sits in the middle after sorting, so it barely moves if one extreme value changes. The mode only cares about which value repeats most. For symmetric, evenly spread data the three often land close together, as in the worked example above, but for lopsided data, such as incomes with a few very high earners, the mean can be noticeably higher than the median.
Is primary data always more reliable than secondary data?
Not automatically — reliability depends on how carefully each was collected, not just on who collected it. Primary data gives you control over the question, the sample and the method, which is valuable, but a small or biased sample of primary data can still mislead. Secondary data, such as a national census, is often collected on a far larger and more rigorous scale than a single student could manage, so it can be more reliable for broad questions even though someone else gathered it. The right choice depends on what exactly you are trying to find out.