14.03.2014 Views

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

492 Creating Scatterplot Matrices Chapter 20<br />

Example Using a Grouping Variable<br />

Create a Grouping Variable<br />

If your data does not already have a grouping variable, you can create one using the Cluster platform. Using<br />

the Iris.jmp data, assume that the Species column does not exist. You know that the data comes from three<br />

species of Iris flowers, so you want to create three clusters within a group.<br />

Proceed as follows:<br />

1. Using the Iris.jmp sample data table, select Analyze > Multivariate Methods > Cluster.<br />

2. Select Sepal length, Sepal width, Petal length, <strong>and</strong> Petal width <strong>and</strong> click Y, Columns.<br />

3. Click OK.<br />

4. From the red triangle menu, select Number of Clusters.<br />

5. Type 3 to represent the three different Iris species.<br />

6. Click OK.<br />

7. From the red triangle menu, select Save Clusters.<br />

8. Close the Hierarchical Cluster report window, <strong>and</strong> go back to the Iris.jmp data table.<br />

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

9. Perform the Scatterplot Matrix analysis. Follow the instructions in the section “Example Using a<br />

Grouping Variable” on page 490, but use Cluster as the grouping variable.<br />

Figure 20.9 Example of a Scatterplot Matrix Using a Cluster Variable

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!