Computing Assortativity Coefficients on a Social Network Dataset | by Gabriele Albini | Nov, 2022
Assortativity helps analysing pattern of connections in networks. Let’s use it to confirm if people tend to connect to similar people.Photo by fabio on UnsplashIn this article we will use some Facebook data to explore the concept of network assortativity (also called as homophily), which we define as the tendency of nodes to connect to their similar.Networks or Graphs are data representation consisting in nodes (vertices) and edges (links): in this article we will consider only undirected and unweighted edges. We will…