Goodman and Kruskall's gamma as an effect size. Yule's Q is a special case where coef1 and coef2 both have two coefficients, and is a symmetric effect size for the interaction of two experimental factors.

effect_gamma(coef1, coef2)

Arguments

coef1

Column numbers in the design matrix for the first condition, in some meaningful order.

coef2

Corresponding column numbers for the second condition.

Value

An object defining how to calculate an effect size.

Details

effect_gamma_log2 is adapted to work with log2 scaled coefficients. This is almost certainly the version you want.