Last chance! 50% off unlimited learning
Sale ends in
phi(t, digits = 2)
For a very useful discussion of various measures of association given a 2 x 2 table, and why one should probably prefer the Yule
coefficient, see Warren (2008).
Given a two x two table of counts
phi2poly
,Yule
, Yule2phi
phi(c(30,20,20,30))
phi(c(40,10,10,40))
x <- matrix(c(40,5,20,20),ncol=2)
phi(x)
Run the code above in your browser using DataLab