LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 837
Default inverse error function

You could avoid loss of precision for small erf values by using
SQRT(inv_gamma(erf_value,0.5,1))
where inv_gamma is the highly accurate equivalent of GAMMAINV from Ian
Smith's VBA library
http://members.aol.com/iandjmsmith/Examples.xls

Unfortunately, the native GAMMAINV function is very crude for the purpose.

Sorry to come so late to the party, but Google's indexing of newsgroups was
down for nearly half a month, so I just stumbled onto this thread.

Jerry

"Harlan Grove" wrote:

Someone's gotta ask, since ERF(x) = 2*NORMSDIST(x*SQRT(2))-1, then why not
use NORMSINV? That is, why not estimate InverseERF(y) as

=NORMSINV((y+1)/2)/SQRT(2)

..'InverseErf [0.1]
..'0.0888559904942577



=NORMSINV((0.1+1)/2)/SQRT(2) - 0.0888559904942577

..'InverseErf [0.5]
..'0.4769362762044698


=NORMSINV((0.5+1)/2)/SQRT(2) - 0.47693627620447

..'InverseErf [0.9]
..'1.163087153676674


=NORMSINV((0.9+1)/2)/SQRT(2) - 1.16308715367667

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
TAN INVERSE ? Ahsan Excel Worksheet Functions 3 June 19th 07 04:09 PM
FFT INVERSE ANALYSIS ilver belletti Excel Discussion (Misc queries) 5 June 5th 07 01:29 PM
What is the Function for Inverse sin Mike O Excel Worksheet Functions 1 September 4th 06 01:38 AM
log inverse Az Excel Discussion (Misc queries) 1 November 28th 05 09:12 AM
Inverse sin John Fitzpatrick Excel Worksheet Functions 3 March 25th 05 06:35 PM


All times are GMT +1. The time now is 06:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"