Data collection
Intermediate
What you need first. Nothing else on this path comes first. This page is part of Data analysis.
In statistics, data collection is the decision of which observations are needed and the work of obtaining them. Before a mean or a model is computed, someone has to decide why the numbers are needed, which numbers those are, and how they will be obtained. Data collection is that decision and the work that carries it out.[1]
Data collection
| Fact | Value |
|---|---|
| Topic | Data analysis |
| Listed on | Data analysis |
| Worked example | 1 |
Motivating example
A question about the average time to graduation refers to a target population of graduates. The data that can answer it are the times for cases from that population, not a handful of memorable students. How those cases are obtained, by a register of completions, by a sample, or by an experiment that assigns a condition, is the collection plan.[2] [1]
Intuition
Three different activities are easy to blur. Reading a register that already exists, drawing a sample or counting everyone, and assigning treatments in an experiment all produce numbers. They do not produce the same kind of warrant for a later conclusion. The collection method is part of what the conclusion is allowed to say.[1] [2]
Definition
Collecting data starts from three questions: why the data are needed, which data serve that purpose, and how they will be obtained.[1] Three approaches cover the “how”. A register uses records that already exist, such as births, deaths, marriages, temperatures, rainfall, or sales. Sampling and census obtain observations from a population, either from a part or from all of it. Experimental research assigns conditions and records the response.[1]
Observational studies and experiments are the two primary types in the language of a first course. An observational study collects data without directly interfering with how the data arise: surveys, records, or a cohort followed through time. An experiment assigns treatments to cases.[2]
Properties
A register has no general recipe that turns the series into a conclusion. Each series is judged on its own, and inference to a wider population is the step that needs care.[1]
Sampling methods split into random and nonrandom. Random methods use a probabilistic rule, so the probability that a unit is selected is known and a sampling error can be calculated. The main random methods are simple random sampling, stratified sampling, systematic sampling, and batch sampling. Quota sampling is the usual nonrandom method. A census observes every object in the population and is costly when the population is large, which is why it is infrequent.[1]
An experiment specifies the levels of the factors under study. The design is the programme for those levels. The plans in routine use include the completely randomised design, the randomised block design, and the Latin square.[1]
The collection plan decides which analyses are honest. Estimates and their errors presume a random framework when the data are observational. If observational data are not collected in a random framework, the estimates and the errors attached to them are not reliable.[2] A causal connection is the aim that leads to a randomised experiment rather than to a survey.[2] Data that are unrelated to the stated goal do not become relevant by being carefully stored. The variables have to be the ones the question names.[1] [2]
Collecting more rows is not the same as collecting the right rows. A convenience sample, individuals who are easily reached, can be large and still fail to represent the population named in the question.[2] An observational collection does not become an experiment because the investigator hoped for a causal sentence. The experiment is the collection in which treatments are assigned.[2]
Worked example
A population has 500 shops. A register already holds last year’s sales for all 500, so the collection fraction is and there is no sampling error from a draw. A sample of 40 shops for a new question that the register does not contain has collection fraction . An experiment that assigns a new layout to 15 of the 40 and leaves 25 unchanged is a third collection: the layout was assigned, which neither the register nor the sample of the old layout did.[1] [2]
Your turn. The sample for the new question is enlarged from 40 shops to 50, and 20 of the 50 are assigned the new layout. What is the new sampling fraction out of 500?
The sampling fraction is .
Assumptions and limits
A register supports a description of what was recorded. It supports a wider inference only with an argument that the recorded units are the population of interest.[1] A sampling error can be calculated when selection probabilities are known, which nonrandom methods do not provide.[1] An experiment’s conclusion is about the factors and levels that were actually run.[1]
Connections
Sampling and the statistical survey are the middle approach. A designed experiment is the third. Secondary data are what a register becomes when a later study uses it. Raw data are the observations before they are reduced to summaries. The population is the set the collection is trying to reach.[2]
The oldest mass collection is the census. A statistician is attested in China in the Chow dynasty, Augustus ordered a count of soldiers, ships, and wealth, and the Gospel of Luke records a decree that each person be enrolled in his own town. The word statistics itself comes from Latin status, the state.[1] Experimental designs as a systematic programme arrived much later, in the agricultural work of the 1920s.[1]
Check yourself
Try these questions before opening an answer.
A calculated sampling error
A large convenience collection and a small probability sample both produce rows. Which one supports a calculated sampling error, and why?
The probability sample, because the selection probabilities are known. A convenience collection does not supply those probabilities.
The right rows
Why does storing a variable carefully not make it the right variable for a stated question?
The collection has to record the quantities the question names. Relevance is fixed by the question, not by the care of the storage.
See also
Line chart · Apriori algorithm · Asymptotic analysis · Average treatment effect · Base rate · Bayesian inference · Bayesian model · Bayesian probability
References
- ^ a b c d e f g h i j k l m n o a. (p. 151) b. (p. 151) c. (p. 152) d. (p. 151) e. (p. 152) f. (p. 152) g. (p. 152) h. (pp. 162–163) i. (p. 151) j. (p. 152) k. (p. 152) l. (p. 152) m. (p. 162) n. (pp. 152, 518) o. (p. 162) Dodge, Yadolah (2008). The Concise Encyclopedia of Statistics. Springer. https://doi.org/10.1007/978-0-387-32833-1
- ^ a b c d e f g h i j a. (Ch. 1, §1.3.1) b. (Ch. 1, §1.3.4) c. (Ch. 1, §1.2.5; §1.4) d. (Ch. 1, §1.3.5) e. (Ch. 1, §1.4) f. (Ch. 1, §1.3) g. (Ch. 1, §1.3.3) h. (Ch. 1, §1.4; §1.2.5) i. (Ch. 1, §1.4) j. (Ch. 1, §1.3.1) Diez, D. M., Çetinkaya-Rundel, M. & Barr, C. D. (2019). OpenIntro Statistics (4th ed.). OpenIntro. https://www.openintro.org/book/os/
Cite this page
StatWiki (2026). "Data collection." StatWiki. Last updated 2 December 2026. https://www.statwiki.io/articles/data-collection.html
@misc{statwiki_data_collection,
author = {{StatWiki}},
title = {{Data collection}},
year = {2026},
url = {https://www.statwiki.io/articles/data-collection.html},
urldate = {2026-12-02},
note = {StatWiki, last updated 2 December 2026}
}