Publication date: 08/13/2020

Create a Grouping Variable

If your data does not already have a grouping variable, you can create one using the Cluster platform. Using the Iris.jmp data, assume that the Species column does not exist. You know that the data comes from three species of Iris flowers, so you want to create three clusters within a group.

Proceed as follows:

1. Using the Iris.jmp sample data table, select Analyze > Clustering > Hierarchical Cluster.

2. Select Sepal length, Sepal width, Petal length, and Petal width and click Y, Columns.

3. Click OK.

4. Click the Hierarchical Clustering red triangle and select Number of Clusters.

5. Type 3 to represent the three different Iris species.

6. Click OK.

7. Click the Hierarchical Clustering red triangle and select Save Clusters.

8. Close the Hierarchical Cluster report window, and go back to the Iris.jmp data table.

You can see that a Cluster column has been added to the Iris.jmp data table.

9. Perform the Scatterplot Matrix analysis. Follow the instructions in the section Example Using a Grouping Variable, but use Cluster as the grouping variable.

Figure 6.9 Example of a Scatterplot Matrix Using a Cluster Variable 

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