Contingency Coefficient: Core Idea, Calculation, and Interpretation
The contingency coefficient is a measure used to quantify the strength of the association between two nominal variables in a cross-tabulation. It complements tests such as the chi-square test by expressing the strength of an association independently of the sample size.
Basic idea and calculation of the contingency coefficient
While the chi-square test only examines the significance of an association, the contingency coefficient goes one step further: It assesses the strength of the association. The aim is to determine how strong the dependence between two nominal variables actually is.
Important properties:
- Range of values: The contingency coefficient always lies between 0 (no association) and an upper limit below 1, depending on the table size.
- It is not symmetric: The value is influenced by the number of categories, which is why it is mainly useful for tables with similar dimensions (e.g., 2×2).
The calculation is based on the chi-square statistic (chi^2) from the contingency table:

Example: Calculating the contingency coefficient
We use the same example as for the chi-square test: A survey of 100 people examines their preference for coffee or tea, broken down by gender.
| Coffee | Tea | Total | |
|---|---|---|---|
| Male | 30 | 20 | 50 |
| Female | 10 | 40 | 50 |
| Total | 40 | 60 | 100 |
Calculating the chi-square value (chi^2): As shown in the example for the chi-square test, this results in:

Calculating the contingency coefficient: Let us substitute the values into the formula:

Interpretation of the contingency coefficient
The value of the contingency coefficient indicates how strong the association between the two variables is:
- C = 0: No association.
- C > 0: There is an association, and its strength increases as the values increase.
- Upper limit (< 1): The value can never reach 1, which can make interpretation difficult, especially for larger tables.
In our example of 0.38, we can speak of a moderate association.
An important criticism of the contingency coefficient is that it does not cover the full range of values from 0 to 1. Instead, its upper limit depends on the number of categories in the table:
- In a 2×2 table, the upper limit is relatively high.
- For larger tables (e.g., 4×5), the maximum value is considerably lower.
For more precise comparisons between tables of different dimensions, Cramér’s V can be used as an alternative.
Advantages and limitations
Advantages:
- Easy to calculate when the chi-square value is available.
- Suitable for 2×2 or similarly sized contingency tables.
- Provides an intuitive measure of the strength of the association.
Limitations:
- Dependent on the table size, which makes comparisons more difficult.
- Not an absolute measure: The values cannot be directly compared with other measures of correlation.
Calculation with software
Calculating the contingency coefficient with R
In R, the contingency coefficient (C) can be derived from a chi-square calculation. Here is an example:
# Daten: 2x2-Kontingenztabelle
table <- matrix(c(50, 30, 20, 100), nrow = 2)
# Chi-Quadrat-Test
result <- chisq.test(table)
# Kontingenzkoeffizient berechnen
C <- sqrt(result$statistic / (result$statistic + sum(table)))
print(C)
The result is the contingency coefficient, which ranges from 0 (no association) to a maximum below 1 (strong association).
Calculating the contingency coefficient with SPSS
In SPSS, the contingency coefficient is automatically displayed in a crosst tabulation analysis:
- Go to Analyze > Descriptive Statistics > Crosstabs.
- Move the variables into the rows and columns.
- Click Statistics and activate the Chi-square option.
- In the output, you will find the contingency coefficient below the chi-square values in the table labeled “Measures of Association”.
Calculating the Contingency Coefficient with PSPP
In PSPP, the calculation works similarly to SPSS:
- Select Analyze > Descriptive Statistics > Crosstabs.
- Move the variables into the corresponding fields.
- Activate Chi-Square to obtain the contingency coefficient in the results table under “Measures of Association”.
Calculating the Contingency Coefficient with JASP
In JASP, you can obtain the contingency coefficient through a contingency tables analysis:
- Go to Frequencies > Contingency Tables.
- Move the independent and dependent variables into the rows and columns.
- In the statistics section, activate the options Chi-Square Test and Measure of Association.
- The contingency coefficient is displayed in the results table and is easy to interpret.
Conclusion
The contingency coefficient is a useful extension of the chi-square test when assessing the strength of an association between nominal-level variables. However, its dependence on the table size should always be taken into account. For a more precise analysis or to compare different tables, it may be useful to use additional measures such as Cramér’s V.
