MATRIX MEAN
Name:
Type:
Purpose:
Compute the overall mean of a matrix.
Description:
The overall mean of the matrix is the mean of all the
data in the matrix.
Syntax:
LET <par> = MATRIX MEAN <mat>
<SUBSET/EXCEPT/FOR qualification>
where <mat> is a matrix for which the mean is to be
computed;
<par> is a parameter where the resulting mean
is saved;
and where the <SUBSET/EXCEPT/FOR qualification>
is optional.
Examples:
LET MMEAN = MATRIX MEAN M
LET MMEAN = MATRIX MEAN M SUBSET TAG = 1
Note:
Matrices are created with either the READ MATRIX command or
the MATRIX DEFINITION command. Enter HELP MATRIX DEFINITION
and HELP READ MATRIX for details.
Note:
Row and column statistics for a matrix can be computed
using the MATRIX ROW STATISTIC and MATRIX COLUMN STATISTIC
commands. Enter HELP MATRIX ROW STATISTIC and
HELP MATRIX COLUMN STATISTIC for details.
Default:
Synonyms:
Related Commands:
MATRIX COLUMN STATISTIC

= Compute column statistics for a matrix.

MATRIX ROW STATISTIC

= Compute row statistics for a matrix.

MATRIX COLUMN DIMENSION

= Dimension maximum number of columns for Dataplot
matrices.

Reference:
"Applied Multivariate Statistical Analysis", Third Edition,
Johnson and Wichern, PrenticeHall, 1992.
Applications:
Implementation Date:
Program:
SKIP 25
READ IRIS.DAT Y1 Y2 Y3 Y4
LET N = SIZE Y1
LET M = MATRIX DEFINITION Y1 N 4
LET A = MATRIX MEAN M
Date created: 6/5/2001
Last updated: 4/4/2003
Please email comments on this WWW page to
alan.heckert@nist.gov.
