MATLAB Answers

Normal Distribution Probability Finder

27 views (last 30 days)
MK96
MK96 on 9 Nov 2016
Edited: dpb on 9 Nov 2016
Trying to use normal distribution with mean = 0 and variance = 1 to find the prob(X>-2.125)
How would I go about doing this?

  0 Comments

Sign in to comment.

Accepted Answer

Massimo Zanetti
Massimo Zanetti on 9 Nov 2016
pp = makedist('Normal','mu',0,'sigma',1);
yourP = 1-cdf(pp,-2.125)

  0 Comments

Sign in to comment.

More Answers (1)

dpb
dpb on 9 Nov 2016
Edited: dpb on 9 Nov 2016
>> norminv(0.1,-2.125)
ans =
-3.4066
>>
if have Stat Toolbox.
Right answer, wrong question (and a typo, to boot)... :(
>> 1-normcdf(-2.125)
ans =
0.9832
>>

  2 Comments

Massimo Zanetti
Massimo Zanetti on 9 Nov 2016
Negative probability seems quite wrong.....
dpb
dpb on 9 Nov 2016
Think? :) Misread query, sorry...

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!