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.

CALL DM_<strong>PAL</strong>.<strong>PAL</strong>_CHISQTESTIND_PROC(<strong>PAL</strong>_CHISQTESTIND_DATA_TBL, #<strong>PAL</strong>_CONTROL_TBL,<br />

<strong>PAL</strong>_CHISQTESTIND_EXPECTEDRESULT_TBL, <strong>PAL</strong>_CHISQTESTIND_STATVALUE_TBL) WITH<br />

OVERVIEW;<br />

SELECT * FROM <strong>PAL</strong>_CHISQTESTIND_EXPECTEDRESULT_TBL;<br />

SELECT * FROM <strong>PAL</strong>_CHISQTESTIND_STATVALUE_TBL;<br />

Expected Result<br />

<strong>PAL</strong>_CHISQTESTIND_EXPECTEDRESULT_TBL:<br />

<strong>PAL</strong>_CHISQTESTIND_STATVALUE_TBL:<br />

3.7.3 Cumulative Distribution Function<br />

This algorithm evaluates the probability of a variable x from the cumulative distribution function (CDF) or<br />

complementary cumulative distribution function (CCDF) for a given probability distribution.<br />

CDF<br />

CDF describes the lower tail probability of a probability distribution. It is the probability that a random variable<br />

X with a given probability distribution takes a value less than or equal to x. The CDF F(x) of a real-valued<br />

random variable X is given by:<br />

F(x)=P[X≤x]<br />

CCDF<br />

CCDF describes the upper tail probability of a probability distribution. It is the probability that a random<br />

variable X with a given probability distribution takes a value greater than x. The CCDF<br />

random variable X is given by:<br />

=P[X>x]=1-F(x)<br />

of a real-valued<br />

Prerequisites<br />

●<br />

●<br />

The input data is numeric, not categorical.<br />

The input data and distribution parameters do not contain null data. The algorithm will issue errors when<br />

encountering null values.<br />

500 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!