フィルターのクリア

How to retrieve probabilities from normplot applied to data in matlab?

4 ビュー (過去 30 日間)
MatlabFan
MatlabFan 2013 年 6 月 8 日
Hi all,
I have some data to which I've applied the function normplot to see whether or not the distribution is normal. How can I have output the probabilities of the line and data in the normplot ?
Thank you.

採用された回答

Tom Lane
Tom Lane 2013 年 6 月 9 日
If you turn on the data cursor in the figure and then click on a point, these values are shown for that point.
If you want to reproduce the calculations, here's one way to do it. This "pop" variable is already sorted; you would need to sort your data to reproduce this.
load census
normplot(pop)
n = length(pop);
p = ((1:n)'-.5)/n;
popn = mean(pop) + std(pop) * norminv(p);
dataset(p,pop,popn)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSmoothing and Denoising についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by