Document statistical functions
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 21 Nov 2021 22:25:19 +0000 (14:25 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 21 Nov 2021 22:25:19 +0000 (14:25 -0800)
doc/expressions.texi
doc/matrices.texi

index 4f7b19d7efb83c963106d31f4d6e72a9292fb30d..8e28ad5e24457e33c05161062f2ee546be707954 100644 (file)
@@ -1246,7 +1246,7 @@ Constraints: @var{a} > 0, @var{b} > 0, @var{lambda} >= 0, 0 <= @var{x}
 @end deftypefn
 
 @deftypefn {Function} {} PDF.BVNOR (@var{x0}, @var{x1}, @var{rho})
-@deftypefnx {Function} {} CDF.VBNOR (@var{x0}, @var{x1}, @var{rho})
+@deftypefnx {Function} {} CDF.BVNOR (@var{x0}, @var{x1}, @var{rho})
 Bivariate normal distribution of two standard normal variables with
 correlation coefficient @var{rho}.  Two variates @var{x0} and @var{x1}
 must be provided.  Constraints: 0 <= @var{rho} <= 1, 0 <= @var{p} <= 1.
index 5b3ff9a9eacdf5f81f3821e0c8b1630b88b40e24..fa38a1784f1cc317512b477fa40d3a637ced7f2c 100644 (file)
@@ -1708,8 +1708,25 @@ SWEEP(M, 3) @result{}
 @end format
 @end deffn
 
-@node Matrix IO
-@subsubsection I/O Function
+@node Matrix Statistical Distribution Functions
+@subsubsection Matrix Statistical Distribution Functions
+
+The matrix language can calculate several functions of standard
+statistical distributions using the same syntax and semantics as in
+@pspp{} transformation expressions.  @xref{Statistical Distribution
+Functions}, for details.
+
+The matrix language extends the PDF, CDF, SIG, IDF, NPDF, and NCDF
+functions by allowing the first parameters to each of these functions
+to be a vector or matrix with any dimensions.  In addition,
+@code{CDF.BVNOR} and @code{PDF.BVNOR} allow either or both of their
+first two parameters to be vectors or matrices; if both are non-scalar
+then they must have the same dimensions.  In each case, the result is
+a matrix or vector with the same dimensions as the input populated
+with elementwise calculations.
+
+@node Matrix EOF Function
+@subsubsection EOF Function
 
 This function works with files being used on the @code{READ} statement.