Components of Seasonal Decomposition
What you'll learn: How seasonal decomposition breaks time series data into three distinct components that reveal different patterns in your data.
The Core Idea
Seasonal decomposition is the process of separating your time series into three fundamental building blocks: trend, seasonal, and residual components. Think of it like unmixing a smoothie—you're identifying the banana (trend), the strawberries (seasonal pattern), and the ice bits (residual noise) that were blended together.
The Three Components
Trend Component
This captures the long-term direction of your data—whether values are generally increasing, decreasing, or staying flat over time. It's the smooth, underlying movement stripped of short-term fluctuations.
Seasonal Component
This represents the regular, repeating patterns that occur at fixed intervals—daily, weekly, monthly, or yearly cycles. For example, ice cream sales peak every summer in a predictable way. The seasonal component isolates these repeating ups and downs.
Residual Component
Also called the "irregular" or "remainder" component, this is what's left after removing trend and seasonality. It captures random noise, unexpected events, and anything the other two components can't explain.
How They Combine
These components combine to form your original time series in one of two ways:
- Additive model: Observed = Trend + Seasonal + Residual
- Multiplicative model: Observed = Trend × Seasonal × Residual
You've already learned when to use each model type. Decomposition simply reveals the individual pieces that add up (or multiply together) to create what you observe.
Key Takeaway: Seasonal decomposition breaks your time series into trend (long-term direction), seasonal (repeating patterns), and residual (random noise) components, helping you understand what drives your data's behavior.