Compare Your Models

You can compare the performance of these two models using the model comparison visualization. In the explorer, model comparison requires that the response variable, level, and group by variable are identical in the compared models. The effects used in each model can differ.
To compare the models in this example, complete the following steps:
  1. Click model comparison to create a new model comparison.
  2. In the Model Comparison window, Response should already contain the variable Emission of Total Hydrocarbons (g/mi). Select the variable Vehicle Type for Group By. If you used a group by variable in only one of the models that you created, you cannot compare these two models.
  3. Click Dual Selector icon between the Available models area and the Selected models area to add both visualizations to the model comparison.
  4. Click OK.
  5. Review the results windows for the model comparison. The default segment chosen is CAR. This is displayed in the summary bar at the top of the visualization.
    Because Emission of Total Hydrocarbons (g/mi) is an interval target, the model comparison visualization displays an Assessment plot. This plot compares either the observed average value or predicted average value between each model at each percentile. Notice that these models are relatively similar in regard to both the observed or predicted average.
    In the Fit Statistic window, the default displayed value is the average square error (ASE). Hold your mouse pointer over the bar for each visualization to see that the ASE value for the linear regression is better.
    The fit statistic Observed Average displays the observed average value at the specified percentile. After selecting Observed Average, you can change the displayed percentile with the slider on the Properties tab.
    This information is also in the details table. In addition to ASE, you can view the sum of squared errors (SSE). Notice that the SSE for these two models favors the linear regression.
  6. In the summary bar, click the word CAR, and select TRUCK to compare the results for the truck segment. Explore the Assessment and Fit Statistic windows to notice the differences and similarities between the two models.
  7. Repeat your exploration for the BOTH segment.
  8. Save the exploration.
    Note: Model comparisons do not persist between sessions. If you sign out of SAS Visual Analytics and want to return to this model comparison, then you must re-create it.
Last updated: August 16, 2017