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.

The Kaplan-Meier estimator can be regarded as a point estimate of the survival function S(t) at any time<br />

t. We can construct 95% confidence intervals around each of these estimates. To compute the confidence<br />

intervals, Greenwood’s Formula gives an asymptotic estimate of the variance of for large groups:<br />

So the Greenwood’s confidence interval is:<br />

Where Z α/2 is the α/2–th quantile of the normal distribution.<br />

However the endpoints of Greenwood’s confidence interval can be negative or greater than one. Here we use<br />

another confidence interval based on the large sample normal distribution of log(-log( )) with:<br />

So we get:<br />

Transform endpoints (ci_lower, ci_upper) back to obtain confidence interval:<br />

(exp(-exp(ci_lower)), exp(-exp(ci_upper)))<br />

Equality comparison of two or more Kaplan-Meier survival functions can be done using a statistical hypothesis<br />

test called the log rank test by weighting all time points the same. It is used to test the null hypothesis where<br />

there is no difference between the population survival functions.<br />

For i=1, 2, ... , g and j=1, 2, … , k, where g is number of groups and k is number of distinct failure<br />

times.<br />

n ij = number at risk in i th group at j th ordered failure time<br />

o ij = observed number of failures in i th group at j th ordered failure time<br />

e ij = expected number of failures in i th group at j th ordered failure time =<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 519

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

Saved successfully!

Ooh no, something went wrong!