Z-score and True Value

1 view (last 30 days)
Eart Fadrigalan
Eart Fadrigalan on 9 May 2018
Answered: Star Strider on 9 May 2018
Let's say I have the value of a z-score of 1.21
Typing in normcdf(1.21) and executing the command will give me the value 0.3869.
However, I am now given the value of 0.3869, what command or formula can I use to get the z-score 1.21?
unknowncommand(0.3869) = 1.21

Answers (1)

Star Strider
Star Strider on 9 May 2018
This is straightforward:
z_score = 1.21
p = normcdf(z_score)
new_z = norminv(p)
z_score =
1.21
p =
0.886860553556023
new_z =
1.21
Feel free to explore the documentation.

Community Treasure Hunt

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

Start Hunting!