Glossary term

Seasonal-Trend Decomposition Using LOESS (STL)

STL is a time-series decomposition method that uses LOESS smoothing to separate data into seasonal, trend, and remainder components.

Updated

May 24, 2026

Read time

3 min read

What Is Seasonal-Trend Decomposition Using LOESS?

Seasonal-Trend Decomposition Using LOESS, or STL, is a time-series method that separates data into seasonal, trend, and remainder components. It uses LOESS, a local regression smoothing technique, to estimate patterns that change over time.

STL is useful when a data series has recurring seasonal behavior but the seasonal pattern or trend may not be perfectly fixed. Businesses and analysts use decomposition to understand what part of a movement is seasonal, what part is underlying trend, and what part is irregular noise.

Key Takeaways

  • STL decomposes a time series into seasonal, trend, and remainder components.
  • It uses LOESS smoothing rather than assuming a rigid seasonal pattern.
  • The method is useful for sales, demand, economic, traffic, claims, and operating data.
  • STL is often used before forecasting or anomaly detection.
  • Parameter choices can affect the result, so decomposition should be interpreted carefully.

The Three Components

Component

What it represents

Financial use

Seasonal

Recurring calendar pattern

Holiday sales, monthly demand, quarterly cycles

Trend

Longer-run direction

Growth, decline, market expansion, business maturity

Remainder

Leftover irregular movement

Shocks, outliers, noise, unexplained variation

How STL Works

STL repeatedly smooths parts of the series to estimate the seasonal and trend components. LOESS fits local curves rather than one global equation. That flexibility helps STL handle changing seasonal behavior better than very rigid decomposition methods.

For example, a retailer may have strong December seasonality every year, but the size of the holiday effect can change as the business grows, promotions change, or customer behavior shifts. STL can help separate the seasonal lift from the underlying trend.

Business and Forecasting Use

Decomposition can prevent bad comparisons. A sales drop from December to January may be normal seasonality, not a collapse in demand. A monthly increase may look impressive until the seasonal component shows that the same month is usually strong.

STL can also support forecasting. Analysts may remove or model seasonality, forecast the remaining structure, and then reapply seasonal patterns. It is also used to detect unusual observations when the remainder component is unexpectedly large.

STL Versus Seasonal Adjustment

STL is a decomposition method. Seasonal adjustment is a broader reporting goal: presenting data after estimated seasonal effects are removed. STL can be one way to perform or support seasonal adjustment, but the terms are not identical.

That distinction matters when reading economic releases. A seasonally adjusted series may use a specific official methodology, revision policy, and statistical process. STL is one tool in the larger family of time-series decomposition and adjustment methods.

Model Choices

STL results depend on choices such as seasonal window, trend window, robustness settings, and data frequency. Those choices influence how much movement is assigned to trend, seasonality, or remainder. Two reasonable decompositions can look different if the analyst chooses different smoothing settings.

The method also needs enough history to estimate seasonal patterns. A short series, a structural break, a new product launch, or a sudden policy change can make decomposition less reliable.

STL is often most valuable as a diagnostic view before a decision. It can show whether a budget miss came from seasonality, trend deterioration, or a one-off shock. That separation helps managers respond with the right action instead of treating every move as the same kind of problem.

Decomposition also makes communication easier. A chart that separates seasonal, trend, and remainder lines can help a team see whether a reported decline is normal calendar behavior or a real deterioration that needs management attention.

The Bottom Line

STL is a flexible decomposition method that uses LOESS smoothing to separate a time series into seasonal, trend, and irregular components. It helps analysts read noisy data more clearly, but the result depends on sensible settings and business context.

Related Terms