Data Collection & Organization
Data Collection & Organization is the systematic process of gathering raw observations and arranging them into structured forms (tables, frequency distributions, charts) so that patterns, summaries, and conclusions can be drawn. Key result in words: the quality of any statistical conclusion is bounded by the quality of how the data was collected and organized. Applies wherever measurements or counts are made — science, economics, surveys, quality control. Foundational to all of statistics; formalized from the 17th century onward by census-takers, demographers, and pioneers like John Graunt and Florence Nightingale.
Raw data in its collected state is nearly useless; structure creates meaning. By sorting values, grouping them into classes, and tabulating their frequencies, we transform a chaotic list into a distribution whose shape, center, and spread become visible. The two governing principles are: (1) representativeness — the data must fairly reflect the population of interest, achieved through proper sampling; and (2) fidelity — the organization must preserve the information without distortion. Every later technique (averages, graphs, probability models) silently assumes these two principles were honored at the collection stage.
Formal Statement
- A population is the complete set of all individuals, objects, or events of interest, of size .
- A sample is a subset of the population actually observed, of size , where .
- A variable is a characteristic that can take different values across individuals (e.g. height, eye colour, income).
- A data value (or observation) is the value of a variable recorded for the -th individual.
- A data set is the collection .
Classification of variables:
- Qualitative (categorical): values are labels/categories (nominal: colours; ordinal: rankings).
- Quantitative (numerical): values are numbers — discrete (countable, e.g. number of children) or continuous (any value in an interval, e.g. mass).
A frequency distribution partitions data into mutually exclusive classes and records how many observations fall in each. For class :
Derivation hint: simply tally each observation into exactly one class; no calculation, only counting. The total frequency equals the sample size:
Derivation hint: every observation lands in exactly one of the classes, so summing the class counts recovers the whole. The relative frequency of class expresses its proportion:
Derivation hint: divide each class count by the total; summing relative frequencies divides equation [2] by . The percentage frequency is , and the cumulative frequency accumulates counts up to and including class :
Derivation hint: running total — each cumulative value is the previous one plus the current class frequency, with .
When continuous data are grouped into equal-width classes spanning the data range, the recommended class width is:
Derivation hint: the range must be covered by intervals, so each must be at least the range divided by ; round up to ensure full coverage. A common heuristic for the number of classes is Sturges' rule:
Derivation hint: assumes data approximate a normal distribution; derived by equating class counts to binomial coefficients summing to , giving and solving for .
For any complete and exhaustive classification of a data set of size into disjoint classes, the sum of all class frequencies equals , and the sum of all relative frequencies equals exactly .
Step 1. Let the classes be mutually exclusive (no overlap) and collectively exhaustive (every observation belongs to one).
Step 2. Each of the observations is counted in exactly one class. Therefore the act of tallying partitions the set into disjoint subsets whose sizes are .
Step 3. Since a partition's parts sum to the whole, , establishing equation [2].
Step 4. Dividing both sides by : , i.e. , establishing equation [3].
∎A London haberdasher with no formal training, John Graunt is often called the founder of demography and descriptive statistics. In his 1662 work Natural and Political Observations Made upon the Bills of Mortality, he collected and organized decades of London death records into tables, producing the first life table and the first systematic estimate of a city's population from incomplete data. Graunt demonstrated that aggregating and organizing messy individual records reveals stable, predictable regularities — the very principle underlying all of statistics.
Building Intuition
Imagine emptying a jar of 200 mixed coloured marbles onto a table. As an unordered pile, you can say almost nothing useful. Now sort them by colour into groups and count each — you have built a frequency distribution. Suddenly you can see "red dominates, blue is rare." If instead the marbles were labelled with weights, you would group them into weight bins (classes), because no two are exactly identical. The choice of how many bins is a balance: too few bins (2–3) hides detail and over-smooths; too many bins (one per marble) recreates the useless pile. Organization is the act of choosing the right resolution to make structure visible without inventing structure that isn't there.
Worked Examples
Given: The exam scores (out of 100) of students: 55, 62, 78, 81, 44, 67, 73, 88, 91, 59, 76, 84, 69, 52, 95, 63, 71, 80, 47, 66.
Step 1 — Find range. , , so range .
Step 2 — Choose number of classes (Sturges, eq. [6]). classes (we'll use ).
Step 3 — Class width (eq. [5]). .
Step 4 — Tally classes starting at 44:
| Class | Tally count | Cumulative |
|---|---|---|
| 44–52 | 3 (44,47,52) | 3 |
| 53–61 | 2 (55,59) | 5 |
| 62–70 | 5 (62,63,66,67,69) | 10 |
| 71–79 | 4 (71,73,76,78) | 14 |
| 80–88 | 4 (80,81,84,88) | 18 |
| 89–97 | 2 (91,95) | 20 |
Step 5 — Check (eq. [2]). . ✓
Answer:
Given: A survey of commuters records primary transport: Car: 110, Bus: 60, Train: 45, Bicycle: 25, Walk: 10.
Step 1 — Verify total (eq. [2]). . ✓
Step 2 — Relative frequencies (eq. [3]).
- Car:
- Bus:
- Train:
- Bicycle:
- Walk:
Step 3 — Check sum. . ✓
Step 4 — Percentage frequencies (): 44.0%, 24.0%, 18.0%, 10.0%, 4.0%.
Answer:
Common Misconceptions
Bigger sample ≠ better sample. A massive but biased sample is worse than a small random one. The 1936 Literary Digest poll surveyed 2.4 million people yet wrongly predicted Landon would beat Roosevelt, because its mailing list (car owners, telephone subscribers) over-represented the wealthy. George Gallup correctly predicted the result with only ~50,000 properly chosen respondents. Representativeness beats raw size.
Overlapping classes destroy a frequency distribution. Classes such as "40–50" and "50–60" are ambiguous: where does a value of exactly 50 go? Classes must be mutually exclusive. Use "40–49, 50–59" (for discrete data) or precise boundaries like "40 ≤ x < 50, 50 ≤ x < 60" (for continuous data). Violating this breaks equation [2].
Why discrete ≠ continuous handling matters. Suppose someone records "number of pets per household" (a discrete variable: 0,1,2,3,...) and groups it into classes "0–2, 2–4, 4–6." A household with 2 pets could be placed in either of the first two classes — the boundaries overlap and the variable is discrete, so continuous-style boundaries are inappropriate. The correct discrete grouping is "0–1, 2–3, 4–5," leaving no ambiguity. Treating a discrete variable as continuous (or vice-versa) produces miscounts and an invalid distribution.
Connections
Data collection and organization is the launching point for the entire descriptive-statistics chain. Once data are organized into a frequency distribution, Measures of Central Tendency (mean, median, mode) summarize its center and Measures of Dispersion (range, variance, standard deviation) summarize its spread. The shapes revealed are studied in Data Visualization (histograms, box plots, ogives). The sampling principles connect forward to Probability and Sampling Methods, which justify generalizing from sample to population. The continuous limit of a relative-frequency histogram is the Probability Density Function studied in The Normal Distribution.
Real-World Applications
Historical Development
Subtleties & Limits
How many classes are "correct"? Sturges' rule (eq. [6]) systematically produces too few classes for large or non-normal data sets, oversmoothing the distribution. Alternatives such as the Freedman–Diaconis rule (using the interquartile range, ) and Scott's rule (using the standard deviation) give different recommendations, and no single rule is universally optimal — the best binning depends on the unknown underlying distribution we are trying to reveal. This circularity (we bin to learn the shape, but need the shape to bin well) remains an active question in density estimation, where modern methods like kernel density estimation sidestep fixed bins entirely. Likewise, defining "representativeness" precisely, and detecting hidden sampling bias in observational data, remains a deep open challenge in modern data science.
See Also
Measures of Central Tendency · Measures of Dispersion · Data Visualization · Sampling Methods · Probability · The Normal Distribution · Probability Density Function