Click here to Skip to main content
15,891,204 members
Home / Discussions / Algorithms
   

Algorithms

 
QuestionInverse of NORMSDIST function Pin
sumit70343-Jul-08 18:10
sumit70343-Jul-08 18:10 
AnswerRe: Inverse of NORMSDIST function Pin
Dan3-Jul-08 18:12
Dan3-Jul-08 18:12 
GeneralRe: Inverse of NORMSDIST function Pin
sumit70343-Jul-08 18:38
sumit70343-Jul-08 18:38 
GeneralRe: Inverse of NORMSDIST function Pin
73Zeppelin3-Jul-08 21:34
73Zeppelin3-Jul-08 21:34 
AnswerRe: Inverse of NORMSDIST function Pin
cp98763-Jul-08 18:43
cp98763-Jul-08 18:43 
GeneralRe: Inverse of NORMSDIST function Pin
sumit70343-Jul-08 19:40
sumit70343-Jul-08 19:40 
GeneralRe: Inverse of NORMSDIST function Pin
cp98763-Jul-08 19:51
cp98763-Jul-08 19:51 
AnswerRe: Inverse of NORMSDIST function Pin
73Zeppelin3-Jul-08 21:43
73Zeppelin3-Jul-08 21:43 
The inverse CDF of the normal distribution doesn't have an analytical form. You can find an approximation here[^].

The other place to look is in the online version of Numerical Recipes[^]. They have an algorithm for the inverse normal CDF.

You can also use the following taken from here[^].


What is a good approximation to the inverse of the 
cumulative normal distribution function? Mathematically we can 
write this as: Find X such that Q(X) = p for any 0 < p < 1. 
(Note: this computes an upper tail probability.) Again, it is 
not possible to write this as a closed form expression, so we 
resort to approximations. Because of the symmetry of the normal distribution, 
we need only consider 0 < p < 0.5. If you 
have p > 0.5, then apply the algorithm below to q = 1-p, 
and then negate the value for X obtained. (This approximation 
is also from Abramowitz and Stegun.) 

t = sqrt[ ln(1/p^2) ] 


           c_0 + c_1*t + c_2*t^2 
X = t - ------------------------------ 
         1 + d_1*t + d_2*t^2 + d_3*t^3 


c_0 = 2.515517 
c_1 = 0.802853 
c_2 = 0.010328 
d_1 = 1.432788 
d_2 = 0.189269 
d_3 = 0.001308 

See Abramowitz and Stegun; Press, et al.


You should Google a little harder instead of always asking here. These algorithms were worked out a long time ago and have been available for a long time.

I'm the ocean. I'm a giant undertow.

GeneralRe: Inverse of NORMSDIST function Pin
Paul Conrad23-Jul-08 12:18
professionalPaul Conrad23-Jul-08 12:18 
QuestionNORMSDIST function Pin
sumit70342-Jul-08 22:28
sumit70342-Jul-08 22:28 
GeneralI know, Pin
CPallini2-Jul-08 22:51
mveCPallini2-Jul-08 22:51 
GeneralRe: I know, Pin
sumit70342-Jul-08 23:50
sumit70342-Jul-08 23:50 
QuestionRe: I know, Pin
CPallini2-Jul-08 23:54
mveCPallini2-Jul-08 23:54 
AnswerRe: I know, Pin
sumit70343-Jul-08 0:04
sumit70343-Jul-08 0:04 
QuestionRe: I know, Pin
CPallini3-Jul-08 0:11
mveCPallini3-Jul-08 0:11 
AnswerRe: I know, Pin
sumit70343-Jul-08 0:28
sumit70343-Jul-08 0:28 
GeneralRe: I know, Pin
cp98763-Jul-08 0:52
cp98763-Jul-08 0:52 
GeneralRe: I know, Pin
CPallini3-Jul-08 0:56
mveCPallini3-Jul-08 0:56 
GeneralRe: I know, Pin
sumit70343-Jul-08 1:36
sumit70343-Jul-08 1:36 
GeneralRe: I know, Pin
Paul Conrad3-Jul-08 18:32
professionalPaul Conrad3-Jul-08 18:32 
GeneralRe: I know, Pin
CPallini3-Jul-08 0:53
mveCPallini3-Jul-08 0:53 
AnswerRe: NORMSDIST function Pin
73Zeppelin3-Jul-08 2:11
73Zeppelin3-Jul-08 2:11 
QuestionRe: NORMSDIST function Pin
CPallini3-Jul-08 2:29
mveCPallini3-Jul-08 2:29 
AnswerRe: NORMSDIST function Pin
73Zeppelin3-Jul-08 3:19
73Zeppelin3-Jul-08 3:19 
GeneralRe: NORMSDIST function Pin
sumit70343-Jul-08 2:47
sumit70343-Jul-08 2:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.