A common use is modeling cell counts in contingency tables. Although loglinear models can be used to analyze the relationship between two categorical variables (two-way contingency tables), they are more commonly used to evaluate multiway contingency tables that involve three or more variables. Loglinear models for higher dimensions are more complex than for two-way tables, because of the variety of potential association terms.