SARIMA

scalation.modeling.forecasting.SARIMA
See theSARIMA companion class
object SARIMA

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

Attributes

See also
Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
SARIMA.type

Members list

Value members

Concrete methods

def difference(y: VectorD, d: Int, dd: Int, period: Int): (VectorD, VectorD)

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

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

Value parameters

d

the order of simple differencing

dd

the order of seasonal differencing

period

the seasonal period

y

the time series to be differenced

Attributes

def differenceSeason(y_: VectorD, dd: Int, period: Int): VectorD

Difference for seasonality.

Difference for seasonality.

Value parameters

dd

the order of seasonal differencing

period

the seasonal period

y_

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

Attributes

def transformBack(xp: VectorD, x_: VectorD, y: VectorD, d: Int, dd: Int, period: Int): VectorD

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.

Value parameters

d

the order of simple differencing

dd

the order of seasonal differencing

period

the seasonal period

x_

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

xp

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

y

the original time series

Attributes

See also

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

def transformBackF(xf: VectorD, x_: VectorD, xx: VectorD, d: Int, dd: Int, period: Int, t: Int): VectorD

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.

Value parameters

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)

x_

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

xf

the vector of forecasted values of a differenced time series

xx

the original zero-mean time series

Attributes

See also

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

def transformBackFSeason(xf: VectorD, x_: VectorD, dd: Int, period: Int, t: Int): VectorD

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

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

Value parameters

dd

the order of seasonal differencing

period

the seasonal period

t

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

x_

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

xf

the vector of forecasted values of a differenced time series

Attributes

See also

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

def transformBackSeason(xp: VectorD, x_: VectorD, dd: Int, period: Int): VectorD

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

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

Value parameters

dd

the order of seasonal differencing

period

the seasonal period

x_

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

xp

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

Attributes

See also

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