how to calculate percentile from ecdf values f and x

6 visualizzazioni (ultimi 30 giorni)
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.

Risposte (0)

Tag

Prodotti


Release

R2013b

Community Treasure Hunt

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

Start Hunting!

Translated by