Weekly store sales
Weekly sales for the 40 stores of a fictional home-goods chain, Lumen Bay Stores, over two years (104 weeks). Each row is one store-week with the store's region and size, a holiday-week flag, a promotion flag, footfall and sales in SAR. Sales follow a gentle upward trend, annual seasonality, holiday peaks and a real promotion lift, so the data support ANOVA by region, regression with dummies and time-series decomposition.
- Rows
- 4,160
- Columns
- 10
- One row is
- one store-week
- Version
- v1
Data dictionary
| Column | Type | Unit | Summary | Description |
|---|---|---|---|---|
store_idStore | id | Store identifier (ST01–ST40). | ||
regionRegion | category | 4 levels: Central, Eastern, Western, Southern | Sales region. | |
store_sizeStore size | ordinal | 3 levels: Small, Medium, Large | Size class of the store. | |
floor_area_m2Floor area | integer | m² | mean 1564, median 1510, SD 660.2, range 690–2990 | Sales floor area. |
weekWeek number | integer | mean 52.5, median 52.5, SD 30.02, range 1–104 | Week index from 1 (first week of 2023) to 104. | |
week_startWeek start | date | First day (Sunday) of the week. | ||
holidayHoliday week | boolean | 2 levels | True when the week contains a public/festival holiday period. | |
promotionPromotion | boolean | 2 levels | True when the store ran a chain-wide discount promotion that week. | |
footfallFootfall | integer | visitors | mean 3417, median 3109, SD 1412, range 1088–11150 | Number of visitors counted at the entrance. |
sales_sarWeekly sales | number | SAR | mean 323,020, median 293,911, SD 128,382, range 114,700–966,480 | Net sales for the week. |
What it is good for
- Compare mean weekly sales across regions and store sizes with one-way ANOVA.
- Estimate the promotion lift with regression while controlling for store, season and holidays.
- Decompose a store's sales series into trend, seasonality and noise.
- Explain why store-weeks from the same store are not independent observations.
Methods: one-way ANOVA, two-way ANOVA, multiple regression, dummy variables, time series decomposition, moving averages.
Data quality notes
- Observations are clustered: 104 weeks per store. Treating all 4 160 rows as independent overstates precision.
- Promotions are more likely in holiday weeks, so a naive promoted-vs-not comparison mixes the promotion lift with the holiday effect.
- Holiday weeks: 15, 16, 26, 38, 51, 66, 67, 77, 90, 103 (lunar-calendar holidays fall about 11 days earlier in the second year).
- No missing values.
Provenance and licence
Each store gets a base weekly sales level from its size (small 180k, medium 300k, large 480k SAR), a region factor and a log-normal store effect (sd 0.15). Weekly sales = base × trend (+0.08% per week) × annual seasonality (±7% sine wave plus a summer dip) × 1.35 in holiday weeks × 1.12 when the store runs a promotion (≈15% of store-weeks, more likely around holidays) × log-normal noise (sd 0.06). Footfall = sales ÷ average spend per visitor (≈95 SAR, varying by store) with Poisson-like noise.
Synthetic data · CC0-1.0 (synthetic data generated by Statistics Quest) · generated deterministically (seed 20241003). It does not describe real people or organisations; any resemblance is coincidental.
Preview
Dataset
Weekly store sales
4,160 rows · one row = one store-week · synthetic data
| Store | Region | Store size | Floor area (m²) | Week number | Week start | Holiday week | Promotion | Footfall (visitors) | Weekly sales (SAR) |
|---|---|---|---|---|---|---|---|---|---|
| ST01 | Central | Small | 954 | 1 | 2023-01-01 | false | true | 1986 | 214951.9 |
| ST01 | Central | Small | 954 | 2 | 2023-01-08 | false | false | 1811 | 201838.41 |
| ST01 | Central | Small | 954 | 3 | 2023-01-15 | false | true | 2045 | 217021.33 |
| ST01 | Central | Small | 954 | 4 | 2023-01-22 | false | true | 1947 | 212706.67 |
| ST01 | Central | Small | 954 | 5 | 2023-01-29 | false | false | 1798 | 193921.23 |
| ST01 | Central | Small | 954 | 6 | 2023-02-05 | false | false | 1894 | 201477.48 |
| ST01 | Central | Small | 954 | 7 | 2023-02-12 | false | false | 1830 | 197267.45 |
| ST01 | Central | Small | 954 | 8 | 2023-02-19 | false | false | 2001 | 206280.41 |
| ST01 | Central | Small | 954 | 9 | 2023-02-26 | false | false | 2025 | 211217.87 |
| ST01 | Central | Small | 954 | 10 | 2023-03-05 | false | false | 1853 | 201213.28 |
| ST01 | Central | Small | 954 | 11 | 2023-03-12 | false | false | 2113 | 206739.23 |
| ST01 | Central | Small | 954 | 12 | 2023-03-19 | false | false | 1865 | 199818.51 |
Used in
- Variables and observations · Statistical Thinking
- Line charts and time · Visualising and Exploring Data
- Misleading charts · Visualising and Exploring Data
- One-way ANOVA · Comparing Groups and Categorical Data
- Trend, seasonality and cycles · Time Series and Forecasting
- Simple exponential smoothing · Time Series and Forecasting
- Sales performance and KPIs · Applied Statistics for Professionals
- Did the promotion work? · Case
- Retail performance review: two years of Lumen Bay Stores · Capstone