Skip to content

Discriminant Analysis

Finds linear combinations of predictors (discriminant functions) that best separate known groups, then classifies cases into the groups.

  • To find which variables distinguish groups, for example graduates vs. dropouts or three diagnostic categories.
  • To build a rule for classifying new cases into groups.
  • As an alternative to (multinomial) logistic regression when the predictors are roughly normal.
  • Predictors are scale and approximately multivariate normal within each group.
  • Equal covariance matrices across groups (Box’s M). Box’s M is very sensitive with large samples, so judge it alongside the log determinants.
  • No predictor is a linear combination of others, and each group has more cases than there are predictors.
  • Eigenvalues and canonical correlations show how strongly each function separates the groups. Wilks’ Lambda tests whether the functions separate the groups at all (small Λ, significant χ²).
  • Standardized coefficients show each predictor’s unique contribution. The Structure Matrix shows correlations with the functions and is the usual basis for naming them.
  • Functions at Group Centroids show where each group lies on the functions.
  • Classification Results show the percentage correctly classified. The leave-one-out (cross-validated) figure is the honest estimate for new cases. Compare it with the share you would get by always guessing the largest group.

A discriminant analysis with four flower measurements yielded two functions. The first separated the species strongly (Λ = .02, χ²(8) = 546.12, p < .001; canonical R = .98) and was defined mainly by petal length. Cross-validated classification was 98.0% accurate.

Syntax: DISCRIMINANT /GROUPS=species(1,3) /VARIABLES=sepal_length TO petal_width /STATISTICS=BOXM UNIVF TABLE CROSSVALID.


This page comes from OrcStat’s built-in help (the same text as in the app’s Help panel). To suggest a change, open an issue.