Normal Distribution Probability Finder

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?

 Akzeptierte Antwort

Massimo Zanetti
Massimo Zanetti am 9 Nov. 2016

4 Stimmen

pp = makedist('Normal','mu',0,'sigma',1);
yourP = 1-cdf(pp,-2.125)

Weitere Antworten (1)

dpb
dpb am 9 Nov. 2016
Bearbeitet: dpb am 9 Nov. 2016

3 Stimmen

>> 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 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 9 Nov. 2016

Bearbeitet:

dpb
am 9 Nov. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by