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

INDEX EXTREME

Name:
    INDEX EXTREME
Type:
    Let Subcommand
Purpose:
    Compute the index of the extreme value (i.e., the value with the largest absolute value) in a variable.
Syntax:
    LET <par> = INDEX EXTREME <resp>
                            <SUBSET/EXCEPT/FOR qualification>
    where <resp> is the variable for which the index extreme is to be computed;
                <par> is a parameter where the index extreme value is saved;
    and where the <SUBSET/EXCEPT/FOR qualification> is optional.
Examples:
    LET K1 = INDEX EXTREME Y1
Note:
    Dataplot statistics can be used in a number of commands. For details, enter

Default:
    None
Synonyms:
    None
Related Commands:
    INDEX MAXIMUM = Compute the index for the maximum value of a variable.
    INDEX MINIMUM = Compute the index for the minimum value of a variable.
    MINIMUM = Compute the minimum value of a variable.
    MAXIMUM = Compute the maximum value of a variable.
    MEAN = Compute the mean of a variable.
    MAX = Library function to compute the maximum of two numbers.
    MIN = Library function to compute the minimum of two numbers.
Applications:
    Data Analysis
Implementation Date:
    2009/2
Program 1:
     
    LET Y1 = NORMAL RANDOM NUMBERS FOR I = 1 1 100
    LET A = INDEX EXTREME Y1
        
Program 2:
     
    .  Generate a "table" plot that contains
    .
    .    1) Subset flow category = 1
    .    2) Row denotes flow value
    .       Column denotes cond value
    .    3) Plot symbol denotes algorithm corresponding
    .       to "extreme value"
    .  Step 1: Read the data
    .
    dimension 400 variables
    read mills96.dat flow alg cond flowcat y1 to y14
    retain flow alg cond y1  subset flowcat = 1
    .
    .  Step 2: Perform the relevant cross-tabulations
    .
    let 
    set let cross tabulate collapse
    let ytemp  = cross tabulate group two flow cond
    let xtemp  = cross tabulate group one flow cond
    let extind = cross tabulate index extreme value y1 flow cond
    let ntemp  = size ytemp
    let vsize = 1 for i = 1 1 ntemp
    .
    .  Step 3: Generate the table plot using the symbol plot command
    .
    char 1 2 3 4 5 6 7
    y1label Condition Value
    x1label Flow Value
    xlimits 1 24
    major xtic mark number 24
    minor xtic mark number 0
    ylimits 1 32
    major ytic mark number 32
    minor ytic mark number 0
    tic offset units data
    tic offset 1 1
    .
    symbol plot ytemp xtemp vsize extind
        
    plot generated by sample program

Privacy Policy/Security Notice
Disclaimer | FOIA

NIST is an agency of the U.S. Commerce Department.

Date created: 06/19/2009
Last updated: 11/16/2015

Please email comments on this WWW page to alan.heckert@nist.gov.