26 Ego Network Metrics
26.1 Ego Graphs
Consider Figure 7.1 again. If we solved the boundary specification problem, then this could be considered an example of a whole network. All the relevant actors and social ties are included. However, sometimes, we do not have that information. Instead, what we have is network data collected from your perspective. For instance, let us say that instead of collecting information on all the actors depicted in Figure 7.1, we only interviewed actor D and asked them to name the people they spend time with and to tell us about the relationships among those people.
In that case, we would have ended up with a graph that looks like Figure 26.1. This is called a simple ego graph. Ego graphs are also referred to as centered graphs (Freeman 1982), because they are graphs that are centered around a focal node, namely, you (the ego). The reason we call it “simple” is that the ego graph, just like the overall graph of which it is a subgraph, contains only undirected, binary (present or absent) edges, and no loops (self-edges), which are the conditions that define simple graphs (see Chapter 6).
1 The mathematical symbol for subset is \(\subset\).
Note that in the ego graph shown as Figure 26.1, all nodes are a subset of the original graph, and all edges are also a subset of the original graph shown in Figure 7.1. So if \(G_D\) if node D’s ego graph, and \(G\) is the original undirected graph, then \(G_D = (E_D, V_D)\), \(E_D \subset E\) and \(V_D \subset V\).1
26.2 Ego Networks
Ego graphs are useful for representing egocentric networks—often shortened to just ego networks or even ego nets—also called personal networks. These are a particular type of network that represents a set of social relations from the perspective of a focal person (you).
In a point and line graph of an ego network, you sit at the center and get the Latin word for “self,” namely ego. Your contacts surround you and get the Latin word for “others,” namely alters. Ego networks also record the relationships among those alters, as you see them.
In Figure 26.1, D is the ego, shown in tan at the center. The alters are A, B, C, E, and F, shown in red as satellites orbiting ego.
Figure 26.1 also shows the two kinds of edge we need to keep separate. The ego-to-alter edges, in blue, run from ego to each alter. These are obligatory, since every alter by definition has a tie to ego, so five alters means five ego-to-alter edges, and here they are, \(\{DA, DB, DC, DE, DF\}\).
The alter-to-alter edges, in purple, join alters to one another without running through ego. Unlike ego-to-alter edges, these are optional. Ego is necessarily tied to each alter, but two alters may or may not know each other. Here there are five alter-to-alter edges, \(\{AC, AB, AE, BC, CE\}\), and clearly not every possible pair is present, since B and F are a null (disconnected) dyad, and so are E and F. Later in the lesson we show you how to work out the maximum number of such ties, so you can compare the ones you observe against what you might have seen (hint: the formula for graph density).
For example, if you were to ask someone to name their friends (or any other type of alter), they will tell you who their friends are. They could even tell you whether two of their friends know one another or not. However, they typically will not be able to tell you about the entirety of each of their alters’ networks (e.g., every person known by their alters and the connections between these others). Thus, while in Figure 7.1, we have a graph of the whole network, in the ego-network case, such as Figure 26.1, we are only getting a small part of the overall social network, centered on a single person.2
2 Reminder: Smaller clumps of a larger social network are also known as subgraphs
26.3 What Ego Networks Tell Us
While it might seem like we are unable to do much with ego-networks, that is definitely not the case! While having data on only one person’s ego would not tell scholars much, when we have tens, hundreds, or thousands of ego-networks we are able to analyze systematic differences in the ways different types of people structure their social worlds (Marsden 1987), or, as is more likely from a sociological perspective, have it structured for them by social forces beyond their direct control.
For example, if all the students in the class fill out ego-networks of their friends and family, could we find that certain types of people have more friends? Do people with more family members have more friends, or fewer? Are the friends of some people more likely to be friends with one another? Do some people have all women or all people of the same race or ethnicity in their ego-networks?
These are empirical questions that, when scholars creatively compare egocentric networks, we can potentially answer. Research does not have to rely on a single type of relationship when collecting network data, and this would be one such case, since combining egocentric networks of both friendship and family ties into a single personal network of emotional support or another socially meaningful exchange.
Once we have collected ego network data using the standard battery of name generators and name interpreters, we may be interested in computing metrics that characterize each personal (ego) network in terms of specific ego network properties of interest. There are five pieces of information we need to compute all the relevant ego network properties.
- The number of ego-to-alter ties
- The number of alters
- The number of alter-to-alter ties
- Sociodemographic characteristics of ego (e.g., age, gender identity, racial identity, etc.)
- Sociodemographic characteristics of alter (e.g., age, gender identity, racial identity, etc.).
With that information in hand, there are five main types of ego-network property we might care about.
- Size: Total number of ego-alter ties
- Effective size: Size net of redundant alter-to-alter ties
- Diversity: Variation in alter attributes
- Homogeneity: Ties to alter same/different from ego
- Composition: Proportion of certain types of alter ties
- Clustering: Density of alter-to-alter network
Table tbl-ego-net-props lists each ego-network property with a brief definition and indicates the type of information we need to compute each.
| Ego-alter ties | Alter-Alter Ties | Ego Attributes | Alter Attributes | |
|---|---|---|---|---|
| Size | X | |||
| Effective size | X | X | ||
| Homogeneity | X | X | X | |
| Diversity | X | |||
| Composition | X | |||
| Clustering | X |
26.3.1 Ego Graph Notation
In what follows, we will abide by the following notational conventions:
- We will refer to the ego node as \(Ego\).
- We will refer to the set of ego-to-alter edges as \(E_{ea}\).
- We will refer to the set of alter-to-alter edges as \(E_{aa}\).
- We will refer to the set of alter nodes as \(N(Ego)\), which can be read as “ego’s neighborhood.”
26.4 Ego Network Size
The size (\(S(ego)\)) of the ego network is the simplest metric we can compute. It is given by a count of the ego-to-alter ties (\(E_{ij}\)). Note that in this case, ego-network-size is equivalent to the number of neighbors (\(N(Ego)\)) ego has in the ego graph, which is also the degree of the ego node (\(k^{Ego}\)) in the larger graph. Thus, for ego networks, size and degree are the same metric, and are given either by the cardinality of the set of ego’s neighbors:
\[ S(Ego) = |N(ego)| \tag{26.1}\]
Or the cardinality of the ego-to-alter edge set:
\[ S(Ego) = |E_{ea}| \tag{26.2}\]
Thus, in the example shown in Figure 26.1:
\[ S(Ego) = |N(Ego)| = |\{A, B, C, E, F\}| = 5 \]
Or equivalently:
\[ S(Ego) = |E_{ea}| = |\{DA, DB, DC, DE, DF\}| = 5 \]
26.5 Ego Network Effective Size
Size treats every alter as if it buys you something new. They do not. When two of your friends know each other, they tend to reach the same people and carry the same news, so the second friend adds less than the first one did. Effective size is size with that redundancy taken out. We get it by subtracting the average degree of the alter-to-alter subgraph, that is, the average number of alters each alter is connected to.
\[ ES(Ego) = S(Ego) - \frac{2m}{n} \tag{26.3}\]
where \(m\) is the number of alter-to-alter ties and \(n\) is the number of alters. Each alter loses a slice of its contribution in proportion to how tightly the alters around it are bound up with one another.
Figure 26.1 makes this concrete. Ego there has \(S = 5\) alters, and the alter-to-alter set \(\{AC, AB, AE, BC, CE\}\) gives \(m = 5\):
\[ ES(Ego) = 5 - \frac{2 \times 5}{5} = 5 - 2 = 3 \]
Ego names five people, but only three of them bring something the others do not, because the alters here are fairly well connected to one another.
The two extremes are worth holding in mind. If no two alters know each other (\(m = 0\)), ego’s network is a pure star, nothing is redundant, and \(ES\) equals \(S\). If every alter knows every other alter (\(m = \binom{5}{2} = 10\)), the whole circle behaves like a single contact and \(ES\) falls to \(ES = 5 - 10 = 1\). Real ego networks sit in between, and where a network lands tells you how much fresh reach each alter actually buys.
26.6 Ego Network Composition
Composition shifts from how many alters you have to who they are. A composition measure is the share of alters who fall into some socially meaningful category.
\[ Prop(C) = \frac{\text{number of alters in category } C}{S(Ego)} \tag{26.4}\]
Kin versus non-kin is the classic choice, but the category could just as easily be friends, neighbors, co-workers, or any sociodemographic grouping such as gender or race. Take Figure 26.1 and suppose A, C, and F are kin of ego while B and E are friends.
\[ Prop(Kin) = \frac{3}{5} = 0.60 \]
Three-fifths of ego’s contacts are family, so this is a kin-heavy personal network, and the friend share is simply the remainder, \(0.40\). Composition is the raw material for the homophily measures that follow, which ask not just what proportion of alters fall in a category but whether those alters match ego’s own position.
26.7 Ego Network Homophily
Sometimes the question is not who your alters are but whether they resemble you. This is homogeneity, and it asks whether people connect to others like themselves or to others who differ. There are endless ways two people can be alike, and sociologists concentrate on the ones that mark social position or social categories, such as gender, racial identification, class, age, occupation, or educational attainment.
Homophily names the tendency for people with similar traits to end up in relationships with each other rather than with people unlike themselves. The word is a simple combination of homo, meaning same, and philia, meaning love or liking, so homophily is literally a love of the same. Many languages have a phrase for the propensity, and English usually reaches for “birds of a feather flock together” (McPherson et al. 2001).
All else equal, people do tend to pair off with similar others, and there are both psychological reasons for this (we like similarity) and sociological ones (our contexts push us toward similar people).
26.8 EI Homophily Index
The EI index is one of the most useful ways to think about homophily in an ego network, and it is easy to compute. It is a relative measure, in that it does not adjust for the population alters are drawn from, which you would need in order to work out an expected rate. Researchers often find plenty to say without that baseline.
The index captures in-group versus out-group preference. Subtract the internal ties from the external ties and divide by the total. The measure uses ego-to-alter ties together with the characteristics of both ego and alter.
\[ EI=\frac{External-Internal}{External+Internal} \tag{26.5}\]
An EI of \(-1\) means complete homophily, since every tie runs to someone of ego’s own “type.” An EI of \(+1\) means complete heterophily, with every alter of a different type. A score of zero means ego’s alters split evenly between the two.
To compute an EI score we first have to settle on a dimension of homophily, and that choice follows from the research question. Suppose we care about gender identification and friendship. We might ask whether the friendship networks of high schoolers have changed over time, and with data from forty years ago we could compare them with the friendships of students today.
Figure 26.2 classifies the alters of an ego network by gender identification, with men in green, women in orange, and nonbinary people in blue. Ego here identifies as a man, and he has four alters who also identify as men, two who identify as women, and one nonbinary alter. The four ties running to people in his own category are internal ties, shown in teal. The three ties running to people outside it are external ties, shown in red.
Given this information, the EI index for the ego in Figure 26.2 can be computed as:
\[ EI=\frac{External-Internal}{External+Internal}=\frac{3-4}{3+4}=\frac{-1}{7}=-0.14 \]
An EI just below zero means a slight preference for alters of similar gender identity. The score runs from \(-1\) to \(+1\). Values below zero signal homophily, values above zero signal a pull toward dissimilar others, which has its own Latin name, heterophily, and values near zero describe a network balanced between the two.
26.9 Ego Network Diversity
We may be interested in how diverse ego’s contacts are. Do they all belong to the same social group, or is the ego connected to a wide range of contacts? Note that the only piece of information we need here concerns the characteristics of the ego’s contacts. We do not need to know anything about ego to know how diverse their networks are. So the connection between diversity and ego’s characteristics is empirical rather than definitional.3
3 For instance, we can ask: Do women have more diverse ego networks than men? Do Hispanics have more diverse ego networks than white people?
The most popular measure of diversity for ego networks is Blau’s heterogeneity index (\(H\)). It is one minus the sum of the squared shares of ego’s alters in each group.
\[ H = 1-\sum_{k}p_k^{2} \tag{26.6}\]
Unlike in the EI homophily index, ego’s own group membership does not matter. A woman with only men friends would have an H-index of 0, just as a woman with only female friends would also have an H-index of 0. An H-index of zero simply means that there is no diversity in the types of friends the ego has. Conversely, an H-index score approaching 1 implies greater heterogeneity, or diversity, in an ego’s network relations. For instance, someone with an equal number of male and female friends would have an H-index of 0.5 with respect to gender diversity, and a woman with one-third women friends, one-third men friends, and one-third nonbinary friends would have an H-index of about 0.67, the maximum for three categories.
Diversity only means something once you fix a characteristic. An ego network can be homogeneous with respect to race, where every alter is of the same race, and quite diverse with respect to education, where ego’s contacts span a wide range of schooling. There is no such thing as a “diverse” ego network in general, or a non-diverse one, since you always have to say which social characteristic you mean. Diversity with respect to gender identification is a different quantity from diversity with respect to the racial identity of alters.
Take gender identification in Figure 26.2. Ego’s alters fall into three groups, men, women, and nonbinary, so Equation 26.6 asks us to sum the squared shares of those three.
\[ H = 1- (p^2_{men} + p^2_{women} + p^2_{nonbinary}) \]
Four of ego’s seven alters are men, so \(p_{men} = 4/7\), and the other two shares follow the same way, \(p_{women} = 2/7\) and \(p_{nonbinary} = 1/7\). Writing all three out gives:
\[ \begin{split} H &= 1- \left(\left[\frac{4}{7}\right]^2_{men} + \left[\frac{2}{7}\right]^2_{women} + \left[\frac{1}{7}\right]^2_{nonbinary}\right) \\ H &= 1- (0.57^2+ 0.28^2 + 0.14^2) \\ H &= 1- (0.33+ 0.08 + 0.02) \\ H &= 1 - 0.43 \\ H &= 0.57 \end{split} \]
What does an \(H\) of 0.57 mean? The usual answer comes from comparing it with the extremes. If ego’s contacts were all of the same gender identification there would be no diversity, and \(H\) would take its minimum value of zero. A score well above zero means considerable gender diversity in this ego network.
\(H\) climbs toward 1 as a person’s ego network becomes more diverse, and it hits its ceiling when the groups are equally represented. A maximally diverse ego network with respect to gender identity would have equal numbers of men, women, and nonbinary people, so an ego with six friends would need two of each.
Technically, the maximum H is given by (Solanas et al. 2012):
\[ H_{max} = 1 - \frac{1}{k} \tag{26.7}\]
Here \(k\) is the number of categories on the dimension we are considering. Gender identification gives \(k = 3\), while other dimensions such as race or education will usually have more categories and therefore a higher ceiling.
Is 0.57 large? Compare it with the maximum for three categories.
\[ H_{max} = 1 - \frac{1}{3} = 1 - 0.33 = 0.67 \]
Dividing the observed \(H\) by that ceiling shows how close ego comes to a maximally diverse network, \(\frac{H}{H_{max}} = \frac{0.57}{0.67} = 0.85\). Ego’s gender diversity is thus 85 percent of what is possible, a diverse network with a little room left to grow.
26.10 Clustering Coefficient
By definition, everyone knows the ego, but to what extent do someone’s friends know each other? For ego-networks, the tendency of the ego’s friends to be friends with one another is called clustering, and this ego network property is measured via the clustering coefficient (\(CC\)). Consider Figure 26.1, again. In that ego graph, we can see that some of the ego’s alters know each other, but others do not.
The \(CC\) is calculated by computing the density of the subgraph among alters that remains when ego and the edges that are incident on ego (e.g., the ego-to-alter edges) are removed. This can range from zero (none of ego’s alters are connected to one another) to one (all of ego’s alters are friends with each other) or some fraction in between (for instance, a CC of 0.5 means that 50% of the total possible number of relationships between ego’s alters are present).
Since we already know how to compute the density of undirected graphs (see the lesson on graph metrics), we know that the clustering coefficient for an ego network can be obtained using this formula:
\[ CC_i = \frac{2m}{n(n-1)} \tag{26.8}\]
Here \(n\) is the size of the ego network (the number of alters) and \(m\) is the number of alter-to-alter edges among the alters surrounding ego. As noted, the calculation ignores ego and the ego-to-alter edges.
Figure 26.1 has \(n = 5\) alters and \(m = 5\) alter-to-alter edges, which we plug into Equation 26.8 to get:
\[ CC_i = \frac{2m}{n(n-1)}=\frac{2 \times 5}{5 \times (5-1)}=\frac{10}{5 \times 4} = \frac{10}{20}=\frac{1}{2}=0.50 \]
A clustering coefficient of \(0.50\) means half of all possible ties among ego’s alters exist. Put differently, if you picked two of ego’s alters at random, the chance they form a connected dyad is \(p = 0.50\). Once we have several egos, we can compare their personal networks and build theories about how the social world works.