Statistics Quest

Monthly product demand

Eight years (96 months, 2017–2024) of monthly unit demand for three products sold by a fictional household-goods distributor, Saffron Wharf Supply: ceiling fans (summer peak), water heaters (winter peak) and school backpacks (back-to-school peak in August). Each row is one product-month. The series combine trend, 12-month seasonality and noise, and the water-heater series has a structural break. Built for decomposition, forecasting and honest hold-out evaluation.

Rows
288
Columns
4
One row is
one product-month
Version
v1

Data dictionary

ColumnTypeUnitSummaryDescription
month
Month
dateFirst day of the month.
month_index
Month index
integermean 48.5, median 48.5, SD 27.76, range 1–96Months since the start of the series (1 = January 2017).
product
Product
category3 levels: Ceiling fan, Water heater, School backpackProduct line.
units
Units demanded
integerunitsmean 1749, median 1303, SD 1312, range 372–5929Units ordered by retailers in the month.

What it is good for

  • Plot and decompose a monthly series into trend, seasonal and irregular parts.
  • Fit seasonal naive, moving-average, exponential smoothing and regression-with-season forecasts.
  • Evaluate forecasts on a hold-out year with MAE, RMSE and MAPE.
  • Detect a structural break and explain why models fitted across it forecast badly.

Methods: time series plot, classical decomposition, seasonal naive forecast, exponential smoothing, Holt–Winters, regression with seasonal dummies, train/test split, MAPE.

Data quality notes

  • Water heater demand drops by about 25% from January 2022 (month 61) — a structural break, not noise.
  • Seasonal patterns differ in shape and timing between products.
  • Long format: filter by product before fitting a single-series model.
  • No missing values.

Provenance and licence

Units = level × trend × seasonal index × log-normal noise (sd 0.06–0.08), rounded to whole units. Ceiling fans: level 2 400, +4% per year, peak June–August (index up to ≈1.8). Water heaters: level 1 500, +2% per year, peak December–February; from month 61 (January 2022) the level drops by 25% and stays lower (structural break). Backpacks: level 900, flat, sharp August peak (≈3.5×) with a smaller January bump.

Synthetic data · CC0-1.0 (synthetic data generated by Statistics Quest) · generated deterministically (seed 20241012). It does not describe real people or organisations; any resemblance is coincidental.

Preview

Dataset

Monthly product demand

288 rows · one row = one product-month · synthetic data

MonthMonth indexProductUnits demanded (units)
2017-01-011Ceiling fan1232
2017-01-011Water heater2430
2017-01-011School backpack1080
2017-02-012Ceiling fan1481
2017-02-012Water heater2264
2017-02-012School backpack429
2017-03-013Ceiling fan1948
2017-03-013Water heater1483
2017-03-013School backpack453
2017-04-014Ceiling fan2427
2017-04-014Water heater1304
2017-04-014School backpack539

Used in