Last chance! 50% off unlimited learning
Sale ends in
Some older correlation matrices were reported as matrices of Phi or of Yule correlations. That is, correlations were found from the two by two table of counts:
Given a square matrix of such correlations, and the proportions for each variable that are in the a + b cells, it is possible to reconvert each correlation into a two by two table and then estimate the corresponding polychoric correlation (using John Fox's polychor function.
Yule2poly.matrix(x, v)
phi2poly.matrix(x, v)
Yule2phi.matrix(x, v)
Yule2poly
, Yule2phi
or phi2poly
for each cell of the matrix. See those functions for more details. See phi.demo
for an example.round(phi.demo() ,2) #compare the phi (lower off diagonal and polychoric correlations (upper off diagonal)
Run the code above in your browser using DataLab