Whole document tree
    

Whole document tree

Histogram Tool

14.9. Histogram Tool

14.9.6. A Histogram Example

Example 14-9. Using the Histogram Tool

For example, you want to calculate a histogram and a cumulative histogram in percentages for a the number of successes in several sequences of trials. The numbers of successes are recorded in column A and the classes of interest in column D with labels in column C (see Figure 14-33).

  1. Enter A1:A21 in the "Input Range:" entry of the "Input" tab by typing this directly into the entry or clicking in the entry field and then selecting that range on the sheet. In the latter case the entry will also contain the sheet name.

  2. Since you only have one variable select the "Areas" or "Columns" radio button next to "Grouped By:".

  3. Select the "Input Labels" option since the first cell of the Input Range contains a label.

  4. Enter C1:D5 in the "Bin Range:" entry of the "Bins" tab. The "Predetermined Bins" option will now also be selected (see Figure 14-34).

  5. Select the "Bin Labels" option since the first column of the Bin Range contains labels.

  6. Select the "Percentage" and "Cumulative Percentages" options of the "Options" tab.

  7. In the "Output" tab, specify the output options as described in Section 14.1.

  8. Press the OK button.

The results are shown in Figure 14-35.