Data are recorded facts or values, such as numbers, words, dates, or yes-or-no answers. A single value has little meaning without context. The number 72 is only data, but 72 beats per minute in a heart-rate log has a clear meaning.
A dataset is an organized collection of data. In the common table layout, each row is one record, such as one student's survey response, and each column is one attribute, such as age group or score. Columns are also called features or fields.
Data can be numerical, such as test scores; categorical, such as a favorite subject; or text, such as a written answer. Each type needs different methods of analysis.
Inside your account
What an account adds to the pages you are reading.
Lessons
Topic explanations with worked examples, split into units.
A dataset is usually arranged in rows (records) and columns (attributes).
Numerical, categorical and text data need different analysis methods.
Good quality means the data is complete, accurate, consistent and relevant to the question.
Missing values must be handled on purpose, not ignored or silently filled in.
Personal data should be collected only when it is needed, and protected carefully.
A small or unrepresentative sample can lead to misleading conclusions.
Example
Question: four students score 70, 80, 90 and 60 on a quiz. What is the mean score? The scores add up to 300, and dividing by 4 students gives a mean of 75.
Question: the scores are 70, 80, blank and 60. If the blank is counted as 0 and divided by 4, the mean is (70 + 80 + 0 + 60) / 4 = 52.5. If the blank is excluded and divided by 3, the mean is (70 + 80 + 60) / 3 = 70. The first answer is misleading because the student did not get a score of 0.
Common mistakes
Confusing rows and columns. A record is one row; an attribute is one column.
Drawing a strong conclusion from a small sample. Four students cannot represent a whole school.
Treating a blank value as zero. This can lower averages and change conclusions.
Collecting more personal details than the question needs.
Summary
Data are recorded values, and a dataset organizes them into records and attributes. Any analysis is only as useful as the quality, completeness and representativeness of its data, so the dataset should be checked before conclusions are drawn.
Frequently asked questions
What is the difference between data and information?
Data are raw recorded values. Information is what you learn when data is organized and interpreted in context, such as seeing that average scores rose after a change in lessons.
What is a missing value?
A missing value is an empty entry, for example a student who skipped one question. It should be noted, excluded, or handled with a clear method, not silently treated as zero.
Why should personal details be removed from a dataset?
Personal details can identify people, and collecting them without need creates privacy risks. Analysts often use anonymous codes instead of names when the analysis does not need names.