summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-08-31 06:21:08 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-08-31 06:21:08 -0700
commit5717a5656e0486daba71ae0eae733f252840cffd (patch)
treed541a482d3d4c82710e35d7042e133283e698cfb /txr.1
parenta3d69ff4b9ca5c485f9d199a2f071aa61469a55f (diff)
downloadtxr-5717a5656e0486daba71ae0eae733f252840cffd.tar.gz
txr-5717a5656e0486daba71ae0eae733f252840cffd.tar.bz2
txr-5717a5656e0486daba71ae0eae733f252840cffd.zip
New function: inverse of cumulative normal dist.
* arith.c (inv_cum_norm): New function. * arith.h (inv_cum_norm): Declared. * eval.c (eval_init): Register inv-cum-norm intrinsic. * txr.1: Documented.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.119
1 files changed, 19 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 5c7aecef..72ad9949 100644
--- a/txr.1
+++ b/txr.1
@@ -34099,6 +34099,25 @@ distribution function: the integral, of the normal distribution function, from
negative infinity to the
.metn argument .
+.coNP Function @ inv-cum-norm
+.synb
+.mets (inv-cum-norm << argument )
+.syne
+.desc
+The
+.code inv-cum-norm
+function calculates an approximate to the inverse of the cumulative
+normal distribution function. The argument, a value expected to lie
+in the range [0, 1], represents the integral of the normal distribution
+function from negative infinity to some domain point
+.IR p .
+The function calculates the approximate value of
+.IR p .
+The minimum value returned is -10, and the maximum value returned is 10,
+regardless of how closely the argument approaches, respectively,
+the 0 or 1 integral endpoints. For values less than zero, or exceeding 1, the
+values returned, respectively, are -10 and 10.
+
.coNP Functions @ n-choose-k and @ n-perm-k
.synb
.mets (n-choose-k < n << k )