Obtaining the standard normal z score
조회 수: 74 (최근 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
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Hypothesis Tests에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!