transfer p value to z value

36 ビュー (過去 30 日間)
junxian wang
junxian wang 2019 年 6 月 20 日
回答済み: David Hill 2019 年 6 月 20 日
Hello! I have p values (i.e. accuracy in %), how can I transfer these p values to corresponding Z values in standard normal distribution ? is there any function I can use?
for example, p = 0.95, Z = 1.645 in POZ conversion table.
Thanks a lot in advance!
best!
Arya
  1 件のコメント
infinity
infinity 2019 年 6 月 20 日
Hello,
I think you can take a look here

サインインしてコメントする。

回答 (2 件)

David Hill
David Hill 2019 年 6 月 20 日
If you have the Statistics and Machine Learning Toolbox the function is norminv(). If you don't, the documentation for the norminv function gives you enough information to write your own function.
z = norminv(.95);

Star Strider
Star Strider 2019 年 6 月 20 日
Use the norminv function.
If you do not have the Statistics and Machine Learning Toolbox, y9ou can use this anonymous function:
ZV = @(pv) -sqrt(2) * erfcinv(2*pv); % Equivalent to ‘norminv’

カテゴリ

Help Center および File ExchangeTables についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by