50% off: Unlimited data and AI learning.
The Learning Leader's Guide to AI Literacy

PResiduals (version 1.0-1)

GKGamma: Goodman-Kruskal's γ

Description

Computes Goodman-Kruskal's γ

Usage

GKGamma(M)

Arguments

M

a matrix

Value

scon

concordance

sdis

disconcordance

gamma

a real number between -1 and 1. calculated as \codegamma=\codescon\codesdis\codescon+\codesdis

References

Goodman LA, Kruskal WH (1954) Measures of association for cross classifications, Journal of the American Statistical Association, 49, 732-764.