Normal Distribution Probability Finder

조회 수: 1 (최근 30일)
MK96
MK96 2016년 11월 9일
편집: dpb 2016년 11월 9일
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?

채택된 답변

Massimo Zanetti
Massimo Zanetti 2016년 11월 9일
pp = makedist('Normal','mu',0,'sigma',1);
yourP = 1-cdf(pp,-2.125)

추가 답변 (1개)

dpb
dpb 2016년 11월 9일
편집: dpb 2016년 11월 9일
>> 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
Massimo Zanetti
Massimo Zanetti 2016년 11월 9일
Negative probability seems quite wrong.....
dpb
dpb 2016년 11월 9일
Think? :) Misread query, sorry...

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by