convert probability to z-score

30 visualizzazioni (ultimi 30 giorni)
Milan Sumegi
Milan Sumegi il 2 Gen 2019
Risposto: Star Strider il 2 Gen 2019
Hi I made the a script is work out the valuse what they should do, but want to make tham in z-score as well can I get a help how to do it please.
Thanks
mu=21; %mean
s=7; %variance what is sqerroot 49
P=normpdf(X,mu,s);
plot(P)
%Probability calculation between 22 and 28 minutes.
PMin=normcdf(22,21,7);
PMax=normcdf(28,21,7);
Prob=PMax-PMin %Probability
%Calculating the probability in 30sec of the mean time.
ApMin=normcdf(20.5,21,7);
ApMax=normcdf(21.5,21,7);
Aprob=ApMax-ApMin

Risposta accettata

Star Strider
Star Strider il 2 Gen 2019
To calculate the z-score from a normal distribution probability, use the norminv (link) function.

Più risposte (0)

Categorie

Scopri di più su Descriptive Statistics and Visualization in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by