yule: Yule's Y (coefficient of colligation)

View source: R/yule.R

Yule's Y (coefficient of colligation)R Documentation

Yule's Y (coefficient of colligation)

Description

Yule's Y (coefficient of colligation).

Usage

yule(x)

Arguments

x

A 2 x 2 matrix or a vector with 4 elements. In the case of the vector make sure it corresponds to the correct table.

Details

Yule's coefficient of colligation is calculated.

Value

Yule's Y is returned.

Author(s)

Michail Tsagris

R implementation and documentation: Michail Tsagris <mtsagris@uoc.gr>

References

Yule G. Udny (1912). On the Methods of Measuring Association Between Two Attributes. Journal of the Royal Statistical Society, 75(6):579-652.

See Also

col.yule, odds.ratio

Examples

x <- rpois(4, 30) + 2
res<-yule(x)
res<-yule( matrix(x, ncol = 2) )

Rfast documentation built on Nov. 9, 2023, 5:06 p.m.