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.

  1. From the menus choose:

    Analyze > Regression > Linear...

  2. In the Linear Regression dialog box, choose a selection variable and click Rule.
  3. Define a selection rule for selecting a subset of cases for analysis. The name of the selected variable appears on the left.
  4. 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.
  5. Enter a value or string.