how to calculate percentile from ecdf values f and x

3 ビュー (過去 30 日間)
Sajid Afaque
Sajid Afaque 2020 年 6 月 29 日
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.

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

製品


リリース

R2013b

Community Treasure Hunt

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

Start Hunting!

Translated by