Normal Distribution Probability Finder

1 visualización (últimos 30 días)
MK96
MK96 el 9 de Nov. de 2016
Editada: dpb el 9 de Nov. de 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?

Respuesta aceptada

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

Más respuestas (1)

dpb
dpb el 9 de Nov. de 2016
Editada: dpb el 9 de Nov. de 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 comentarios
Massimo Zanetti
Massimo Zanetti el 9 de Nov. de 2016
Negative probability seems quite wrong.....
dpb
dpb el 9 de Nov. de 2016
Think? :) Misread query, sorry...

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by