Re: Looking for source for normsinv function

From: Koos (ksneek_at_feweb.vu.nl)
Date: 12/22/04


Date: Wed, 22 Dec 2004 16:59:55 +0000 (UTC)

On Sun, 19 Dec 2004 22:28:37 +0100, Peter J. Acklam wrote:
>"Roland" <roland@nospam> wrote:
>>
>> <a
href="http://lib.stat.cmu.edu/apstat/241">http://lib.stat.cmu.edu/apstat/241>
(note: there are 2 algorithms
>> in this page, PPND7 and PPND16)
>
>"MDang" <MaiDangabc@bigpond.com.au> wrote:
>
>> Peter J. Acklam has found a more accurate algorithm :
>>
>> <a
href="
http://home.online.no/~pjacklam/notes/invnorm/index.html">http://home.online.no/~pjacklam/notes/invnorm/index.html>
>
>My algorithm has a relative error in the output < 1.15e-9 which
>makes it more accurate than PPND7, but less accurate than PPND16.
>
>On the other hand, my algorithm is totally free so the algorithm
>and all implementations of it on the web page can be used without
>worrying about copyright etc.
>
>I am working on more accurate algorithms, but I don't know when
>I'll be finished.
>
>Peter
>
>--
>Peter J. Acklam - pjacklam@online.no - <a
href="
http://home.online.no/~pjacklam">http://home.online.no/~pjacklam>

Looking at a very short code, you might try
z = 4.91*(p.^0.14-(1-p).^0.14);

Koos



Relevant Pages

  • Re: Help please..
    ... likely you will find faster general-purpose implementations ... than LAPACK on general-purpose platforms. ... compile the source code for your target. ... ESPRIT algorithms some ten years ago. ...
    (comp.dsp)
  • Re: Timings issue
    ... >> You mean to say that timings of implementations of cryptographic ... >>algorithms on different platforms are not relevant to cryptography? ... who build high speed code are also experts in how to design code that ...
    (sci.crypt)
  • [OT] Re: C Books and algorithm books
    ... reading several pages, feeling I was so intelligently inferior. ... quantitative comparisons of implementations. ... You may have heard that Quicksort and Heapsort are both O ... algorithms; this much needs only a rather loose ...
    (comp.lang.c)
  • Re: Irrational numbers
    ... > You've already been given the names of the algorithms and the ... I want the implementations so that I could try out my ... >> one could determine the unknowns or not. ... the 'integer relation' to be furnished by Percival ...
    (sci.crypt)
  • Re: OO in Python? ^^
    ... implementations of many algorithms, or you need to work with those convoluted templates that were added to the language as an afterthought. ... to do the kind of dynamic linking / late binding that we do in ...
    (comp.lang.python)

Quantcast