STLdekomposition
STLdekomposition, commonly referred to as STL decomposition, is a time-series analysis technique used to partition a series into three components: trend, seasonal, and remainder. Developed to handle complex seasonal patterns, it relies on LOESS (locally estimated scatterplot smoothing) to estimate both seasonal and trend components in a flexible, nonparametric way. The standard model is additive, where the observed value equals the sum of trend, seasonal, and remainder. A multiplicative version can be obtained via log-transforming the data or by applying the method to a standardized series.
The algorithm iteratively applies Loess smoothing: a seasonal component is estimated by smoothing residuals with a
STLdekomposition is appreciated for its ability to handle changing seasonality, irregular patterns, and moderate missing values,
In practice, STL decomposition supports forecasting and diagnostic work by isolating components, aiding interpretation of seasonal