Input Data Set
You can read data (analysis variable measurements) from a data
set specified with the DATA= option in the PROC BOXPLOT statement.
Each analysis variable specified
in the PLOT statement must be a SAS variable in the data set.
This variable provides measurements that
are organized into groups indexed by the
group variable. The group variable,
specified in the PLOT statement,
must also be a SAS variable in the DATA= data set.
Each observation in a DATA= data set must contain a value
for each analysis variable and a value for the group variable.
If the ith group contains
ni measurements, there should be ni
consecutive observations for which the value of the
group variable is the index of the
ith group. For example, if each group
contains 20 items and there are 30 groups,
the DATA= data set should contain 600 observations.
Other variables that can be read from a DATA= data set include
- BY variables
- ID variables
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.