Skip to content

Diogo TravassosData leadership · Analytics · Decision-making

Public data

Order value change

Average order value did not measurably change between the two Novembers: +£2 per order, inside a noise band of −£79 to +£90, netting a rise from UK guest orders against a fall everywhere else.

The typical order did not move either: the median went from £300 to £298, a change of −£2 inside its own band of −£14 to +£11. A few dozen very large orders can swing the average either way: without the orders above £4,120 the change is −£15, and with them capped at £4,120 it is +£11, each inside its own band, so neither direction is measurable. The cancellation check as planned turns the change to −£55, mostly through one £168,470 cancellation of an order placed in December; November's cancellations alone give +£6. Weekdays, holidays and prices do not change it. My recommendation: do not act on the November figure. Report the median and the count of very large orders beside the average, read any move inside the band as noise, and attach every large order to a customer account.

Key figures
Change in average order value+£2£526 to £528 per order; 95% interval −£79 to +£90; UK guest orders added +£22 and all other orders −£20 Typical (median) order£298November 2011; £300 a year earlier, a change of −£2 (band −£14 to +£11) Orders above £4,120461.7% of orders and 24.3% of order value in November 2011; 27 orders (20.7%) a year earlier Large orders with no customer ID24Of 46 in November 2011, carrying 61.1% of their value

Main limitation Two Novembers of one UK online wholesaler. The band shows how far the average moves with the particular orders placed in these two months; another business, or another month, needs its own.

In plain words

Picture a monthly business review at any company that sells in orders. Average order value is on the KPI slide, it moved or it barely did, and a leader asks why. The answer drives real actions: a price review, a promotion, a minimum order size, a sales target. A confident story about a move that is really noise sends a team after a cause that is not there.

This study asks that question of real, public data: every order of one UK online gift-ware wholesaler, published by the UCI Machine Learning Repository with the retailer unnamed, so no customer data is shared. Did the average order change between November 2010 and November 2011, and why? Before computing any order value I wrote down the obvious explanations, each with a rule for when it would account for the change.

These orders show no change, and they could not show a small one: a real move anywhere from −£79 to +£90 would look the same. The average went from £526 to £528 and the median from £300 to £298, and resampling each month's orders moves the average by far more than +£2. The +£2 itself nets two kinds of order: UK guest orders, with no customer ID, added +£22 to the average and all other orders took away £20. A few dozen very large orders can swing it either way, and most of their value came from buyers with no customer ID.

Average order value
Product sales divided by orders. Postage, fees and cancellations are left out.
Median order
The middle order when all orders are sorted by value. A few huge orders barely move it.
Very large order
An order above £4,120, the top 1% of November 2010's orders.
Noise band
The 95% interval: the range the change falls in when each month's orders are resampled many times. A move inside it could come from which orders happened to arrive.
Mix
The part of the change that comes from a different blend of markets and customer types.
Rate
The part that comes from the same kinds of customers placing larger or smaller orders.
Interaction
The part where the blend and the order sizes moved together.
Returning, new or guest
A returning customer ordered in the 11 months before; a new or lapsed one did not; a guest order has no customer ID, so the buyer is unknown.

The evidence: what was checked before naming a cause

Each explanation was written down with a rule for when it accounts for the change before any order value was computed. Two checks met their rule: the very large orders, and the cancellations as planned, through one December order. With a +£2 change inside the noise band, a rule met by flipping the sign shows how fragile the figure is, not a cause.

ExplanationWhat was measuredResultAccounts for the change?
Weekday mixNovember 2011 re-weighted to November 2010's orders by weekday+£3 instead of +£2No
HolidaysEngland and Wales bank holidays in either NovemberNoneNo
December seasonSame calendar month a year apartHeld by the choice of monthsNot applicable
Very large ordersOrders above £4,120 removed, or capped at £4,120Removed −£15 (−£41 to +£13); capped +£11 (−£22 to +£46); median £300 to £298Rule met: they can flip the sign, but neither version is outside its noise band
CancellationsCancelled value, then the average net of it2.5% and 1.7% of November sales; net change +£6 for November, −£55 with early December addedRule met as planned, through one December order (below); November alone, no
Price changesLike-for-like price index on 2,179 products sold in both monthsPrices −0.7%; units per order +1.9%No
WeatherNot in the dataCannot be testedUnknown

