Code covered by the BSD License  

Highlights from
Approximating the Inverse Normal

Be the first to rate this file! 6 Downloads (last 30 days) File Size: 1.68 KB File ID: #28988

Approximating the Inverse Normal

by Wolfgang Putschögl

 

09 Oct 2010 (Updated 08 Aug 2011)

Beasley-Springer-Moro algorithm for approximating the inverse normal.

| Watch this File

File Information
Description

Applying the inverse transform method to the normal distribution entails evaluation of the inverse normal. This is the Beasley-Springer-Moro algorithm for approximating the inverse normal.

Input: u, a sacalar or matrix with elements between 0 and 1
Output: x, an approximation for the inverse normal at u

Reference:
Pau Glasserman, Monte Carlo methods in financial engineering, vol. 53 of applications of Mathematics (New York),
Springer-Verlag, new York, 2004, p.67-68

MATLAB release MATLAB 7.10 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
13 Jun 2011 Ben Petschel

any comments on the speed or accuracy compared to norminv? e.g. at u=0.917 the values differ by about 1-e9.

28 Nov 2011 Aris

Amazing implementation! Thank you very much!

Please login to add a comment or rating.
Updates
08 Aug 2011

Thanks to Ben Petschel who provided optimized code that brings it almost on par with the builtin (compiled) norminv/erfcinv!

08 Aug 2011

Thanks to Ben Petschel who provided optimized code that brings it almost on par with the builtin (compiled) norminv/erfcinv!

Tag Activity for this File
Tag Applied By Date/Time
beasleyspringermoro algorithm Wolfgang Putschögl 11 Oct 2010 11:29:57
inverse normal Wolfgang Putschögl 11 Oct 2010 11:29:57
normal distribution Wolfgang Putschögl 11 Oct 2010 11:29:58
probability Wolfgang Putschögl 11 Oct 2010 11:29:58
statistics Wolfgang Putschögl 11 Oct 2010 11:29:58

Contact us at files@mathworks.com