Icon

ARIMA Example

ARIMA Model Example

This workflow predicts the irregular component of time series (energy consumption) by autoregressive integrated moving average (ARIMA) models that aim at modeling the correlation between lagged values and controling for seasonality in time series. The number of lagged values considered in the model can be set manually, or it can be optimized by testing different combinations of AR, I, and MA components of the model. The irregular component of time series is what is left after removing the trend and first and second seasonality.

Annotations and comments
  • ARIMA method
  • ARIMA components!
  • break if num missing > 0
  • filter to target column
  • count missing
  • rename target
  • Target Column
  • AR Order
  • I Order
  • MA Order
  • Missing MAPE if zeroes in target
  • ARIMA Learner
  • Residuals
  • Model summary
  • Method
  • Dynamic
  • EmptyTable to satisfy data input port
  • number of Periods to Forecast
  • forecast
  • in-sample prediction
  • level
  • Empty table
  • less than 2 rows
  • Calculate sample acf
  • Calculate JB test statistics
  • Histogram as last
  • Lag
  • From 1 on
  • Calculate row count
  • DoF
  • ACF
  • zero
  • calc correlations
  • LB test
  • Lag 0
  • Distribution and summary statistics
  • Colors
  • Stationarity
  • name column "signal"
  • signalcolumn
  • Correlation cut off
  • fail if step size > max lag
  • Cut Off
  • Max Lag
  • Step Size
  • check that step size <= max lag
  • export dominant seasonality lag as flow variable
  • Max Lags
  • Lag Step
  • return other columns
  • Signal
  • Noise
  • Seasonality 2
  • numeric index for x-axis
  • First and second lags for output
  • 0 for seasonality if non detected
  • show error message if no numeric col is found in the input
  • get only value column
  • take only lag column
  • remove lag col
  • Only allows for numeric selection
  • rename col to data
  • rename lag
  • rename col
  • Value Column
  • get number of rows
  • Lag Value
  • create col name
  • join with original table
  • create lag cols
  • remove seasonality
  • remove missing rows
  • replace missing vals with 0
  • average of previous and next values
  • previous value
  • next value
  • mean value
  • read energy data
  • boolean to replace timestamp column
  • take only the timestamp col
  • select timestamp
  • rename col to lower bound
  • rename col to upper bound
  • update domain
  • extract table dim
  • extract table spec
  • get index of last row
  • merge all
  • take only last row
  • take only first row
  • top port: Local Date Time second port: Local Date
  • top port: Local Time bottom port: Zoned Date Time
  • for Local Date Time
  • for Local Date
  • for Local Time
  • for Zoned Date Time
  • determine the port for the CASE Switch node
  • merge all flow variables
  • rename the new timestamp col to the old timestamp name
  • rename the new timestamp col
  • top: replace bottom: append
  • create column name
  • join with other input columns
  • sort by timestamp
  • create new RowIDs
  • map the selected window to the corresponding period
  • determine port
  • select time window

Nodes

Extensions

Links