Where the change sits

The chart splits the +£2 into mix, rate and interaction and ranks the markets; select one to see its customer types. The ranking is arithmetic, not evidence: 12 of the 19 market and customer-type cells have fewer than 10 orders in one of the months. None of the three parts is clear of noise: rate is +£40 with an interval of −£50 to +£144, mix −£19 (−£45 to +£3) and interaction −£19 (−£53 to +£6). Read the chart as a map of where the change sits and the checks above for whether it is real.

Source: UCI Online Retail II (Chen 2012, CC BY 4.0): every product sale order of one UK online gift-ware retailer in November 2010 and November 2011. Public data; no simulated orders.

What went wrong or was missed

  • The split explains noise as confidently as a real change. Mix, rate and interaction always add up exactly to the change, whatever it is. Here that gave +£40 of rate against −£38 of mix and interaction: a ready-made story (customers spent more per order, a shift in the mix took it back) about a change that is not there. With November 2011 as the baseline the same orders tell another story: rate shrinks from £40 to £21 and mix grows from £19 to £38.
  • One cancellation nearly reversed the answer. The plan counted cancellations dated 1 to 9 December against each November. With them the net change is −£55, but £168,470 of that is one cancellation of an order placed on 9 December 2011, outside November. The November-only figure (+£6), added after the results, is built for that one order, so it carries less weight than the checks written down first.
  • The orders that decide the KPI are the least tied to a customer. Guests placed 109 of 2,751 orders in November 2011, but 24 of the 46 very large ones, 61.1% of their value. Those orders cannot be split into returning and new buyers, and nobody can follow them up.
  • The price check misses new products. The like-for-like index covers products sold in both months: 90.9% of November 2010 sales but only 66.7% of November 2011's. A third of 2011's sales came from products not sold in November 2010, and their prices are outside the index.
  • September and October were not tested. The same comparison gives +£80 and +£63 per order for those months. They are context, computed after the results and not tested for noise. A monthly dashboard would have shown growth stopping in November; whether the earlier rises were real is the next thing to test.

What I would use when

Reading a moved average order value
MethodUse it forWatch out for
Average order value aloneRevenue planning and long trendsA few very large orders can flip its sign: removing them here gave −£15, capping them +£11, both inside their noise bands.
Median beside the averageThe typical order in a monthly review (£300 to £298 here)It hides a real change among the largest orders, so pair it with their count.
Count and share of very large ordersSeeing whether the orders that move the average changed (27 to 46 here)Fix the line once, here the top 1% of the earlier month, or the count drifts with the data.
Mix and rate split (the chart above)Finding where a real change sits, by market and customer typeIt always adds up to the change, noise included. Check the band first.
Resampling intervalWhether one month's move is bigger than order-to-order noise, with no model to fitSmall segments get bands too wide to read: the UK guest orders' own average runs from −£491 to +£2,907.
A/B test with a holdoutJudging an action meant to raise order valueIt needs a control group and time. A hypothetical +5% target, about £26 an order, sits far inside a one-month band of −£79 to +£90.
Automatic "explain this change" features in BI toolsA fast first look at which segments movedThey rank segments without a noise band, the same trap as the split.

For a monthly KPI I would report the average with the median, the large-order count and the noise band, and open the split only when a move falls outside the band. To judge an action I would run a holdout test, never the monthly average.

How I would roll this out with a team

