SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Staff SED Projects SED Products and Publications Search SED Pages
Dataplot Vol 2 Vol 1

MATRIX ROW STATISTIC

Name:
    MATRIX ROW STATSITIC (LET)
Type:
    Let Subcommand
Purpose:
    Compute a user specified statistic for the rows of a matrix.
Description:
    The resulting computed statistics are saved in array. The first row of the array is the statistic for row 1, the second row of the array is the statistic for row 2, and so on.
Syntax:
    LET <y> = MATRIX ROW <stat> <mat>             <SUBSET/EXCEPT/FOR qualification>
    where <mat> is a matrix for which the row statistic is to be computed;
                <stat> is the desired statistic to compute;
                <y> is a variable where the resulting row statistic is saved;
    and where the <SUBSET/EXCEPT/FOR qualification> is optional.

    The specified statistic can be any of the following:

      MEAN, MIDMEAN, TRIMMED MEAN, WINSORIZED MEAN, MEDIAN,
      GEOMETRIC MEAN, HARMONIC MEAN, HODGES LEHMAN,
      BIWEIGHT LOCATION, MIDRANGE,
      SD (or STANDARD DEVIATION), SD OF MEAN, VARIANCE,
      VARIANCE OF MEAN, RELATIVE VARIANCE,
      RELATIVE STANDARD DEVIATION, COEFFICIENT OF VARIATION,
      AVERAGE ABSOLUTE DEVIAITION (or AAD),
      MEDIAN ABSOLUTE DEVIATION (or MAD),
      IQ RANGE, BIWEIGHT MIDVARIANCE, BIWEIGHT SCALE,
      PERCENTAGE BEND MIDVARIANCE,
      WINSORIZED VARIANCE, WINSORIZED STANDARD DEVIATION,
      TRIMMED MEAN STANDARD ERROR,
      RANGE, MAXIMUM, MINIMUM, EXTREME,
      LOWER HINGE, UPPER HINGE,
      LOWER QUARTILE, UPPER QUARTILE,
      NINTH> DECILE
      PERCENTILE, QUANTILE, QUANTILE STANDARD ERROR,
      SKEWNESS, KURTOSIS, SUM, PRODUCT, SIZE (or NUMBER or COUNT),
      AUTOCOVARIANCE, AUTOCORRELATION,
      SIN FREQUENCY, SIN AMPLITUDE,
      CP, CPK, CNPK, CPM, CC,
      EXPECTED LOSS, PERCENT DEFECTIVE,
      TAGUCHI SN0 (or SN), TAGUCHI SN+ (or SNL),
      TAGUCHI SN- (or SNS), TAGUCHI SN00 (or SN2).
Examples:
    LET MMEAN = MATRIX ROW MEAN M
    LET MMEAN = MATRIX ROW MEDIAN M
    LET MMEAN = MATRIX ROW MEDIAN M SUBSET TAG = 1 TO 2
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:
    Statistics for the columns of a matrix can be computed using the MATRIX COLUMN STATISTIC command. Enter HELP MATRIX COLUMN STATISTIC for details.
Default:
    None
Synonyms:
    None
Related Commands:
    MATRIX COLUMN STATISTIC = Compute column 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, Prentice-Hall, 1992.
Applications:
    Multivariate Analysis
Implementation Date:
    1998/8
Program:
    SKIP 25
    READ MATRIX IRIS.DAT M
    LET YM = MATRIX ROW MEANS M
    LET YSD = MATRIX ROW SD M
    SET WRITE DECIMALS 3
    PRINT YM YSD

Date created: 6/5/2001
Last updated: 4/4/2003
Please email comments on this WWW page to alan.heckert@nist.gov.