For the latest version of JMP Help, visit JMP.com/help.


Basic Analysis > Bivariate Analysis > Additional Examples of the Bivariate Platform > Example of Group By Using Density Ellipses
Publication date: 04/30/2021

Example of Group By Using Density Ellipses

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. Select Help > Sample Data Library and open Hot Dogs.jmp.

2. Select Analyze > Fit Y by X.

3. Select $/oz and click Y, Response.

4. Select $/lb Protein and click X, Factor.

5. Click OK.

6. Click the red triangle next to Bivariate Fit of $/oz By $/lb Protein and 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. Click the red triangle next to Bivariate Fit of $/oz By $/lb Protein and select Density Ellipse > 0.90.

To color the points according to Type, proceed as follows:

10. Right-click the scatterplot and select Row Legend.

11. Select Type in the column list and click OK.

Figure 5.23 Example of Group By 

The ellipses in Figure 5.23 show clearly how the different types of hot dogs cluster with respect to the cost variables.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).