gamma_GK: Estimate the Goodman and Kruskal gamma statistic

Description Usage Arguments Value Note Author(s) References

View source: R/gamma_gk.R

Description

Estimate the correlation between two unordered factor variables using the Goodman and Kruskal gamma statistic

Usage

1
gamma_GK(x, y = NULL, print = FALSE)

Arguments

x

an unordered factor variable

y

an unordered factor variable

print

a logical vector indicating whether results should be printed to the console

Value

A named list with gamma, standard error of gamma, p-value of gamma, and statistical significance

Note

Yadda yadda yadda

Author(s)

Jared E. Knowles

References

Adapted from Simon Jackman from: http://jackman.stanford.edu/classes/151B/06/class0517.r


strategicdataproject/OpenSDPsynthR documentation built on June 20, 2020, 6:17 a.m.