PRINT Subcommand (LOGLINEAR command)

PRINT requests statistics that are not produced by default.

  • By default, LOGLINEAR displays the frequency table and residuals. The parameter estimates of the model are also displayed if DESIGN is not used.
  • Multiple PRINT subcommands are permitted. The specifications are cumulative.

The following keywords can be used on PRINT:

FREQ. Observed and expected cell frequencies and percentages. This is displayed by default.

RESID. Raw, standardized, and adjusted residuals. This is displayed by default.

DESIGN. The design matrix of the model, showing the basis matrix corresponding to the contrasts used.

ESTIM. The parameter estimates of the model. If you do not specify a design on the DESIGN subcommand, LOGLINEAR generates a saturated model and displays the parameter estimates for the saturated model. LOGLINEAR does not display parameter estimates or correlation matrices of parameter estimates if any sampling zero cells exist in the expected table after delta is added. Parameter estimates and a correlation matrix are displayed when structural zeros are present.

COR. The correlation matrix of the parameter estimates. Alias COV.

ALL. All available output.

DEFAULT. FREQ and RESID. ESTIM is also displayed by default if the DESIGN subcommand is not used.

NONE. The design information and goodness-of-fit statistics only. This option overrides all other specifications on the PRINT subcommand. The NONE option applies only to the PRINT subcommand.

Example

LOGLINEAR A(1,2) B(1,2)
 /PRINT=ESTIM
 /DESIGN=A,B,A BY B
 /PRINT=ALL
 /DESIGN=A,B.
  • The first design is the saturated model. The parameter estimates are displayed with ESTIM specified on PRINT.
  • The second design is the main-effects model, which tests the hypothesis of no interaction. The second PRINT subcommand displays all available display output for this model.