Learn R Programming

PResiduals (version 1.0-1)

GKGamma: Goodman-Kruskal's \(\gamma\)

Description

Computes Goodman-Kruskal's \(\gamma\)

Usage

GKGamma(M)

Arguments

M

a matrix

Value

scon

concordance

sdis

disconcordance

gamma

a real number between -1 and 1. calculated as \(\code{gamma} = \frac{\code{scon}-\code{sdis}}{\code{scon}+\code{sdis}}\)

References

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