how to calculate percentile from ecdf values f and x

1 Ansicht (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)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

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