This example uses the Hot Dogs.jmp sample data table. The Type column identifies three different types of hot dogs: beef, meat, or poultry. You want to group the three types of hot dogs according to their cost variables.
1.
|
2.
|
Select Analyze > Fit Y by X.
|
3.
|
4.
|
5.
|
Click OK.
|
6.
|
From the red triangle menu, select Group By.
|
7.
|
From the list, select Type.
|
8.
|
Click OK.
|
If you look at the Group By option again, you see it has a check mark next to it.
9.
|
From the red triangle menu, select Density Ellipse > 0.90.
|
To color the points according to Type, proceed as follows:
10.
|
Right-click on the scatterplot and select Row Legend.
|
11.
|
Figure 4.46 Example of Group By
The ellipses in Figure 4.46 show clearly how the different types of hot dogs cluster with respect to the cost variables.