Obtaining the standard normal z score
24 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ahmed Abdulla
le 16 Juil 2020
Réponse apportée : Star Strider
le 16 Juil 2020
Is there an easy way to obtain the standard normal z score with an upper tail probability of 0.05/2 or any number at hand
0 commentaires
Réponse acceptée
Star Strider
le 16 Juil 2020
Try this:
z = norminv(1-0.05/2)
producing:
z =
1.9600
Without the Statistics and Machine Learning Toolbox:
CV = @(alpha) -sqrt(2) * erfcinv(2*alpha); % Equivalent to ‘norminv’
z = CV(1-0.05/2)
producing the same result.
.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!