how to calculate percentile from ecdf values f and x

7 Ansichten (letzte 30 Tage)
Sajid Afaque
Sajid Afaque am 29 Jun. 2020
suppose i have
y = 0:10;
[f x] = ecdf(y);
plot(x,f);
then why does my x value corresponding to f = 0.5 is not equal to median(y).
because median, simply means half of total data points towards both side of median.

Antworten (0)

Tags

Produkte


Version

R2013b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by