Previous Page | Next Page

The BOXPLOT Procedure

INSETGROUP Statement

INSETGROUP keywords </ options> ;

Each PLOT statement in the BOXPLOT procedure is followed by a series of zero or more 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. 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.

keywords

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 24.3.

options

control the appearance of the insets. Table 24.4 lists all the options in the INSETGROUP statement. Complete descriptions for each option follow.

Table 24.3 INSETGROUP Statement Keywords

Keyword

Description

MEAN

group mean

MIN

group minimum value

MAX

group maximum 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

Table 24.4 lists the options available in the INSETGROUP statement.

Table 24.4 INSETGROUP Statement Options

Option

Description

CFILL=color | BLANK

specifies color of inset background

CFILLH=color

specifies color of inset header background

CFRAME=color

specifies color of inset frame

CHEADER=color

specifies color of inset header text

CTEXT=color

specifies color of inset text

FONT=font

specifies font of inset text

FORMAT=format

specifies format of values in inset

HEADER='string'

specifies inset header text

HEIGHT=value

specifies height of inset and header text

NOFRAME

suppresses frame around inset

POSITION=position

specifies position of inset

Following are descriptions of the options that you can specify in the INSETGROUP statement after a slash (/).

CFILL=color

specifies the color of the inset background (including the header background if you do not specify the CFILLH= option). If you do not specify the CFILL= option, then by default the background is empty.

CFILLH=color

specifies the color of the header background. By default, if you do not specify a CFILLH= color, the CFILL= color is used.


CFRAME=color

specifies the color of the frame around the inset. By default, the frame is the same color as the axis of the plot.

CHEADER=color

specifies the color of the header text. By default, if you do not specify a CHEADER= color, the CTEXT= color is used.

CTEXT=color
CT=color

specifies the color of the inset text. By default, the inset text color is the same as the other text in the plot.

FONT=font

specifies the font of the inset text. By default, the font is SIMPLEX.

FORMAT=format

specifies a format for all the values displayed in an inset. If you specify a format for a particular statistic, then this format overrides the format you specified with the FORMAT= option.

HEADER='string'

specifies the header text. The string can be up to 40 characters. If you do not specify the HEADER= option, no header line appears in the inset.

HEIGHT=value

specifies the height of the inset and header text.

NOFRAME

suppresses the frame drawn around the inset.

POSITION=position
POS=position

determines the position of the inset. Valid positions are TOP, TOPOFF, AXIS, and BOTTOM. By default, POSITION=TOP.

Position Keyword

Description

TOP

top of plot, immediately above axis frame

TOPOFF

top of plot, offset from axis frame

AXIS

bottom of plot, immediately above horizontal axis

BOTTOM

bottom of plot, below horizontal axis label


Previous Page | Next Page | Top of Page