Note: See Using Box Charts to Compare Subgroups in the SAS/QC Sample Library.
The following statements use the flight delay data of Example 18.1 to illustrate how to create side-by-side box-and-whisker plots with notches:
title 'Analysis of Airline Departure Delays'; proc shewhart data=Times limits=Timelim ; boxchart Delay * Day / odstitle = title boxstyle = schematicid nolimits nohlabel nolegend notches; id Reason; label Delay = 'Delay in Minutes'; run;
The control limits are suppressed with the NOLIMITS option. The notches, requested with the NOTCHES option, measure the significance of the difference between two medians. The medians are significantly different at approximately the 95% level if the notches do not overlap.
Output 18.3.1: Notched Side-by-Side Box-and-Whisker Plots