Loglinear Analysis Model
Specify Model. A saturated model contains all factor main effects and all factor-by-factor interactions. Select Custom to specify a generating class for an unsaturated model.
Generating Class. A generating class is a list of the highest-order terms in which factors appear. A hierarchical model contains the terms that define the generating class and all lower-order relatives. Suppose you select variables A, B, and C in the Factors list and then select Interaction from the Build Terms drop-down list. The resulting model will contain the specified 3-way interaction A*B*C, the 2-way interactions A*B, A*C, and B*C, and main effects for A, B, and C. Do not specify the lower-order relatives in the generating class.
For the selected factors:
- Interaction
- Creates the highest-level interaction term of all selected variables. This is the default.
- Main effects
- Creates a main-effects term for each variable selected.
- All 2-way
- Creates all possible two-way interactions of the selected variables.
- All 3-way
- Creates all possible three-way interactions of the selected variables.
- All 4-way
- Creates all possible four-way interactions of the selected variables.
- All 5-way
- Creates all possible five-way interactions of the selected variables.
Specifying Models for Model Selection Loglinear Analysis
- From the menus choose:
- Select one or more factors.
- Click Model.
- In the Model dialog box, select Custom.
- Select a method for building terms.
- Repeat these steps until you have all of the highest-order terms you want in the generating class.
Do not specify lower-order relatives of terms already included in the generating class.