Example: Analyzing the Sashelp.RevHub2 Data Set

To create this example:
  1. In the Tasks section, expand the Statistics folder, and then double-click N-Way ANOVA. The user interface for the N-Way ANOVA task opens.
  2. On the Data tab, select the SASHELP.REVHUB2 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. Assign variables to these roles:
    Role
    Column Name
    Dependent variable
    REVENUE
    Factors
    SOURCE
    TYPE
  4. On the Model tab, click Edit Icon. The Model Effects Builder opens.
  5. In the Variables pane, select SOURCE and TYPE.
  6. Click Full Factorial. Click OK to close the Model Effects Builder.
  7. To run the task, click Submit SAS Code.
Here is a subset of the results:
Class Level Information for the N-Way ANOVA Example