Dataplot Vol 2 Vol 1

# INDEX MINIMUM

Name:
INDEX MINIMUM
Type:
Let Subcommand
Purpose:
Compute the index of the minimum value in a variable.
Syntax:
LET <par> = INDEX MINIMUM <resp>
<SUBSET/EXCEPT/FOR qualification>
where <resp> is the variable for which the index minimum is to be computed;
<par> is a parameter where the index minimum value is saved;
and where the <SUBSET/EXCEPT/FOR qualification> is optional.
Examples:
LET K1 = INDEX MINIMUM 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 EXTREME = Compute the index for the most extreme 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 MINIMUM 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 "minimum 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 minind = cross tabulate index minimum 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 minind
```

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

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