Chapter Contents |
Previous |
Next |
SAS/INSIGHT Statements |
The BOX statement creates box or mosaic plots. The BOX statement requires at least one list of Y variables, optionally followed by an asterisk (*) and a list of X variables. If the Y variables have interval measurement level, the BOX statement creates box plots. If the Y variables are nominal, the BOX statement creates mosaic plots.
If you use X variables, you get one plot for each Y variable, and each plot contains one schematic diagram for each combination of X values. If you use no X variables, you get one plot containing one schematic diagram for each Y variable.
You can use the FREQ= and LABEL= options to assign Frequency and Label variables. Use the OTHER= option to set the "Other" threshold for mosaic plots. The "Other" threshold is a percentage between 0 and 100. Use the MARKERSIZE= or MS= option to specify the size of observation markers. Marker size is a number between 1 and 8. Use the YAXIS= option to specify a numeric axis for the Y variable. The syntax for axis options is described under the BAR statement.
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.