Adding Terms to a Logistic Regression Model
When requesting a custom logistic regression model, you can add terms to the model by clicking the Add new model terms button on the Logistic Regression Model tab. The New Terms dialog box opens in which you can specify terms.
Type of term to add. There are several ways to add terms to the model, based on the selection of input fields in the Available fields list.
- Single interaction. Inserts the term representing the interaction of all selected fields.
- Main effects. Inserts one main effect term (the field itself) for each selected input field.
- All 2-way interactions. Inserts a 2-way interaction term (the product of the input fields) for each possible pair of selected input fields. For example, if you have selected input fields A, B, and C in the Available fields list, this method will insert the terms A * B, A * C, and B * C.
- All 3-way interactions. Inserts a 3-way interaction term (the product of the input fields) for each possible combination of selected input fields, taken three at a time. For example, if you have selected input fields A, B, C, and D in the Available fields list, this method will insert the terms A * B * C, A * B * D, A * C * D, and B * C * D.
- All 4-way interactions. Inserts a 4-way interaction term (the product of the input fields) for each possible combination of selected input fields, taken four at a time. For example, if you have selected input fields A, B, C, D, and E in the Available fields list, this method will insert the terms A * B * C * D, A * B * C * E, A * B * D * E, A * C * D * E, and B * C * D * E.
Available fields. Lists the available input fields to be used in constructing model terms.
Preview. Shows the terms that will be added to the model if you click Insert, based on the selected fields and term type.
Insert. Inserts terms in the model (based on the current selection of fields and term type) and closes the dialog box.