Obtaining the standard normal z score

88 次查看(过去 30 天)
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

采纳的回答

Star Strider
Star Strider 2020-7-16
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 个)

类别

Help CenterFile Exchange 中查找有关 Hypothesis Tests 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by