Track 2 · Describing Data · Lesson 11 of 11

Choosing and reporting summaries

Choose summaries that fit each variable's type and shape, present them in a clear summary table with sensible precision, and write a summary sentence a decision-maker can trust.

25 minFoundation8 graded exercisesFree

A retail director reads one line of your report: “Average basket value: 97.564533 SAR.” Is that typical? How variable? Based on how many baskets? Good reporting answers those questions before they are asked — with the right measures, the right precision and the context that makes a number meaningful.

Every earlier lesson in this track added a tool. Reporting is choosing among them. Two questions decide most choices:

  1. What type of variable is it? Categories need counts and percentages. Ordered categories (ratings, levels) can add a median. Numbers can use the full toolkit.
  2. What shape does it have? Look at a histogram first. Roughly symmetric, no extreme values → mean and standard deviation. Skewed or with outliers → median and IQR (or percentiles), often with the mean as well.
VariableCentreSpread / detailExample
Nominal categoriesModeCounts and percentages of every categoryPayment method
Ordinal categoriesMedian (and mode)Counts and percentages; cumulative %Performance rating 1–5
Numeric, roughly symmetricMeanStandard deviation; rangeExam scores
Numeric, skewed or with outliersMedian (mean too, if totals matter)IQR or Q1Q_1–Q3Q_3; selected percentilesBasket value, delays, salaries
Numeric with many zerosShare of zeros + median of the non-zero valuesPercentiles of the non-zero partAnnual bonus, insurance claims
A decision guide for one-variable summaries

Dataset

Retail transactions

1,500 rows · one row = one transaction (basket) · synthetic data

StoreCustomer typeItems (items)Basket value (SAR)
Universityreturning6129.86
Harbour Mallreturning260.64
Downtownnew114.65
Airport Roadreturning16.95
Airport Roadreturning263.04

1 500 baskets. basket_value_sar is right-skewed: mean 97.56 SAR, median 87.13 SAR.

A summary table puts groups side by side with the same measures in the same order. For basket values by customer type in the (synthetic) transactions dataset:

Customer typenMedianIQR (Q1Q_1–Q3Q_3)Mean (SD)
New27665.037.7–104.777.0 (56.1)
Returning76882.951.2–124.892.4 (56.7)
Loyalty456108.870.4–153.6118.7 (66.9)
All1 50087.152.0–129.497.6 (61.7)
Basket value (SAR) by customer type, transactions dataset, March 2024 (synthetic). Quartiles by the type 7 method.

Notice the habits: the group sizes are shown; the units (SAR) and data source are in the caption; the quartile method is stated; numbers are rounded to one decimal, which is plenty for baskets worth tens of riyals; and the median comes first because the data are skewed.

Worked example

From raw output to a report line

Software output for the 1 500 baskets: n = 1500, mean = 97.564533, SD = 61.711934, Q1 = 52.0475, median = 87.13, Q3 = 129.4375, skewness = 1.19. Write one line for a management report.

  1. Shape first. Skewness 1.19 and mean > median: right-skewed. Lead with the median and the quartiles.

  2. Round to what matters. Baskets are worth tens of riyals and vary by about 60 SAR, so whole riyals are enough: median 87 SAR, middle half 52–129 SAR.

  3. Add the mean only if it serves a purpose — here it links to revenue: mean 98 SAR × 1 500 baskets ≈ 146 000 SAR.

  4. Give the context: units, n, period and the source.

“In March 2024 the median basket was 87 SAR (middle half 52–129 SAR; mean 98 SAR; n = 1 500 baskets, synthetic transactions data).”

Precision and rounding

  1. Keep full precision while calculating; round only the final reported numbers.
  2. Round to what the reader can use. Two or three significant figures usually suffice: “a median of 87 SAR” or “87.1 SAR”, not “87.130000 SAR”.
  3. Means and SDs: often one more decimal than the raw data were recorded with; never more digits than the data can support.
  4. Percentages: whole numbers or one decimal, with the denominator stated (“23% of 1 477 baskets with a recorded payment method”).
  5. Be consistent within a table: the same number of decimals for the same kind of quantity.

Quick check

Of 600 employees, 171 received no bonus. Which summary of annual_bonus_sar is most informative?

Exercises

The lesson is complete when every exercise is answered correctly. Hints are free; viewing a worked solution before solving means the exercise won't count towards mastery.

0 of 8 exercises correct (not saved — sign in to keep your progress)

Exercise 1 · Practice, difficulty 1 of 3

Match the summary to the variable

Not started

Choose the main summary you would report for each variable.

Payment method of each basket
Basket value (SAR), right-skewed
Exam scores, roughly symmetric with no outliers
Flight departure delay (minutes), with a long right tail
Department of each employee
10 km finish times, roughly bell-shaped
Performance rating on a 1–5 scale

Exercise 2 · Application, difficulty 2 of 3

A two-part summary of bonuses

Not started

annual_bonus_sar in the salaries dataset is zero for employees who received no bonus. Give a two-part summary: (a) the percentage of employees with no bonus (1 decimal place) and (b) the median bonus among employees who received one (SAR, 2 decimal places).

Data: salaries · Open in the lab to explore and calculate.

Exercise 3 · Application, difficulty 2 of 3

One row of a summary table

Not started

Complete the returning customers' row of a summary table for basket_value_sar in the transactions dataset: the number of baskets, the median, and the IQR (type 7 quartiles). Give the median and IQR in SAR to 2 decimal places.

Data: transactions · Open in the lab to explore and calculate.

Exercise 4 · Interpretation, difficulty 1 of 3

How many decimals?

Not started

Software reports for 1 500 basket values: mean = 97.564533, SD = 61.711934, median = 87.13. Which line is best for a management report?

Choose one

Exercise 5 · Practice, difficulty 2 of 3

Spot the reporting flaw

Not started

Match each reported statement to its main flaw.

“The average commute is 37 minutes, so most employees travel about 37 minutes.”
“The average annual bonus was 20 974 SAR.” (28.5% of employees received none)
“Mean basket value: 97.564533 SAR.”
“66% of customers paid by card.” (payment method missing for 23 baskets; base not stated)
“Delays were 21 ± 49 minutes.” (median −1 minute, long right tail)

Exercise 6 · Practice, difficulty 1 of 3

A summarising workflow

Not started

Put the steps for summarising a numeric variable for a report in order.

Put the steps in order (use the arrows)

  1. 1Check the data: count n and the missing values, and look for impossible values
  2. 2Round sensibly and present them with units, n and the method used
  3. 3Choose measures of centre and spread that suit the shape
  4. 4Plot the distribution (histogram or box plot) and note its shape
  5. 5Compute them at full precision

Exercise 7 · Interpretation, difficulty 2 of 3

Write the summary sentence

Not started

Using the summary table in this lesson, write two or three sentences for a retail director describing basket values in the transactions data, including how loyalty-card customers compare with new customers.

0 words

Exercise 8 · Interpretation, difficulty 2 of 3

Averaging ratings

Not started

Performance ratings are coded 1 (lowest) to 5 (highest). A dashboard shows “mean rating 3.17”. A manager asks if that is the right summary. What is the most defensible answer?

Choose one

What you can now do

  • Choose summaries to match a variable's type and shape
  • Build a summary table with n, units, method and consistent precision
  • Summarise zero-inflated variables in two parts
  • Spot and fix misleading summaries: false precision, hidden zeros, mean ± SD for skewed data