Tools › Statistics › Forecasting › Daily Seasonality and Anomalies › Example
Two years of daily orders: a summer slump with July 19 % under the long-run line, and growth of 10 % a year
| Tool | Daily Seasonality and Anomalies |
| Source | original |
| Level | Professional |
Problem
A business has daily orders for 2024 and 2025 (731 days, three of them missing). Separate the weekday pattern, the month pattern and the long-run change, and list the days that differ from the fitted pattern.
Inputs to Enter
- Daily rows: the 731 seeded illustrative rows of the case (date, orders), 2024-01-01 to 2025-12-31; three rows have a blank value
- Multiplicative model; 28-day centered moving median; flag limit 3.5
Answers
- Weekday indices: Tuesday 1.140 (interval 1.133 to 1.145) the strongest, Saturday 0.771 (0.764 to 0.776) the weakest
- Month indices of the level by least squares on ln(level) = a + b × day + month effect: June 0.882, July 0.805, August 0.855; November 1.102 the highest
- Long-run change +10.4 % a year (10 % was built into the data)
- Flagged: 2 of 728 tested days: 2025-05-13 (1,085 against 1,919.5 expected, −43.5 %, z = −9.68) and 2024-07-30 (+17.4 %, z = +3.87)
- Chance count: 728 × 0.000465 = 0.34 by the normal tail; 0.52 on average in 27 seeded records of pure noise through the same fit
- Largest change of level: +14.3 % from 2024-09-13, the climb out of the summer slump (a seasonal swing counts as a change of level)
Notes
Open this case in the tool: /analysis-tools/statistics/forecasting/daily-seasonality-anomalies/?try=two-years-summer-slump . The series is synthetic (seeded) and illustrative. With two years each month is seen twice, so one unusual month moves its index; the page gives no interval for the month pattern.
More Examples for This Tool
- Web visits with a weekend dip: a weekday pattern, and an outage day 78 % below its expected value
- Retail sales with holidays entered as special dates: Black Friday at 2.5 times an ordinary Friday
- 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