Closed lulunac27a closed 4 months ago
There are three ways to calculate the quantile of array of numbers:
n * p - 0.5
(n - 1) * p
(n + 1) * p - 1
n
p
Thanks for contributing this addition!
There are three ways to calculate the quantile of array of numbers:
n * p - 0.5
(n - 1) * p
(n + 1) * p - 1
Wheren
is number of items in array andp
is percentile/quantile.