WOLFRAM LANGUAGE FEATURED EXAMPLE

Homophily and Assortativity Mixing

Homophily in a network according to scalar characteristics (connectivity degree, age, income, ) or enumerative characteristics (race, gender, ) can be measured easily in the Wolfram Language.

    
A friendship network at a high school with vertices color coded by race:
In[1]:=
Click for copyable input
Highly social students are friends with other highly social students:
In[2]:=
Click for copyable input
Out[2]=
Measure the tendency for students to associate with others of the same race:
In[3]:=
Click for copyable input
Out[3]=