7 Descriptive Statistics
Learn how to summarize categorical and numerical data, choose appropriate statistics and charts, use common spreadsheet functions, and interpret findings in context.
What show
organize and summarize observed data to answer questions such as which category occurs most often or how much measurements vary. They describe the data at hand; by themselves, they do not establish causes or prove that a pattern will hold for a larger population.
Summarizing categorical data
Categorical data assign observations to groups, such as product type, region, or satisfaction rating. For each category, calculate its , the count of observations, and its , the proportion of all observations:
For example, if 12 of 30 survey responses are “Online,” the is , or . A table makes category comparisons easy, and a bar chart can display counts or percentages.
Use consistent category labels. If labels are not standardized, “Online” and “online” may be counted separately. When calculating a percentage, be clear about the denominator, especially if some responses are blank or missing.
In a spreadsheet, if responses are in A2:A31 and a category name is in C2, use:
Divide the count by the number of valid responses to get the percentage. COUNTIF counts cells that match one criterion; use COUNTIFS when counting observations that meet multiple criteria.
Measures of center
Numerical data represent quantities, such as time, age, or sales. A useful summary describes both center, or a typical value, and spread, or how much values differ.
The is the sum of all values divided by the number of values. It uses every observation, so unusually high or low values can pull it toward them. The is the middle value after sorting; with an even number of observations, it is the of the two middle values. It is generally less affected by extreme values than the .
The is the most frequently occurring value. A data set can have more than one , or none if no value repeats. For categorical data, the is the category with the highest .
For the values , the is , the is , and the is . The high value of raises the above the .
Measures of spread
The is the maximum minus the minimum. It is simple to calculate, but depends only on the two extremes. For the example values , the is .
The first and third quartiles, and , mark the 25th and 75th percentiles. The is and describes the spread of the middle half of the observations.
measures the typical distance of values from their . A small means values are relatively clustered; a large one means they are more dispersed. It is sensitive to extreme values.
Spreadsheet functions and conventions
Choose the version according to what the data represent. Use the when observations are a sample used to estimate a larger population. Use the when the data include the entire population of interest.
Assuming example values are in cells B2:B6, common spreadsheet functions include:
STDEV.S calculates ; STDEV.P calculates . The last two formulas calculate and ; subtract the first result from the second to obtain the IQR. Spreadsheet programs may offer different quartile conventions, so state the method when exact comparisons matter. Function names and argument separators can also differ by application or regional settings.
A practical analysis workflow
Identify the unit and variables. Determine what each row represents and whether each variable is categorical or numerical.
Check the data. Look for missing entries, duplicate records, inconsistent category labels, numbers stored as text, and values outside plausible ranges. Do not silently treat missing values as zero.
Choose suitable summaries. For categories, report counts and percentages. For numerical values, report a measure of center and a measure of spread. Use the and IQR when extreme values or skew make the and misleading; consider reporting both when useful.
Inspect a display. Use a bar chart for category counts or percentages and a histogram for the distribution of numerical values. A histogram can reveal shape, skew, clusters, and potential outliers.
Interpret in context. Include units, the number of observations, the denominator for percentages, and any important exclusions or data limitations. A statistic is a summary, not an explanation of why a pattern occurred.