Obtaining the standard normal z score

105 visualizaciones (últimos 30 días)
Ahmed Abdulla
Ahmed Abdulla el 16 de Jul. de 2020
Respondida: Star Strider el 16 de Jul. de 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

Respuesta aceptada

Star Strider
Star Strider el 16 de Jul. de 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.
.

Más respuestas (0)

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by