I've calculated a whole bunch of z-scores using mean and standard deviation, now I want them to be turned into percentiles. What is the way to do this in objective-c for an iPhone app?
I've only done this using a z-score chart in my stats class back in highschool.
I've found this equation to be the one I am trying to recreate:
and this thread Cumulative Normal Distribution function in objective C seems to be an answer, but I still don't understand what is going on. Can anyone please explain to me how this is all working? For example, what is the erfc function?
Will 0.5 * erfc(z-score * M_SQRT1_2);
work?
Thanks in advance!