This example creates
three box plots that compares how many miles per gallon (city) cars
consume depending on their area of origin (Asia, Europe, and United
States).
To create this example:
-
In the
Tasks section,
expand the
Graph folder, and then double-click
Box
Plot. The user interface for the Box Plot task opens.
-
On the
Data tab,
select the
SASHELP.CARS data set.
Tip
If the data set is
not available from the drop-down list, click
. 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.
-
Assign columns to these
roles:
Role
|
Column Name
|
Analysis
variable
|
MPG_City
|
Category
variable
|
Origin
|
-
To run the task, click
.