Packages

object SARIMA

Companion object for class SARIMA. Includes features related to differencing and automated order selection.

See also

www.jstatsoft.org/article/view/v027i03/v27i03.pdf

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SARIMA
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def difference(y: VectoD, d: Int, dd: Int, period: Int): (VectoD, VectoD)

    Difference the time series.

    Difference the time series. Return both the completely differenced time series and the intermediate (differenced once) time series (needed to scale back results later).

    y

    the time series to be differenced

    d

    the order of simple differencing

    dd

    the order of seasonal differencing

    period

    the seasonal period

  2. def differenceSeason(y_: VectoD, dd: Int, period: Int): VectoD

    Difference for seasonality.

    Difference for seasonality.

    y_

    the time series to be seasonally differenced, this is usually the intermediate result after simple differencing.

    dd

    the order of seasonal differencing

    period

    the seasonal period

  3. def transformBack(xp: VectoD, x_: VectoD, y: VectoD, d: Int, dd: Int, period: Int): VectoD

    Transform the fitted values on the training data of a differenced time series back to the original scale.

    Transform the fitted values on the training data of a differenced time series back to the original scale.

    xp

    the vector of predictions/fitted values of a differenced time series

    x_

    the intermediate result after differencing for trend, but before differencing for seasonality

    y

    the original time series

    d

    the order of simple differencing

    dd

    the order of seasonal differencing

    period

    the seasonal period

    See also

    stats.stackexchange.com/questions/32634/difference-time-series-before-arima-or-within-arima

  4. def transformBackF(xf: VectoD, x_: VectoD, xx: VectoD, d: Int, dd: Int, period: Int, t: Int): VectoD

    Transform the forecast values of a differenced time series back to the original scale.

    Transform the forecast values of a differenced time series back to the original scale.

    xf

    the vector of forecasted values of a differenced time series

    x_

    the intermediate result after differencing for trend, but before differencing for seasonality

    xx

    the original zero-mean time series

    d

    the order of simple differencing

    dd

    the order of seasonal differencing

    period

    the seasonal period

    t

    the time being forecasted (@see the 'forecast' method)

    See also

    stats.stackexchange.com/questions/32634/difference-time-series-before-arima-or-within-arima

  5. def transformBackFSeason(xf: VectoD, x_: VectoD, dd: Int, period: Int, t: Int): VectoD

    Transform the forecast values of a differenced time series back to the original scale.

    Transform the forecast values of a differenced time series back to the original scale. Undo seasonal differencing only.

    xf

    the vector of forecasted values of a differenced time series

    x_

    the intermediate result after differencing for trend, but before differencing for seasonality

    dd

    the order of seasonal differencing

    period

    the seasonal period

    t

    the time point being forecasted (@see the 'forecast' method)

    See also

    stats.stackexchange.com/questions/32634/difference-time-series-before-arima-or-within-arima

  6. def transformBackSeason(xp: VectoD, x_: VectoD, dd: Int, period: Int): VectoD

    Transform the fitted values on the training data of a differenced time series back to the original scale.

    Transform the fitted values on the training data of a differenced time series back to the original scale. Undo seasonal differencing only.

    xp

    the vector of predictions/fitted values of a differenced time series

    x_

    the intermediate result after differencing for trend, but before differencing for seasonality

    dd

    the order of seasonal differencing

    period

    the seasonal period

    See also

    stats.stackexchange.com/questions/32634/difference-time-series-before-arima-or-within-arima