Tools › Statistics › Forecasting › Daily Seasonality and Anomalies


Daily Seasonality and Anomalies

Paste dated daily rows (date, value) such as web visits, sales, orders or calls, and get the weekday pattern with intervals, the days that differ from the fitted pattern with the number of such days that noise alone produces, the effect of the special dates you enter, the largest change of level, and with two years of data the month pattern. The series is drawn with its expected band and the flagged days dated, above a calendar heat map of the residuals. Flags are days that differ from the fitted pattern; the page does not say why.

  • Weekday indices by a moving median and medians by weekday, with intervals from resampled weeks

  • Flagged days by a robust z-score, with the count expected by chance and the count in pure noise put through the same fit

  • Holidays and events entered as special dates: left out of the fit and reported with their measured effect

  • A calendar heat map of the residuals, the largest change of level, and one day worked in full

Daily Seasonality and Anomalies

/

Daily Rows

Three sample rows of a daily series with the columns named: the date, the value, and a second metric as an optional third column. Below them one line of the special dates box: a date and a label


Special Dates


Trend and Flags

A daily series with a weekly sawtooth: five busy weekdays and a weekend dip repeat around a slowly rising level line. A shaded band follows the sawtooth: the expected value plus and minus the flag limit times the robust scale. One day far below the band is marked as flagged










References

NIST/SEMATECH (2012). e-Handbook of Statistical Methods. National Institute of Standards and Technology, Gaithersburg, MD.

Iglewicz, B., and Hoaglin, D. C. (1993). How to Detect and Handle Outliers. ASQC Quality Press, Milwaukee, WI.

Hyndman, R. J., and Athanasopoulos, G. (2021). Forecasting: Principles and Practice, 3rd ed. OTexts, Melbourne.

Efron, B., and Tibshirani, R. J. (1993). An Introduction to the Bootstrap. Chapman and Hall, New York.


DISCLAIMER: The methods and calculation on aNOWysis.com are provided as means to educate the reader. There is no warranty, expessed or implied, as to the relevance or accuracy of the methods or calculations. All calculations should be checked by a qualified analyst for appropriateness and accuracy. We will not be held liable for any damages, injuries or deaths caused by using methods or calculations from this site.