Tools › Statistics › Forecasting › Daily Seasonality and Anomalies › Example

A metric with no weekday pattern at a limit of 2: 12 flagged days, and 13 expected from noise alone

ToolDaily Seasonality and Anomalies
Sourceoriginal
LevelUndergraduate

Problem

A response time in milliseconds is logged daily for 26 weeks. It was generated as independent noise about a flat level, with no weekday pattern and no unusual day. With the flag limit lowered to 2 robust standard deviations, count the flagged days and compare the count with what chance gives.

Inputs to Enter

  • Daily rows: the 182 seeded illustrative rows of the case (date, response time in ms), 2026-01-05 to 2026-07-05
  • Additive model; 28-day centered moving median; flag limit 2
Open the Daily Seasonality and Anomalies tool

Answers

  • Weekday effects between −3.0 ms (Friday) and +4.3 ms (Saturday) on a level of about 240 ms; 6 of the 7 intervals at 95 % include 0, and with no pattern about 7 × 0.05 = 0.35 would exclude it by chance
  • Robust scale s = 1.4826 × 7.59 = 11.26 ms (12 ms was built into the data)
  • Flagged: 12 of 182 days
  • By chance for normal residuals: 182 × 2 × (1 − Φ(2)) = 182 × 0.0455 = 8.3
  • In 100 seeded records of pure noise put through the same fit: 13 flagged on average, and 59 of the 100 records had 12 or more
  • Largest change of level 2.6 standard errors; 36 of the 100 noise records reached that

Notes

Open this case in the tool: /analysis-tools/statistics/forecasting/daily-seasonality-anomalies/?try=no-weekday-pattern . The series is synthetic (seeded) and illustrative. The fit pulls the residual scale down a little (11.26 against 12), which is why pure noise gives more flags than the normal tail says.

More Examples for This Tool