Inverse cumulative normal distribution
|
01-12-2016, 11:38 PM
(This post was last modified: 01-13-2016 12:13 AM by Dieter.)
Post: #2
|
|||
|
|||
(01-12-2016 10:16 PM)Pekis Wrote: Here is what seems a good rough approximation of the inverse cumulative normal distribution (Phi-1(x)) : Sorry, but the link does not work for me. Instead of a google.be link, could you provide the direkt URL of the document you refer to? (01-12-2016 10:16 PM)Pekis Wrote: It claims a maximum error less than 1.4*10-4 on all range with this function Approximations for the Normal integral and its inverse seem to exist since these functions were first defined. I prefer rational functions for this kind of calculation. But if you want something of this logistic type, here is what I sometimes use: Phi(x) = 1/(1+e^(0,00063*x5 – 0,07359*x3 – 1,59544*x) This approximation was designed for x≥0 and has an absolute error < 1,9 E–5 while the largest relative error is < 2,9 E–5. With slightly different coefficients this can also be optimized for both an absolute and relative error within 2,2 E–5. In this case use 0.000611, –0.07349 and –1.59552. (01-12-2016 10:16 PM)Pekis Wrote: I simply inverted the function to let Wolfram solve a*y3+b*y-ln(1/x-1)=0 on y (where a=-.07056 and b=-1.5976) At least for the inverse (quantile) I would prefer a much simpler rational approximation. Even the good old Hastings version from the Fifties yields an absolute error within 4,5 E–4 and requires just one log, one root and a few multiplications/additions. For most applications the domain is limited, e.g. to probabilities ≥ 1E–99, so that a different set of coefficients will further reduce the error. If you are interested in simple approximations to the Normal integral – especially in those that can be inverted to get an approximation for the quantile – I'd recommend this paper: "Very Simply Explicitly Invertible Approximations of Normal Cumulative and Normal Quantile Function" by Alessandro Soranzo and Emanuela Epure, published in Applied Mathematical Sciences, Vol. 8, 2014, no. 87. There also is an approximation for Phi(x) with an accuracy better than 2 E–4 which requires just three or four integer (!) constants. ;-) BTW, this paper also mentions the two-coefficient approximation you gave (cf. Ref. 11). So I assume your source is S.R. Bowling, M.T. Khasawneh, S. Kaewkuekool, B.R. Cho: "A logistic approximation to the cumulative normal distribution", Journal of Industrial Engineering and Management, 2 (2009). Dieter |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Inverse cumulative normal distribution - Pekis - 01-12-2016, 10:16 PM
[] - Dieter - 01-12-2016 11:38 PM
RE: Inverse cumulative normal distribution - Pekis - 01-13-2016, 08:45 AM
RE: Inverse cumulative normal distribution - Pekis - 01-13-2016, 09:54 AM
RE: Inverse cumulative normal distribution - Dieter - 01-13-2016, 01:28 PM
RE: Inverse cumulative normal distribution - Dieter - 01-13-2016, 11:09 PM
|
User(s) browsing this thread: 1 Guest(s)