For character or discrete
numeric values, you can use the MIDPOINTS= option to rearrange the
midpoints or to exclude midpoints from the chart.
For example, to change
the default alphabetic order of the midpoints in Character Midpoints, specify the
following: midpoints="Tokyo" "Denver" "Seattle"
To exclude the midpoint
for Denver, specify the following:
midpoints="Tokyo" "Seattle"
In this case, values
excluded by the option are not included in the calculation of the
chart statistic.
You can order or select
discrete numeric midpoint values just as you do character values,
but you omit the quotation marks when specifying numeric values.
For continuous numeric
variables, use the LEVELS= or MIDPOINTS= option to
-
change the number of midpoints
-
control the range of values each
midpoint represents
-
change the order of the midpoints.
To control the range of values each midpoint represents,
use the MIDPOINTS= option to specify the median value of each range.
For example, to select the ranges 20–29, 30–39, and
40–49, specify the following:
midpoints=25 35 45
Alternatively, to select
the number of midpoints that you want and let the procedure calculate
the ranges and medians, use the LEVELS= option.
You can also use formats
to control the ranges of continuous numeric variables, but in that
case the values are no longer continuous but discrete.
Note: You cannot use the MIDPOINTS=
option to exclude continuous numeric values from the chart. Values
below or above the ranges specified by the option are automatically
included in the first and last midpoints, respectively. To exclude
continuous numeric values from a chart, use a WHERE statement in a
DATA step or the WHERE= data set option.
See also the description
of the LEVELS= and MIDPOINTS= options for the appropriate statement.