Last chance! 50% off unlimited learning
Sale ends in
phi
or polychoric correlations.
Yule2phi and Yule2poly convert the Yule Q with set marginals to the correponding phi or polychoric correlation.Yule(x,Y=FALSE)
Yule.inv(Q,m)
Yule2phi(Q,m)
Yule2poly(Q,m)
phi
, Yule2poly.matrix
, Yule2phi.matrix
Nach <- matrix(c(40,10,20,50),ncol=2,byrow=TRUE)
Yule(Nach)
Yule.inv(.81818,c(50,70,60,60))
Yule2phi(.81818,c(50,70,60,60))
if(require(polycor)) Yule2poly(.81818,c(50,70,60,60))
phi(Nach) #much less
Run the code above in your browser using DataLab