Tools › Statistics › Forecasting › Daily Seasonality and Anomalies › Example
Retail sales with holidays entered as special dates: Black Friday at 2.5 times an ordinary Friday
| Tool | Daily Seasonality and Anomalies |
| Source | original |
| Level | Professional |
Problem
A shop has one year of daily sales (2025). Independence Day, Thanksgiving, Black Friday, the twelve days before Christmas and Christmas Day are known in advance to be unusual. Measure their effect without letting them distort the weekday pattern, and list the other days that differ from the pattern.
Inputs to Enter
- Daily rows: the 365 seeded illustrative rows of the case (date, sales), 2025-01-01 to 2025-12-31
- Special dates: 2025-07-04; 2025-11-27; 2025-11-28; 2025-12-13 to 2025-12-24; 2025-12-25 (16 days)
- Multiplicative model; 28-day centered moving median; flag limit 3.5
Answers
- Weekday indices from the 343 tested days: Saturday 1.345 (the strongest), Friday 1.119, Sunday 1.024, Thursday 0.941, Wednesday 0.871, Monday 0.865, Tuesday 0.835
- Black Friday (special, never flagged): 49,969 against 20,186.5 expected for a Friday at that level, +147.5 %, that is 2.5 times an ordinary Friday
- Thanksgiving and Christmas Day, closed: 0 against 16,989.4 and 16,820.1 expected, −100 %
- Flagged among the ordinary days: 2025-03-11 (7,249 against 15,324.8, −52.7 %, z = −11.39), 2025-05-08 (+16.2 %, z = +3.504) and 2025-09-06 (+38.2 %, z = +8.25)
- Chance count: 343 × 0.000465 = 0.16 by the normal tail; 0.31 on average in 54 seeded records of pure noise through the same fit
- The last six days of the year, after the special dates, have not enough usable days in their window and are not tested
Notes
Open this case in the tool: /analysis-tools/statistics/forecasting/daily-seasonality-anomalies/?try=retail-holiday-peak . The series is synthetic (seeded) and illustrative. The effect of one special date is one observation and carries that day's noise.
More Examples for This Tool
- Web visits with a weekend dip: a weekday pattern, and an outage day 78 % below its expected value
- A launch that lifts the level by 32 %: found as a change of level, not as flagged days
- A metric with no weekday pattern at a limit of 2: 12 flagged days, and 13 expected from noise alone
- Two years of daily orders: a summer slump with July 19 % under the long-run line, and growth of 10 % a year