0.5
200
100
75
%
25
%
50
1
0.5
200
100
75
%
25
%
50
1
Goodman and Kruskal's Gamma (γ) is a symmetric measure of ordinal association that quantifies the strength and direction of the relationship between two ordinal variables. It is based on the difference between concordant and discordant pairs of observations, ignoring all tied pairs entirely. This makes Gamma particularly useful when there are relatively few ties in the data.
Gamma ranges from −1 (perfect inverse association) through 0 (no association) to +1 (perfect positive association). Its simplicity and clear probabilistic interpretation make it one of the most intuitive measures of ordinal association available.
Gamma is computed from the counts of concordant and discordant pairs in the data:
$$\gamma = \frac{C - D}{C + D}$$
Where:
Pairs that are tied on either or both variables are excluded from the computation entirely. This is both a strength (simplicity) and a limitation (information loss when ties are common).
The probabilistic interpretation of Gamma is elegant: it represents the probability that a randomly chosen pair is concordant minus the probability that it is discordant, conditional on the pair being untied. Formally:
$$\gamma = P(\text{concordant}) - P(\text{discordant}) \quad \text{among untied pairs}$$
The approximate standard error for large samples is:
$$SE \approx \frac{2\sqrt{1 - \gamma^2}}{\sqrt{C + D}}$$
A significance test can be performed using z = γ/SE, compared to the standard normal distribution. However, this approximation works best when the number of untied pairs is large.
Gamma has a clear and direct interpretation:
For magnitude interpretation: |γ| < 0.10 (negligible), 0.10–0.30 (weak), 0.30–0.60 (moderate), 0.60–0.80 (strong), > 0.80 (very strong). Note that Gamma tends to have larger absolute values than Kendall's Tau or Somers' D for the same data because it ignores ties, so direct comparison with these measures requires caution.
Inputs
Results
In a study of education level and income rank, 150 concordant and 50 discordant pairs yield γ = 0.50, showing that higher education is moderately associated with higher income among untied pairs.
Inputs
Results
Customer satisfaction rating vs. purchase return frequency: 320 concordant, 280 discordant. γ = 0.067, suggesting virtually no ordinal association.
Consider two observations (i, j). They form a concordant pair if the one ranking higher on variable X also ranks higher on variable Y. They form a discordant pair if the one ranking higher on X ranks lower on Y. If they tie on either variable, they are excluded from both counts in Gamma's calculation.
Gamma ignores all tied pairs, while Kendall's Tau-b includes ties in the denominator. This means Gamma tends to produce larger absolute values than Tau-b for the same data. Tau-b is generally preferred when ties are common, as Gamma may overstate the association strength by excluding tied pairs.
Gamma is most appropriate when ties are rare and you want a simple, interpretable measure of ordinal association. It is also the measure of choice when you specifically want to know the probability difference between concordance and discordance among untied pairs. For data with many ties, Tau-b or Somers' D may be more appropriate.
Gamma is designed for ordinal data with a finite number of ranked categories. If you have continuous data, you could rank it and apply Gamma, but Pearson's correlation or Spearman's rank correlation would typically be more appropriate and powerful. Gamma loses information when applied to continuous data with few ties.
For each cell in the table, the concordant count for that cell is its frequency multiplied by the sum of all cell frequencies below and to the right. The discordant count is its frequency multiplied by the sum of all cell frequencies below and to the left. Sum all cell-level concordant counts to get C, and all cell-level discordant counts to get D.
If the number of concordant pairs exactly equals the number of discordant pairs, Gamma equals zero. This means there is no net tendency for the two variables to be positively or negatively associated when considering only untied pairs. It does not necessarily mean the variables are independent — only that positive and negative associations balance out.
Roboculator Team
The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.
How helpful was this calculator?
Be the first to rate!
Random Number Generator
Advanced & Specialized Statistical Tools
Central Limit Theorem Calculator
Advanced & Specialized Statistical Tools
Empirical Rule Calculator
Advanced & Specialized Statistical Tools
Chebyshev's Theorem Calculator
Advanced & Specialized Statistical Tools
Monte Carlo Estimation Calculator
Advanced & Specialized Statistical Tools
Power Analysis Calculator
Advanced & Specialized Statistical Tools