Describe the spread
An average alone can mislead. This shows the middle, the spread and the outliers.
Sample data
Made-up data. If you have not loaded it yet, ask your assistant:
Load https://gotsimplified.com/samples/shop_orders.csv into my data lake as samples.shop_orders, replacing it if it already exists.
Download: shop_orders.csv
Try this
Summarize the amount column in shop_orders.
How are order sizes spread in the units column?
What is the average amount in each region, and how sure can we be?
Your assistant may word its answers differently each time; the numbers come from your tables.
What you should see
With the sample data. Use these to check the answer.
- The average amount is 24.20 but the median is 18.
- The largest order is 1,800.
- 1,386 orders have 2 units.
- North's average is 24.98, plausibly 22.32 to 27.65.
What you need
The shop_orders model.
How to read the answer
When average and median differ, a few large rows pull the average.
Good to know
The plausible range is approximate, and overlapping ranges do not prove two groups are the same.