Measures of Network Segregation and Homophily
Assortativity Coefficient
Coleman's homophily index
Krackhard and Stern's E-I index
Folding square matrices around the diagonal
Generalized Freeman's segregation index
Gupta-Anderson-May measure of within-group mixing
Computing group sizes from square mixing matrices
Network mixing matrix
netseg: Measures of Network Segregation and Homophily
Odds ratio of existence of within-group ties
Segregation Matrix Index
Spectral Segregation Index for Social Networks
Symmetrize square numeric matrix
Segregation is a network-level property such that edges between predefined groups of vertices are relatively less likely. Network homophily is a individual-level tendency to form relations with people who are similar on some attribute (e.g. gender, music taste, social status, etc.). In general homophily leads to segregation, but segregation might arise without homophily. This package implements descriptive indices measuring homophily/segregation. It is a computational companion to Bojanowski & Corten (2014) <doi:10.1016/j.socnet.2014.04.001>.