hanaml.CDF.Rdhanaml.CDF is a R wrapper for SAP HANA PAL Cumulative Distribution Function
hanaml.CDF(data, distr.info, col = NULL, complementary = NULL)
| data |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| distr.info |
. The distribution parameters should be chossen follow the following tabular
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| col |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| complementary |
|
DataFrame
return the cdf value of the distribution, evaluated at input data
INPUT_DATA: input data x
ROBABILITY: Probability
This algorithm evaluates the Cumulative Distribution Function or complementary cumulative distribution function (CCDF) of a specified probability distribution evaluated at the values in x. CDF describes the value F(x) = P[X<=x] and CCDF the value F_c(x)=1-F(x)=P[X>x] where X is a real-valued random variable.
Input DataFrame data:
> data$$Collect() DATACOL 1 37.4 2 277.9 3 463.2
Call the function:
> result <- hanaml.CDF(data = data,
distr.info = list("weibull", 2.11995,277.698),
correction = FALSE)
Results:
> result$Collect() DATACOL PROBABILITY 1 37.4 0.01416002 2 277.9 0.63268765 3 463.2 0.94809354