xPx, which
controls for the effect of total population structure. Using
the approximate version of xPx, the adjusted index is equal
to Eta2 (the square of the correlation ratio) which, in the
case of the binomial variable, is identical to the square of
the mean square contingency coefficient phi. It can be used
as a segregation score and varies from 0 (minimum segregation)
to 1 (maximum segregation).
Eta2(x)Duncan O. D. and Duncan B. (1955) Residential Distribution and Occupational Stratification.. American Journal of Sociology 60 (5), pp. 493-503
xPx, DPxxx <- segdata@data[ ,1:2]
Eta2(x)
Run the code above in your browser using DataLab