Example (HILOGLINEAR command)

HILOGLINEAR V1(1,2) V2(1,2) V3(1,3) V4(1,3)
  /DESIGN=V1*V2*V3, V4.
  • HILOGLINEAR builds a 2 × 2 × 3 × 3 contingency table for analysis.
  • DESIGN specifies the generating class for a hierarchical model. This model consists of main effects for all four variables, two-way interactions among V1, V2, and V3, and the three-way interaction term V1 by V2 by V3.