sample_gamma | R Documentation |
"Of the C+D pairs of observations that are concordant or discordant, the proportion of C/(C+D) is concordant and the proportion D/(C+D) is discordant. THe difference between these proportions is called gamma (Goodman and Kruskal, 1954)" (Agresti 2010, pg 186).
sample_gamma(contingency_table)
contingency_table |
2D contingency table |
Calculates the sample gamma estimate, which takes values -1 <= gamma <= 1. Higher magnitude is stronger association, sign represents positive or negative association.
Gamma hat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.