Norminv in Matlab 2012
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
Is there an equivalent of norminv for Matlab 2012? It doesn't seem to work in this version. I just need the inverse of the "basic" normal distribution (parameters 0 and 1).
Thanks!
EDIT: the statistical toolbox (and not Matlab 2012) seems to be responsible for this. The question still holds though, is there such a function outside this toolbox?
0 件のコメント
採用された回答
Roger Stafford
2013 年 10 月 2 日
You can use matlab's 'erfinv' function to calculate the equivalent of 'norminv' according to the formula:
norminv(p) = sqrt(2)*erfinv(2*p-1)
2 件のコメント
Joseph Schmidt
2016 年 6 月 30 日
How would you readjust this for a stan. dev. other than 1? Say a stan. dev. of .5 units.
Torsten
2016 年 7 月 1 日
f(p) = mu + sqrt(2)*sigma*erfinv(2*p-1)
is the inverse CDF of the general normal distribution N(mu,sigma^2).
Best wishes
Torsten.
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Hypothesis Tests についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!