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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PAL</strong>_TSTREND_TREND_TBL:<br />

<strong>PAL</strong>_TSTREND_DETRENDED_TBL:<br />

3.5.13 White Noise Test<br />

This algorithm is used to identify whether a time series is a white noise series. If white noise exists in the raw<br />

time series, the algorithm returns the value of 1. If not, the value of 0 will be returned.<br />

<strong>PAL</strong> uses Ljung-Box test to test for autocorrelation at different lags. The Ljung-Box test can be defined as<br />

follows:<br />

H 0 : White noise exists in the time series (ρ 1 =ρ 2 =ρ 3 =...=ρ m =0).<br />

H 1 : White noise does not exists in the time series.<br />

The Ljung-Box test statistic is given by the following formula:<br />

Where n is the sample size, is the sample autocorrelation at lag h, and m is the number of lags being tested.<br />

The statistic of Q follows a chi-square distribution. Based on the significance level α, the critical region for<br />

rejection of the hypothesis of randomness is<br />

Where<br />

is the chi-squared distribution with m degrees of freedom and α quantile.<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 427

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

Saved successfully!

Ooh no, something went wrong!