# Logistic Regression Set Rule

Cases defined by the selection rule are included in model estimation. For example, if you selected a variable and equals and specified a value of 5, then only the cases for which the selected variable has a value equal to 5 are included in estimating the model.

Statistics and classification results are generated for both selected and unselected cases. This provides a mechanism for classifying new cases based on previously existing data, or for partitioning your data into training and testing subsets, to perform validation on the model generated.

Defining Selection Rules

This feature requires SPSS® Statistics Standard Edition or the Regression Option.

- From the menus choose:
- In the Logistic Regression dialog box, click Select.
- Choose a selection variable and then click Rule.
- Define a selection rule for selecting a subset of cases for analysis. The name of the selected variable appears on the left.
- Select a relation. The available relations are equals, not equal to, less than, less than or equal to, greater than, and greater than or equal to.
- Enter a value.