# Linear Regression Set Rule

Cases defined by the selection rule are included in the analysis.
For example, if you select a variable, choose equals, and type `5` for the value, then only cases for which the selected variable has
a value equal to 5 are included in the analysis. A string value is
also permitted.

Setting the Value for the Selection Variable

This feature requires the Statistics Base option.

- From the menus choose:
- In the Linear Regression dialog box, choose a selection variable and 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 from the drop-down list. The available relations are equal to, not equal to, less than, less than or equal to, greater than, and greater than or equal to. For string variables, equal to is available.
- Enter a value or string.