25.10.2016 Views

SAP HANA Predictive Analysis Library (PAL)

sap_hana_predictive_analysis_library_pal_en

sap_hana_predictive_analysis_library_pal_en

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Prerequisite<br />

No missing or null data in the inputs.<br />

ARIMATRAIN<br />

This function generates ARIMA or ARIMAX training model.<br />

ARIMA Model<br />

An ARIMA model is a universalization of an auto regressive moving average (ARMA) model. The integrated<br />

part is mainly applied to induce stationary when data show evidence of non-stationary.<br />

An ARIMA (p, d, q) model can be expressed as:<br />

Φ(B)(1−B) d (Y t −c)=Θ(B)ε t , t∈Z<br />

An ARMA (p, q) model can be expressed as:<br />

Φ(B)(Y t −c)=Θ(B)ε t , t∈Z<br />

ε t ~i.i.d.N(0,σ 2 )<br />

Where B is lag operator (backward shift operator), c is the mean of the series data,<br />

Φ(B)=1−φ 1 B−φ 2 B 2 −…−φ p B p , p ≥ 0<br />

Θ(B)=1+θ 1 B+θ 2 B 2 +…+ θ q B q , q ≥ 0<br />

ARIMAX Model<br />

An ARIMAX model is a universalization of an ARMAX model. The integrated part is mainly applied to induce<br />

stationary when data show evidence of non-stationary.<br />

An ARIMAX (p, d, q) model can be expressed as:<br />

Φ(B)(1−B) d (Y t −c)=H T (1−B) d X t +Θ(B)ε t , t∈Z<br />

An ARMAX (p, q) model can be expressed as:<br />

Φ(B)Y t =H T X t +Θ(B)ε t , t∈Z<br />

ε t ~i.i.d.N(0,σ 2 )<br />

Where B is lag operator (backward shift operator), X t is a covariate vector at time t, and H is its coefficient<br />

vector.<br />

In <strong>PAL</strong>, the ARIMATRAIN algorithm first converts the original non-stationary time series data to a new<br />

stationary time series data by the integrated step, and then ARIMA fits the stationary time series data to an<br />

ARMA model, and ARIMAX fits the stationary time series data to an ARMAX model.<br />

<strong>PAL</strong> provides two parameter estimation methods: conditional sum of squares (CSS or conditional maximum<br />

likelihood estimation) and maximum likelihood estimation (MLE).<br />

SARIMA Model<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Predictive</strong> <strong>Analysis</strong> <strong>Library</strong> (<strong>PAL</strong>)<br />

<strong>PAL</strong> Functions P U B L I C 321

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!