Skip to content
Preptima
mediumConceptScenarioMidSeniorStaff

Walk me through what you check for stationarity and seasonality, and what you do about what you find.

5 min readUpdated 2026-08-15

Answer

Short answer

Plot the series first, then use a decomposition and an ADF or KPSS test to separate trend from seasonality from noise. Difference or transform away a trend, use Fourier terms when several seasonal periods coexist, and treat holidays and calendar structure as features rather than outliers.

Was this answer helpful?

Likely follow-ups

  • ADF says stationary and KPSS says not. What do you conclude?
  • Why would you use a log transform rather than a seasonal difference?
  • How would you encode Easter, and why is it harder than Christmas?
  • Which of these steps become unnecessary if you use a gradient-boosted model on lag features?

Related questions

Further reading