magicfun | R Documentation |
For Z ~ N(0, 1)
, we have the approximation
P(Z \ge z) \approx
magicfun(z)*exp(-z^2/2)
.
magicfun(z)
z, |
the number where the function is evaluated. |
This function returns the value of the function evaluated at z
.
Bryc, Wlodzimierz. "A uniform approximation to the right normal tail integral." Applied mathematics and computation 127.2 (2002): 365-374.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.