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.

The, the log rank statistics is given by the matrix product formula:<br />

Which has approximately a chi-squared distribution with g-1 degrees of freedom under the null hypothesis<br />

that all g groups have a common survival function.<br />

Comparison of two Kaplan-Meier survival functions can be simplified as:<br />

Where<br />

Prerequisite<br />

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

KMSURV<br />

This function estimates the probability of surviving time t (t is an event time) using Kaplan-Meier estimator<br />

and compares several groups of survival functions using log rank test. This function does log rank test if the<br />

lifetime data comes from multiple groups, otherwise it skips doing it.<br />

Procedure Generation<br />

CALL SYS.AFLLANG_WRAPPER_PROCEDURE_CREATE (‘AFL<strong>PAL</strong>’, ‘KMSURV’, ‘’,<br />

'', );<br />

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