Eta2 | R Documentation |
The adjusted isolation index is the standardized
version of the isolation index, 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)
x |
an object of class matrix (or which can be coerced to that class), where each column represents the distribution of a group within spatial units. The number of columns should be greater than 1 (at least 2 groups are required). You should not include a column with total population, because this will be interpreted as a group. |
A numeric vector containing the adjusted isolation index values for each group
Bell W. (1954) A probability model for the measurement of ecological segregation. Social Forces 32(4), pp. 357-364
Duncan O. D. and Duncan B. (1955) Residential Distribution and Occupational Stratification.. American Journal of Sociology 60 (5), pp. 493-503
Isolation indices:
xPx
, DPxx
Interaction indices:
xPy
, DPxy
x <- segdata@data[ ,1:2]
Eta2(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.