Creating a filter in the Cluster Model Viewer

To create a filter condition that selects records from specific clusters in the Cluster Model Viewer:

  1. Activate (double-click) the Cluster Model Viewer.
  2. From the View drop-down list at the bottom of the Cluster Model Viewer window, select Clusters.
  3. Click the cluster number for the cluster you want at the top of the Cluster View. If you want to select multiple clusters, Ctrl-click on each additional cluster number that you want.
    Figure 1. Clusters selected in Cluster view
    Clusters selected in Cluster view
  4. From the Cluster Model Viewer menus, choose:

    Generate > Filter records

    Figure 2. Filter Records dialog
    Filter Records dialog
  5. Enter a name for the filter field and click OK. Names must conform to IBM® SPSS® Statistics naming rules. See the topic Variable names for more information.
Figure 3. Filtered records in Data Editor
Filtered records in Data Editor

This creates a new field in the dataset and filters records in the dataset based on the values of that field.

  • Records with a value of 1 for the filter field will be included in subsequent analyses, charts, and reports.
  • Records with a value of 0 for the filter field will be excluded.
  • Excluded records are not deleted from the dataset. They are retained with a filter status indicator, which is displayed as a diagonal slash through the record number in the Data Editor.

For more information on filtering, see Select cases.

Next