ETS Learner

ETS models are state-space exponential smoothing models that combine: - an error component (Additive or Multiplicative), - an optional trend component (none/Additive/Multiplicative, optionally damped), - an optional seasonal component (none/Additive/Multiplicative).

This learner evaluates a set of candidate ETS specifications (based on your settings), records their fit statistics, and selects the best model according to the chosen criterion.

How model selection works

  1. Build the list of candidate component combinations from your settings (Automatic → multiple options, fixed → a single option).
  2. Fit each candidate using statsmodels ETS state-space maximum likelihood.
  3. Store per-candidate diagnostics (AIC/BIC/HQIC/LLF and error metrics) in Optimization History.
  4. Select the best candidate by: - maximizing LLF (Log Likelihood), or - minimizing AIC/BIC/HQIC/MSE/MAE/(relative metrics).

Inputs

  • Input Data: Univariate time series stored as a numeric column.

Key constraints and safety checks

  • The Target Column must contain no missing values.
  • If a seasonal model is used:
  • a warning is issued when the series has fewer than 2 full seasonal cycles,
  • fitting is blocked when the series has fewer than 1 seasonal period.
  • Multiplicative error requires strictly positive observed values.
  • Multiplicative trend is only allowed when “Allow Multiplicative Trend” is enabled (and is generally discouraged due to unstable long-horizon forecasts).

Parameters

  • Target Column: Numeric time series variable used for training.
  • Model Selection Criterion:
  • LLF, AIC, BIC, HQIC (likelihood / penalized likelihood criteria),
  • MSE, MAE (absolute-scale errors),
  • MSE_REL, MAE_REL (relative-scale errors; expressed as a percentage).
  • Error / Trend / Seasonal Model:
  • Choose “Automatic” to evaluate multiple options,
  • or fix specific components to restrict the search.
  • Seasonality: Seasonal period length (only shown when seasonal component ≠ None).

Outputs

  1. In-sample Predictions and Residuals: Original value, fitted value, residual, and absolute error. (Initial unstable predictions are excluded for more reliable diagnostics.)
  2. Coefficients and Statistics: Model short name plus fitted parameters (excluding initial state values) and fit metrics.
  3. Residual Diagnostics: Ljung-Box, Jarque-Bera, Shapiro-Wilk tests applied to model residuals.
  4. Optimization History: One row per attempted component combination with fit statistics and status.
  5. Model: Pickled fitted ETS results object, usable by the ETS Predictor.

Notes

  • Very large seasonal periods (e.g., > 100) can be computationally expensive and numerically fragile. Consider aggregation or seasonal pre-processing (e.g., STL/Fourier features) in those cases.

Options

Target Column

Numeric time series column for model training. Must contain no missing values. This is the variable the model will learn to predict and forecast.

Model Selection Criterion

Criterion used to select the best model during training. 'AIC' and 'BIC' penalize model complexity, while 'Log Likelihood' (default) focuses on fit quality.

Available options:

  • LLF: Likelihood - Focuses solely on model fit quality without penalizing complexity.
  • AIC: Akaike Information Criterion - Optimizes prediction accuracy, allows moderate complexity. Best for forecasting applications.
  • BIC: Bayesian Information Criterion - Strong complexity penalty, favors simpler models. Best for model interpretation and explanation.
  • HQIC: Hannan-Quinn Information Criterion - Balanced approach between prediction and parsimony. Good general-purpose choice.
  • MSE: Mean Squared Error - Measures average squared difference between observed and predicted values.
  • MAE: Mean Absolute Error - Measures average absolute difference between observed and predicted values.
  • MSE_REL: Relative Mean Squared Error - MSE of relative residuals (residual / fitted value), expressed as a percentage.
  • MAE_REL: Relative Mean Absolute Error - MAE of relative residuals (residual / fitted value), expressed as a percentage.

Model Methods

Model Methods Parameter Group

Trend Model

Specifies the trend component to use in the ETS model.

Available options:

  • Automatic: Automatic selection based on data characteristics
  • None: No trend component
  • Additive: Additive trend component
  • Multiplicative: Multiplicative trend component
  • Additive damped: Additive damped trend component
  • Multiplicative damped: Multiplicative damped trend component
Allow Multiplicative Trend

Enable or disable the use of multiplicative trend components in the model. Multiplicative trends can capture exponential growth or decay but tend to produce poor forecasting performance.

Seasonal Model

Specifies the seasonal component to use in the ETS model.

Available options:

  • Automatic: Automatic selection based on data characteristics
  • None: No seasonal component
  • Additive: Additive seasonal component
  • Multiplicative: Multiplicative seasonal component
Seasonality

Specify the length of the seasonal period for your time series data. This parameter determines how many observations constitute one complete seasonal cycle

Error Model

Specifies the error model to use in the ETS model.

Available options:

  • Automatic: Automatic selection based on data characteristics
  • Additive: Additive error model
  • Multiplicative: Multiplicative error model

Box-Cox settings

Grouped parameters for Box-Cox transformation settings.

Use Box-Cox transformation

Apply Box-Cox transformation before interpolation. Requires all observed values to be positive. Enabling this option can help stabilize variance and make the data more normally distributed. If marked, only additive models are considered. Fitted values are back-transformed in the in-sample output; residuals and residual-based diagnostics remain on the log scale.

Estimate lambda parameter for Box-Cox automatically

If enabled, lambda is estimated from the observed (non-missing) values.

Box-Cox lambda

Used only when Box-Cox is enabled and automatic lambda estimation is disabled.

Input Ports

Icon

Time series data table for training the ETS model. The selected target column must be numeric and contain no missing values.

Output Ports

Icon

Model fit quality assessment table containing original values, fitted predictions, residuals, and absolute errors. Initial unstable predictions (first max(2×seasonal period, 10) observations; 10 for non-seasonal models) are excluded to ensure reliable performance metrics.

Icon

Complete model summary including short model name, fitted coefficients with standard errors, and goodness-of-fit statistics (AIC, BIC, Log Likelihood, MSE, MAE).

Icon

Statistical tests for model adequacy assessment: Ljung-Box test for autocorrelation, Jarque-Bera test for normality (large samples), and Shapiro-Wilk test for normality (small-medium samples).

Icon

Detailed optimization transparency table showing all parameter combinations tested including error, trend, seasonal components, and corresponding fit statistics.

Icon

Trained ETS results object (pickled statsmodels ETSResults) ready for forecasting. Use with the ETS Predictor node to generate forecasts without retraining.

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.