Thread View: net.math.stat
2 messages
2 total messages
Started by Roger W. Johnson
Tue, 04 Mar 1986 19:39
Normal density and cdf approximations
Author: Roger W. Johnson
Date: Tue, 04 Mar 1986 19:39
Date: Tue, 04 Mar 1986 19:39
15 lines
1185 bytes
1185 bytes
In response to the article on polynomial and rational approximations
for the normal density function and the normal cummulative distribution
function see the "Handbook of Mathematical Functions with formulas
graphs, and mathematical tables", by Abramowitz & Stegun or the
references contained therein - ifically C. Hastings, Jr
Approximations for digital computers, Princeton Univ Press, Princeton,
N,J. (1955).
--
Roger Johnson/Naval Ocean Systems Center/Code 421/San Diego, Ca 92152
/2150 Pacific Beach Drive/Apt 207/San Diego, Ca 92109
Reply to: wjohnson@cod.UUCP
Re: Normal density and cdf approximations
Author: Gary Perlman
Date: Tue, 11 Mar 1986 04:13
Date: Tue, 11 Mar 1986 04:13
24 lines
1802 bytes
1802 bytes
Algorithms for computing normal probabilities can be found in the Collected Algorithms of the CACM in most technical library reference sections. Many of these originally appeared in the CACM. The algorithm used in my stat package is based on a polynomial approximation in: Ibbetson, D. Algorithm 209. CACM, 1963, p. 616. It is accurate to six decimal places (standard normal scores up to an absolute value of 6). The discussion in the Collected Algorithms covers other algorithms for the same purpose. There is a cross reference to a different algorithm that will compute cumulative normal probabilities to the accuracy of the machine in use. The tradeoff, in one Remarks section, is that Algorithm 209 is very fast and reasonably accurate, while the other (whose number escapes me), is reasonably fast and very accurate. The Collected algorithms include ones for F ratios, t, and chi-square probabilities. The algorithms are in Algol, and so are easy to translate to other high level languages. -- Gary Perlman Wang Institute Tyngsboro, MA 01879 (617) 649-9731 UUCP: decvax!wanginst!perlman CSNET: perlman@wanginst
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads