Post Reply 
(12C) Error Function Approximation
10-05-2019, 12:26 PM (This post was last modified: 01-30-2021 03:55 AM by Albert Chan.)
Post: #2
RE: (12C) Error Function Approximation
From Abramowitz & Stegun, 7.1.22, erf and cdf are related.

cdf(z) = (1 + erf(z/√(2)) / 2
erf(z) = 2 cdf(√(2) z) - 1 = 1 - 2 cdf(-√(2) z)

Confirm with Casio FX-115ES, R(z) = cdf(-z)

erf(0.5) = 1 - 2 R(√(2) * 0.5) = 0.5205
erf(1.6) = 1 - 2 R(√(2) * 1.6) = 0.976348
erf(2.3) = 1 - 2 R(√(2) * 2.3) = 0.9988567

Casio's Q(z) (pdf area 0.5 to z) is simpler, but not as accurate.

2 Q(√(2) * 0.5) = 0.5205
2 Q(√(2) * 1.6) = 0.97634
2 Q(√(2) * 2.3) = 0.99886
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (12C) Error Function Approximation - Albert Chan - 10-05-2019 12:26 PM



User(s) browsing this thread: 1 Guest(s)