Goodman and Kruskal's lambda

In probability theory and statistics, Goodman & Kruskal's lambda () is a measure of proportional reduction in error in cross tabulation analysis. For any sample with a nominal independent variable and dependent variable (or ones that can be treated nominally), it indicates the extent to which the modal categories and frequencies for each value of the independent variable differ from the overall modal category and frequency, i.e., for all values of the independent variable together. is defined by the equation

where

is the overall non-modal frequency, and
is the sum of the non-modal frequencies for each value of the independent variable.

Values for lambda range from zero (no association between independent and dependent variables) to one (perfect association).