Column-wise Yule's Y (coefficient of colligation)
Column-wise Yule's Y (coefficient of colligation).
col.yule(x, y = NULL, ina)
x |
A matrix with 0 and 1. Every column refers to a different sample or variable. |
y |
A second matrix, of the same dimensions as x, with 0 and 1. Every column refers to a different sample or variable. |
ina |
If y is NULL, ina must be specified. This is a numeric vector with 1s and 2s, indicating the group of each row. |
Yule's coefficient of colligation is calculated for every column.
A vector with Yule's Y, one for every column of x is returned.
Michail Tsagris
R implementation and documentation: Michail Tsagris <mtsagris@yahoo.gr>
Yule G. Udny (1912). On the Methods of Measuring Association Between Two Attributes. Journal of the Royal Statistical Society, 75(6):579-652.
x <- matrix(rbinom(300 * 10, 1, 0.5), ncol = 10) ina <- rep(1:2, each = 150) res<-col.yule( x, ina = ina )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.