GKGamma: Goodman-Kruskall Gamma

Description Usage Arguments Value Examples

Description

Calculates Goodman and Kruskall's Gamma along with its confidence interval

Usage

1
GKGamma(x, y = NULL, conf.level = NA, ...)

Arguments

x

Either a matrix providing a cross-tabulation of two variables (if y is NULL) or one variable that will be cross-tabulated with y.

y

Either NULL if x is a matrix or a variable that will be cross-tabulated with x.

conf.level

The confidence level of the desired confidence interval. If this is NA (the default), then no confidence intervall will be produced.

...

Other arguments to be passed down to the table function.

Value

A test statistic and optional confidence interval.

Examples

1
2

uwo4419 documentation built on Oct. 23, 2020, 8:08 p.m.