Example: Distribution Analysis of Sales for Each Region

In this example, you want to analyze the sales for each region. Because the data contains three regions, you get three sets of results.
To create this example:
  1. In the Tasks section, expand the Statistics folder, and then double-click Distribution Analysis. The user interface for the Distribution Analysis task opens.
  2. On the Data tab, select the SASHELP.PRICEDATA data set.
    Tip
    If the data set is not available from the drop-down list, click Select a table icon. In the Choose a Table window, expand the library that contains the data set that you want to use. Select the data set for the example and click OK. The selected data set should now appear in the drop-down list.
  3. To the Analysis variables role, assign the sale variable.
  4. On the Options tab, set these options:
    1. In the Exploring Data group, assign the regionName variable to the Classification variables role.
    2. In the Checking for Normality group, select the Histogram and goodness-of-fit tests and Normal quantile-quantile plot options.
  5. To run the task, click Submit SAS Code.
Here is a subset of the results:
Histograms of the Distributions of Sale in Regions 1 and 2
Tests for Normality and Q-Q Plot