This file is part of IDEAS, which uses RePEc data


[ Papers | Articles | Software | Books | Chapters | Authors | Institutions | JEL Classification | NEP reports | Search | New papers by email | Author registration | Rankings | Volunteers | FAQ | Blog | Help! ]

A Short Note on the Numerical Approximation of the Standard Normal Cumulative Distribution and Its Inverse

Author info | Abstract | Publisher info | Download info | Related research | Statistics
Author Info
Chokri Dridi

Additional information is available for the following registered author(s):

Abstract

We provide computer codes in ANSI-C and Python for a fast and accurate computation of the cumulative distribution function (cdf) of the standard normal distribution and the inverse cdf of the same function. For the cdf we use the 5th order Gauss-Legendre quadrature which gives more accurate results compared to Excel and Matlab. The Inverse cdf is computed using rational fraction approximations and gives a result that is seven-decimal place accurate.

Download Info
To download:

If you experience problems downloading a file, check if you have the proper application to view it first. Information about this may be contained in the File-Format links below. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

File URL: http://129.3.20.41/eps/comp/papers/0212/0212001.pdf
Our checks indicate that this address may not be valid because: 500 Can't connect to 129.3.20.41:80 (connect: timeout). If this is indeed the case, please notify (EconWPA)
File Format: application/pdf
File Function:
Download Restriction: no

Publisher Info
Paper provided by EconWPA in its series Computational Economics with number 0212001.

Download reference. The following formats are available: HTML (with abstract), plain text (with abstract), BibTeX, RIS (EndNote, RefMan, ProCite), ReDIF
Length: 13 pages
Date of creation: 27 Dec 2002
Date of revision: 07 Jan 2003
Handle: RePEc:wpa:wuwpco:0212001

Note: Type of Document - ; pages: 13 ; figures: included. cdf.c : Is ANSI-C code to compute the cdf of standard normal dist. using a composite fifth-order Gauss-Legendre quadrature cdf-GL.py : same as cdf.c except the code is written in Python cdf.py : Python code to compute the cdf using rational fraction approximations invcdf.py : Python code to compute the inverse cdf using rational fraction approximations. ftp://wueconb.wustl.edu/econ-wp/prog/papers/0212/0212001.zip
Contact details of provider:
Web page: http://129.3.20.41

For technical questions regarding this item, or to correct its listing, contact: (EconWPA).

Related research
Keywords: C/C++ Gauss-Legendre Quadarture Normal distribution Numerical Integration Rational fraction approximations Software;

Find related papers by JEL classification:
C63 - Mathematical and Quantitative Methods - - Mathematical Methods and Programming - - - Computational Techniques
C88 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Other Computer Software
C89 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Other

This paper has been announced in the following NEP Reports:

References listed on IDEAS
Please report citation or reference errors to , or , if you are the registered author of the cited work, log in to your RePEc Author Service profile, click on "citations" and make appropriate adjustments.:
  1. John Geweke, 1995. "Monte Carlo simulation and numerical integration," Staff Report 192, Federal Reserve Bank of Minneapolis. [Downloadable!]
    Other versions:
Full references

Statistics
Access and download statistics

Did you know? IDEAS also indexes book chapters.

This page was last updated on 2009-12-9.


This information is provided to you by IDEAS at the Department of Economics, College of Liberal Arts and Sciences, University of Connecticut using RePEc data on a server sponsored by the Society for Economic Dynamics.