5 Descriptive Statistics

Learn how to summarize categorical and numerical data with appropriate measures of center, spread, position, and graphical displays.

What descriptive statistics reveal

Descriptive statistics organize and summarize observed data. They help answer questions about what value is typical, how much observations vary, and whether values are concentrated, skewed, or divided into groups. A useful summary considers both numerical measures and a graph, because a single statistic can hide important features of a .

Identify the variable type

Choose statistics according to the type of variable. place observations into groups, such as transportation method or eye color. Categories are nominal when they have no natural order, or ordinal when they do, as with small, medium, and large. Numerical data represent counts or measurements, such as number of visits or height, and have meaningful magnitudes and differences.

A statistic is useful only when it makes sense for the variable. For example, calculating the average of eye-color labels has no meaningful interpretation.

Summarize

Summarize by listing each category with its frequency, or count, and its , or share of all observations. In a group of 3030 people, the transportation counts are bus 1212, bicycle 88, and walk 1010. Their relative frequencies are bus 1230=40%\frac{12}{30}=40\%, bicycle 830≈27%\frac{8}{30}\approx27\%, and walk 1030≈33%\frac{10}{30}\approx33\%; the counts total 3030 and the relative frequencies total 100%100\%.

The is the most frequent category; in this example, it is bus. A frequency or relative-frequency table and a bar chart are effective summaries. For ordinal categories, preserve their natural order and, when useful, report cumulative frequencies. Do not use a histogram for nominal categories: its numerical bins imply intervals that the categories do not have.

Compare measures of center

Measures of center describe a typical value, but they do not always identify the same value or respond equally to unusual observations.

  • : Add all values and divide by the number of values. For observations x1,…,xnx_1,\ldots,x_n, the is

    xˉ=1n∑i=1nxi.\bar{x}=\frac{1}{n}\sum_{i=1}^{n}x_i.

    The uses every observation, so unusually high or low values can pull it toward a tail.

  • : Sort the values and find the middle. With an even number of observations, take the of the two middle values. The is less affected by extreme observations than the .

  • : Use the most frequent value. A data set can have one , several modes, or no useful ; the is especially useful for .

For the ordered data 2,4,4,6,92,4,4,6,9, the is 55, the is 44, and the is 44. The and need not coincide, especially when values are skewed or include outliers.

Measure numerical spread

Measures of spread describe variation among numerical values.

  • Range: The maximum minus the minimum. It is simple to calculate but depends only on the two extremes.

  • : The difference between the third and first quartiles, IQR=Q3−Q1\mathrm{IQR}=Q_3-Q_1. Here, Q1Q_1 is the 25th and Q3Q_3 is the 75th . The IQR describes the spread of the middle half of the data and is relatively resistant to extreme values.

  • : The average squared distance from the . For a sample, the usual sample is

    s2=∑i=1n(xi−xˉ)2n−1.s^2=\frac{\sum_{i=1}^{n}(x_i-\bar{x})^2}{n-1}.

    Squaring gives more influence to values far from the , and is in squared units.

  • : The square root of the . It describes spread around the in the data’s original units; the sample is s=s2s=\sqrt{s^2}.

Population , commonly written σ2\sigma^2, instead divides the sum of squared deviations by the population size NN. Use the sample or population formula appropriate to the data and task.

Read distributions and graphs

A describes the values a variable takes and how often they occur. Describe a numerical by considering its center and spread, its shape, and any unusual features. Shape includes whether the is approximately symmetric or skewed and whether it has one peak or multiple peaks. Unusual features may include gaps, clusters, or possible outliers.

A right-skewed has a longer tail toward larger values; a left-skewed has a longer tail toward smaller values. A histogram helps reveal overall shape, while a box plot compactly displays the , quartiles, and spread. Graphs and statistics complement one another: a histogram can reveal two clusters that a single would conceal.

Use percentiles and identify potential outliers

A indicates a position in ordered numerical data: approximately p%p\% of observations are at or below the ppth . The 50th is the ; the 25th and 75th percentiles are the first and third quartiles. A 90th- score is not necessarily 90% correct; it means the score is at or above roughly 90% of scores in the comparison group.

Definitions for calculating percentiles and quartiles can vary slightly among software and textbooks, so use the specified convention when exact values matter. A compact numerical summary is the : minimum, Q1Q_1, , Q3Q_3, and maximum.

A common screening rule flags observations below Q1−1.5 IQRQ_1-1.5\,\mathrm{IQR} or above Q3+1.5 IQRQ_3+1.5\,\mathrm{IQR} as potential outliers. These flags prompt investigation; they do not prove that a value is an error. Check context and data quality before deciding how to handle a flagged value.

Choose a suitable summary

Choose summaries according to variable type. Describe with category counts, proportions, and often the . For numerical data, use measures of center and spread together, and inspect the ’s shape and unusual features.

The and are often useful together for roughly symmetric distributions without strong outliers. For skewed data or data with extreme values, the and IQR usually give a more representative description. Pairing with , or with IQR, makes the choice of summary clear.