Log-linear analysis
Appearance
Loglinear analysis is a technique used in statistics to examine the relationship between more than 2 categorical variables. This technique examines if the categorical variables interact. (A Pearson's chi-square test could be used instead, but this technique only allows for 2 of the variables to be compared at a time.)[1]
It uses a likelihood ratio statistic[2] , χ^2: χ^2=2∑(Oij×ln Oij/Eij ) where ln is the natural logarithm, Oij is the observed frequency in cellij (i = row and j= column), and Eij is the expected frequency in cellij.