First week (about two days of an analyst's time, my estimate). Write the KPI definition down once: which lines count as product sales, how postage, fees and cancellations are treated, and which months are compared. Finance signs it off, and it goes into the metric layer so every dashboard shows the same number.

Weeks two and three (about one engineer-week). The analytics engineer adds three things beside average order value in the monthly report: the median, the count and share of orders above the large-order line, and the noise band, recomputed each month by resampling that month's orders. The report also flags every large order with no customer account.

The same month (about one engineer-week). The product engineer who owns checkout and invoicing makes a customer account required above the large-order line. Sales operations owns the flagged orders: each gets a named contact and a follow-up within the week.

Every month, before the business review (about two hours). The analyst runs the written-down checks (weekdays, holidays, very large orders, cancellations, prices) and writes one line for the KPI slide: inside the band, or outside it with the cause and its size.

When the news is bad or a number was wrong. The executive hears "no measurable change" as plainly as a gain, with the band beside it, so a flat month does not start a hunt for a cause. When a definition change or a pipeline fault moved the number, finance and the account teams hear it from the data team first, with the corrected figure and what changed.

Feasibility. In all, on my estimates: about two engineer-weeks and two analyst days to set up, then about two hours a month. No new tool is needed: most warehouses already hold the orders, customer IDs and cancellations, and the resampling is a few lines of SQL or Python.

What it is worth

The money is in the large orders with no customer behind them. In November 2011 the 24 large guest orders carried about £215,000 of sales, about £9,000 each. The rollout pays for itself if following those buyers up brings back enough repeat orders to cover its cost. The inputs:

  • Setting up costs about two engineer-weeks, US$6,000 at US$75 an hour (my estimate).
  • Sales spends 10 to 30 minutes on each flagged order at US$50 an hour, with November's 24 flagged orders in every month, about 290 a year (assumed).
  • A followed-up buyer places one more order of the November 2011 average for these orders, at a 20% to 40% gross margin, converted at US$1.30 per pound (assumed).
First-year cost against the extra large orders needed to cover it
CaseGross margin (assumed)Sales minutes per flagged order (assumed)First-year costMargin on one extra large orderExtra large orders a year to cover it
Cautious20%30US$13,200US$2,3006
Middle30%15US$9,600US$3,5003
Favourable40%10US$8,400US$4,7002

If each follow-up brings an order as large as these, about £9,000, the rollout pays for itself in every row with 2 to 6 extra orders a year, out of about 290 followed up. If it brings a typical order, £528, it takes 31 to 97. These are break-even counts on assumed inputs, not a forecast, so I would start with a pilot: follow up half the flagged orders and compare their repeat orders with the half not followed up. The other gain, not acting on a move that is noise, I do not price: it depends on what a team would otherwise have done.

Where AI fits

Ask an AI assistant why average order value moved and the easy answer is the split above, told as a story: customers spent £40 more per order and a shift in the mix took it back. Each number in that story is right and the story is wrong, because no part of it is clear of noise. A query that fails is easy to catch. The dangerous AI error is a plausible number with no error attached.

My method for any AI answer: ask the AI questions I already know the answers to, compare its answers with mine the way a trial compares a treatment with a control group, then build what I learn into hard checks and rules the model must follow. This question makes a good known answer, because the right answer is "no measurable change". The rules I would give an AI analyst are the ones this page follows: compute the noise band before naming a cause, put the median and the very large orders beside the average, and run the written-down checks first. I have not run that test on this question.

Two published studies go further on AI over company data. Agent-ready data marts tests how much documentation a model needs to answer correctly from company tables. AI adoption measurement covers what comes after accuracy: whether people use an assistant and come back to it.

Method and checks

The analysis reproduces byte for byte. The segments are added in a fixed order, because adding decimals in a different order can change the last digit, and a test reruns the analysis under different orderings.

One joint classification: market (United Kingdom, each country with at least 1% of all orders in the full file, and four pooled groups) by customer type (returning, new or lapsed, guest). Every drill-down shows its contribution to the change in the overall average. Segment contributions are measured relative to the November 2010 average.

All joint segments (CSV) Market contributions (CSV) Period orders and averages (CSV)

The KPI and the months

Average order value is product sale value divided by orders: 2,719 orders in November 2010 and 2,751 in November 2011. An order is one invoice with at least one product line sold at a positive quantity and price. Postage, carriage, fees, manual entries, adjustments, cancellations and zero or negative lines are left out (29,822 lines in the full file), and so are 11,812 exact duplicate lines.

November 2011 is the last complete month in the file; November 2010 is the same month a year earlier, so the season and the length (30 days) are the same. The months were chosen before any order value was computed.

How the change is split

For each segment, w is its share of orders and r its average order value. With November 2010 as baseline and M0 its overall average, mix is (w1 − w0) × (r0 − M0), rate is w0 × (r1 − r0), and interaction is (w1 − w0) × (r1 − r0). A segment whose share grows raises the average only if its own average was above M0. The three parts add up exactly to the change: mix −£18.87, rate +£40.18, interaction −£19.23. Reversing the baseline in the explorer moves amounts between the three parts; the orders stay the same.

A customer is returning when the same customer ID ordered in the 11 months before the month (1 December to 31 October, the same 335 days for both years), new or lapsed when it did not, and a guest when the order has no customer ID. Guest orders are few but large: 102 UK guest orders in November 2011 averaged £3,068.

A segment with orders in only one month uses its observed average from the other month and sits inside mix.

How much is noise

The orders of each month were resampled with replacement 2,000 times. The change in the average falls between −£79 and +£90 in 95% of resamples. The same holds for mix, rate and interaction and for the change inside every segment with at least 100 orders in both months. The United Kingdom stays the largest market contribution in 82.5% of resamples.

Rounding

The headline, key figures, chart labels and rankings round to the nearest whole pound, halves away from zero. The exact change is +£2.08, from £525.76 to £527.85. The full contribution table and the downloads keep pence. Where displayed parts do not add to their displayed total, the rounding difference is stated beside them.

Written down first, and what was added after

The months, KPI, segments, split, resampling and each check with its rule were written down before any order value was computed. Three analyses were added after the results: November-only cancellations beside the planned window, intervals for individual segments, and a profile of the large orders. No rule written down first was changed. The September and October figures were computed later, as context.

Data attribution and licence

Data attribution and licence

Source: Chen, D. (2012). Online Retail II [Dataset]. UCI Machine Learning Repository. https://doi.org/10.24432/C5CG6D Licence: Creative Commons Attribution 4.0 International (CC BY 4.0), https://creativecommons.org/licenses/by/4.0/

The files in this folder are derived from that dataset and were changed: the two yearly sheets were combined, exact duplicate lines were dropped, lines were classified and aggregated to orders and product totals, countries were grouped into markets, and customer IDs were replaced by a customer type. No customer ID and no product description is included. The dataset's creator and publisher do not endorse this analysis.

Use this at your company

To run the same check on your own orders, paste this prompt into an AI assistant along with your order data.

This method comes from Diogo Travassos's study "Order value change" (https://diogotravassos.dev/order-value-change/site/index.html). If you can open links, read it first: it works the method through end to end, with its checks. The steps below stand on their own if you can't.

Help me find out whether our average order value really changed between two months, and why, before anyone names a cause.

Data: order lines with order id, order date, customer id (blank for guests), country or market, product code, quantity, unit price and cancellations.

Steps:
1. Define the measure: product sales divided by orders. Leave out fees, postage, cancellations, zero or negative lines and exact duplicates, and count what you drop.
2. Compare the same month a year apart, so the season matches.
3. Before computing any value, list the possible explanations (weekday mix, holidays, very large orders, cancellations, price changes) and the rule each must meet to count as the cause.
4. Resample the orders of each month with replacement 2,000 times and give the 95% band for the change.
5. Split the change by segment (market by customer type) into mix, rate and interaction, and confirm the parts add up exactly.
6. Run each check: remove and then cap the orders above the earlier month's top 1%, standardise weekdays, compare matched product prices.

Checks: name no cause while the band includes zero; reverse the baseline and report how the parts move; run the analysis twice and confirm the output is identical.

Report: the change and its band, which checks met their rule, the median and the count of very large orders beside the average, how many large orders have no customer id, and the limits: two months of one business, and another month needs its own band.

In your report, say which study you followed and link it: https://diogotravassos.dev/order-value-change/site/index.html