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.

B<br />

Trend factor<br />

C<br />

Seasonal index<br />

F<br />

The forecast at m periods ahead<br />

t<br />

The index that denotes a time period<br />

Note<br />

α, β, and γ are the constants that must be estimated in such a way that the MSE of the error is minimized.<br />

<strong>PAL</strong> uses two methods for initialization. The first is the following formula:<br />

To initialize trend estimate B L−1 :<br />

To initialize the seasonal indices C i for i = 0,1,...,L−1 for multiplicative triple exponential smoothing:<br />

To initialize the seasonal indices C i for i = 0,1,...,L−1 for additive triple exponential smoothing:<br />

c i = x i - S L-1 0≤i≤L-1<br />

Where<br />

Note<br />

S L−1 is the average value of x in the L cycle of your data.<br />

The second initialization method is as follows:<br />

1. Get the trend component by using moving averages with the first two CYCLE observations.<br />

2. The seasonal component is computed by removing the trend component from the observations. For<br />

additive, use the observations minus the trend component. For multiplicative, use the observations divide<br />

the trend component.<br />

3. The start values of C t are initialized by using the seasonal component calculated in Step 2. The start values<br />

of S t and B t are initialized by using a simple linear regressing on the trend component, S t is initialized by<br />

intercept and B t is initialized by slope.<br />

408 P U B L I C<br />

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

<strong>PAL</strong> Functions

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

Saved successfully!

Ooh no, something went wrong!