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.

Distribution Parameter Name Parameter Value Constraint<br />

"Mean" "0.0"<br />

"Variance" "1.0" Variance > 0<br />

Weibull "DistributionName" "Weibull"<br />

"Shape" "1.0" Shape > 0<br />

"Scale" "1.0" Scale > 0<br />

Gamma "DistributionName" "Gamma"<br />

"Shape" "1.0" Shape > 0<br />

"Scale" "1.0" Scale > 0<br />

Note<br />

The names and values of the distribution parameters are not case sensitive.<br />

Parameter Table<br />

The following parameter is optional. If it is not specified, <strong>PAL</strong> will use its default value.<br />

Table 402:<br />

Name Data Type Default Value Description<br />

LOWER_UPPER Integer 0 ● 0: Calculates the inverse<br />

of CDF<br />

●<br />

1: Calculates the inverse<br />

of CCDF<br />

Output Table<br />

Table 403:<br />

Table Column Column Data Type Description<br />

Result 1st column Double Input probabilities<br />

2nd column Double Quantiles<br />

Example<br />

Assume that:<br />

●<br />

●<br />

●<br />

DM_<strong>PAL</strong> is a schema belonging to USER1; and<br />

USER1 has been assigned the AFLPM_CREATOR_ERASER_EXECUTE role; and<br />

USER1 has been assigned the AFL__SYS_AFL_AFL<strong>PAL</strong>_EXECUTE or<br />

AFL__SYS_AFL_AFL<strong>PAL</strong>_EXECUTE_WITH_GRANT_OPTION role.<br />

SET SCHEMA DM_<strong>PAL</strong>;<br />

DROP TYPE <strong>PAL</strong>_DISTRQUANTILE_DATA_T;<br />

CREATE TYPE <strong>PAL</strong>_DISTRQUANTILE_DATA_T AS TABLE("DATACOL" DOUBLE);<br />

DROP TYPE <strong>PAL</strong>_DISTRQUANTILE_DISTRPARAM_T;<br />

CREATE TYPE <strong>PAL</strong>_DISTRQUANTILE_DISTRPARAM_T AS TABLE("NAME" VARCHAR(50), "VALUE"<br />

VARCHAR(50));<br />

DROP TYPE <strong>PAL</strong>_DISTRQUANTILE_RESULT_T;<br />

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