Raw data
Intermediate
What you need first. Nothing else on this path comes first. This page is part of Data analysis.
In statistics, raw data is observations as recorded, before they are replaced by fewer summary numbers. Raw data are the observations as recorded, before they are replaced by fewer summary numbers. In a study of stents, the record for each patient is a row: the group, and whether a stroke occurred by 30 days and by 365 days. A table of counts, such as 33 strokes in the treatment group by 30 days, is a summary of those rows. The rows are the raw data. The counts are not.[1]
Raw data
| Fact | Value |
|---|---|
| Topic | Data analysis |
| Listed on | Data analysis |
| Worked example | 1 |
Motivating example
Five reaction times, in seconds, are written down as , , , , and . The scientific question may eventually be answered by their mean. The mean is one number. The five times are five numbers, and any comparison that needs to know which time was longest, or whether two times were equal, has to be made before the five are replaced. Keeping the five is what makes that comparison possible later.[1][2]
Definition
A record is raw when it still contains the observational units and the variables that were written down for them. In a data matrix, each row is a case and each column is a variable. The loan table that puts amount, interest rate, term, grade, state, income, and home ownership on one row per loan is that kind of record. A summary replaces several of those numbers by fewer numbers. The NIST glossary calls that replacement data reduction: calculating, from several numbers, one or fewer numbers, as when nine readings are replaced by an average and a standard deviation. The nine readings are the raw data of that reduction. The average and the standard deviation are the reduced data.[1][2]
The same distinction applies to a study that was already a table of counts in the publication. Those counts are raw relative to a further summary, such as a single proportion, and they are reduced relative to the patient-level rows that were counted. “Raw” is a relation to a later summary, not a chemical purity of the file.[1]
Properties
Reduction loses comparisons. The five times , , , , and sum to and have mean . The mean does not say that was the longest or that no two times were equal. A reader who is given only cannot recover either fact. Reduction can also be repeated: the stent rows become the four counts , , , and , and those counts can be reduced again to two proportions. Each step is a function of the previous record. None of the steps is invertible from the number it prints.[1][2]
A correction of a mis-keyed value is not a reduction. Changing a recorded to a recorded , because the keying was wrong, changes the record. Replacing five correct times by their mean leaves the record alone and publishes a summary. The two operations answer different questions, and only the second is data reduction.[2]
Worked example
The times , , , , and sum to . Their mean is . The reduced report “mean ” is one number in place of five. The order, the largest time, and the gaps between times are no longer in the report.
Your turn. A sixth time, seconds, is appended. What are the new sum and the new mean?
The new sum is . The new mean is .
Assumptions and limits
The record is only as good as what was written down. A respondent who answers a survey item incorrectly has already put the error into the raw data. Averaging will not mark which row was wrong. A data matrix that drops the link between a rate and the loan it belongs to has already lost the case, even if every rate is still present as a number.[2][1]
Reduction is often the right publication. The stent table of counts is easier to read than 451 rows, and the mean of the five times is the right answer to a question about the average. The limit is the question that needed a comparison the summary destroyed. That question has to be asked of the raw record, or of a reduction that was built to keep it.[1][3]
Check yourself
Try these questions before opening an answer.
What the mean can no longer answer
Five reaction times are replaced by their mean. Which comparison among the five times can that mean still support?
None. The mean is one number. Which time was longest, and whether two times were equal, is no longer in the summary.
A row is a case
A spreadsheet of loans has one row per loan and a column for the interest rate. What is lost if only the column of rates is kept?
The link between each rate and the other variables of that same loan, such as income and state. The rate is still a number. It is no longer the rate of a case.
A correction is not a reduction
A recorded time of 16 seconds is later judged to be a mis-keyed 10. Is that change a summary, or a change to the record?
A change to the record. Data reduction replaces several numbers by fewer numbers. Correcting a keying error changes what was written down.
History
The practice of organising observations into a rectangular record, one row for each unit, is the data matrix of survey and experimental work. Exploratory analysis, as Tukey set it out, starts from that record: graph it, transform it, and look for values that do not belong, before a model replaces it by a few coefficients. The coefficients are a further reduction. They are not a substitute for the record when the question is what was observed.[3][1]
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 a. (Ch. 1, §1.1) b. (Ch. 1, §1.2.1) c. (Ch. 1, §1.2.1) d. (Ch. 1, §1.1) e. (Ch. 1, §1.1) f. (Ch. 1, §1.2.1) g. (Ch. 1, §1.1) h. (Ch. 1, §1.2) Diez, D. M., Çetinkaya-Rundel, M. & Barr, C. D. (2019). OpenIntro Statistics (4th ed.). OpenIntro. https://www.openintro.org/book/os/
- ^ a b c d e a. (Glossary, "data reduction") b. (Glossary, "data reduction") c. (Glossary, "data reduction") d. (Glossary, "data reduction") e. (Glossary, "respondent error") Heckert, N. A., Filliben, J. J., Croarkin, C. M., Hembree, B., Guthrie, W. F., Tobias, P. & Prinz, J. (2002). Handbook 151: NIST/SEMATECH e-Handbook of Statistical Methods, Glossary. National Institute of Standards and Technology. https://www.itl.nist.gov/div898/handbook/glossary.htm
- ^ a b a. (p. 150) b. (pp. 150–151) Dodge, Yadolah (2008). The Concise Encyclopedia of Statistics. Springer. https://doi.org/10.1007/978-0-387-32833-1
Cite this page
StatWiki (2026). "Raw data." StatWiki. Last updated 2 December 2026. https://www.statwiki.io/articles/raw-data.html
@misc{statwiki_raw_data,
author = {{StatWiki}},
title = {{Raw data}},
year = {2026},
url = {https://www.statwiki.io/articles/raw-data.html},
urldate = {2026-12-02},
note = {StatWiki, last updated 2 December 2026}
}