Given the Ego network and its associated attributes table calculate the Blau’s index with respect to Education round to 2 decimal places httpscorexjtlueducnpluginfilephp535211questionquestiontext24448
To calculate Blau's index with respect to Education, we need to first calculate the variance of Education within the ego network and the overall population.
For the ego network:
- Mean Education = (3+3+2)/3 = 2.67
- Variance of Education = [(3-2.67)^2 + (3-2.67)^2 + (2-2.67)^2]/3 = 0.44
For the overall population:
- Mean Education = (3+3+2+4+2+1+3+2+2+3)/10 = 2.4
- Variance of Education = [(3-2.4)^2 + (3-2.4)^2 + (2-2.4)^2 + (4-2.4)^2 + (2-2.4)^2 + (1-2.4)^2 + (3-2.4)^2 + (2-2.4)^2 + (2-2.4)^2 + (3-2.4)^2]/10 = 0.73
Blau's index is then calculated as:
(0.73 - 0.44)/0.73 = 0.4
Rounded to 2 decimal places, the Blau's index with respect to Education is 0.40
原文地址: https://www.cveoy.top/t/topic/drmv 著作权归作者所有。请勿转载和采集!