INSETGROUP keywords </ options>;
A PLOT statement in the BOXPLOT procedure can be followed by a series of INSET and INSETGROUP statements. Each INSETGROUP statement in that series displays statistics associated with individual groups in the box plot produced by the preceding PLOT statement. Note: The INSETGROUP statement is ignored when you specify the HORIZONTAL option with ODS Graphics enabled. No more than two INSETGROUP statements can be associated with a given PLOT statement: one that displays group statistics above the box plot and one that displays group statistics below it. The data requested using the keywords are displayed in the order in which they are specified.
identify summary statistics to be displayed in the insets. By default, inset statistics are identified with appropriate labels, and numeric values are printed using appropriate formats. However, you can provide customized labels and formats. You provide the customized label by specifying the keyword for that statistic followed by an equal sign (=) and the label in quotes. Labels can have up to 24 characters. You provide the numeric format in parentheses after the keyword. Note that if you specify both a label and a format for a statistic, the label must appear before the format. The keywords are listed in Table 28.4.
control the appearance of the insets. Table 28.5 lists all the options in the INSETGROUP statement. Complete descriptions for each option follow.
Table 28.4: INSETGROUP Statement Keywords
Keyword |
Description |
---|---|
MEAN |
group mean |
MIN |
group minimum value or low whisker value |
MAX |
group maximum value or high whisker value |
N |
number of observations in group |
NHIGH |
number of outliers above upper fence |
NLOW |
number of outliers below lower fence |
NOUT |
total number of outliers in group |
Q1 |
first quartile of group values |
Q2 |
second quartile of group values |
Q3 |
third quartile of group values |
RANGE |
range of group values |
STDDEV |
group standard deviation |
Note: When ODS Graphics is enabled, the MIN and MAX keywords display the low whisker and high whisker values, respectively. Otherwise, the group minimum and maximum data values are displayed.
Table 28.5 summarizes the options available in the INSETGROUP statement. All of these options apply to traditional graphics only. They are ignored when ODS Graphics is enabled.
Table 28.5: INSETGROUP Statement Options
Option |
Description |
---|---|
Specifies color of inset background |
|
Specifies color of inset header background |
|
Specifies color of inset frame |
|
Specifies color of inset header text |
|
Specifies color of inset text |
|
Specifies font of inset text |
|
Specifies format of values in inset |
|
Specifies inset header text |
|
Specifies height of inset and header text |
|
Suppresses frame around inset |
|
Specifies position of inset |
Following are descriptions of the options that you can specify in the INSETGROUP statement after a slash (/).