Details
Description
We are using Univariate Statistics step to calculate Percentile and it is giving wrong results.
The following formula are used to calculate the percentile.
(n+1)P/100
n: Number of data.
P: Value set to "Percentile".
(200+1)*75/100=150.75
If the result of the calculation contains a value that is less than or equal to the decimal point, the following calculation is also used.
K th value + Decimal([K+1 th value] - [K th value])
The value of K is 150.
150+0.75*(151-150)=150.75
But, PDI is generating wrong result as 150.5
Expected Result
The text file is output as follows.
----------
data1(75th percentile)
150.75
Actual result
The text file was output as follows.
----------
data1(75th percentile)
150.5