Explore the Data

The following steps describe how to use box plots to explore the relationship between blood pressure and the levels of drug and disease. The section Box Plots describes how to create a box plot.

  1. Select GraphBox Plot from the main menu. Create a box plot of chang_bp versus drug.

    The following steps add an indicator of the mean and standard deviation of each group to the box plot.

  2. Right-click near the center of the scatter plot, and select Plot Area Properties from the pop-up menu.

    The Generalized Linear Models dialog box appears. (See Figure 24.2.) You can use the Boxes tab to change attributes of the box plot.

    Figure 24.2: The Box Plot Dialog Box

  3. Select Mean: with one standard deviation.

  4. Click OK.

    Note: As a shortcut to the previous three steps, you can press the m key while the box plot window is active to toggle the display of means and standard deviations.

    The box plot is shown in Figure 24.3. The mean change in blood pressure for Drug 1 and Drug 2 is higher than the mean change for Drug 3 and Drug 4 (averaged over all three levels of disease). This difference might indicate that the main effect for drug should be included in a model for predicting chang_bp.

    Figure 24.3: Blood Pressure Grouped by Drug

  5. Repeat the previous steps to create a box plot of chang_bp versus disease. Add means and standard deviations to the plot.

A box plot that groups the response by disease is shown in Figure 24.4. The means for these groups vary according to the values of disease. The differences between the three disease levels are not as pronounced as those observed for drug. Still, the plot indicates that disease might be a factor in predicting chang_bp.

Figure 24.4: Blood Pressure Grouped by Disease