How Automated Time-Series Analysis Works
Decomposition, detection and the order in which a machine should ask the questions.
Decomposition, detection and the order in which a machine should ask the questions.
Irregular spacing, duplicated timestamps, timezone drift and daylight-saving boundaries produce spurious structure that no amount of modelling recovers from. This check is unglamorous and catches more real errors than the modelling that follows.
If the level or the variance changes partway through, everything estimated across the break is a blend of two regimes. Seasonal estimates in particular will absorb a step change and report it as a cycle.
A candidate period comes from the domain, not from the spectrum alone. Weekly and annual periods are usually real; a detected period of 37 days usually is not.
With breaks and cycles accounted for, the remaining slow movement is the trend. Reported without the other two, a trend estimate is an artefact of the window chosen.
Simulate from the fitted model and compare. Systematic divergence in a particular period is more informative than a global goodness-of-fit number — see the unemployment analysis.