Sub topic 11
Measuring diversification with segment shares and an entropy index
This chapter assumes you know what a revenue segment is and can tell business-level strategy from corporate-level strategy. It also assumes you have met the labels "related" and "unrelated" diversification from earlier chapters. You do not need statistics beyond a logarithm and a sum.
Why measure at all
Calling a firm "diversified" is vague. Two firms that both operate in four industries can differ a lot: one earns 90% of its revenue from a core product, the other splits revenue almost evenly. Researchers and analysts need a number to do three things:
- Compare firms in a sample.
- Track one firm over time.
- Test whether more diversification goes with higher or lower performance, which is the question behind the diversification discount.
Every measure in this chapter starts from the same raw material: the segment share, which is the fraction of total revenue that comes from each business segment. Shares are positive and sum to 1. Public companies in many countries report segment revenue in their annual filings, so this data is easy to get. That is why these measures dominate empirical work.
Three measures from the same shares
Specialization ratio
The specialization ratio is the share of the largest segment. A value near 1 means the firm is focused, and lower values mean it is more spread out. Some studies also use the "related ratio", the share of revenue in the largest group of related segments. Both are easy to read but ignore everything except one share.
Herfindahl-based index
The Herfindahl index is the sum of squared shares. Economists use it to measure market concentration, and it works here with firms in place of competitors. It is high when one segment dominates. Subtracting it from 1 gives a diversification score: 0 for a single-segment firm, rising toward 1 as shares equalize across many segments.
Entropy index
The entropy index weights each segment's share by the logarithm of its inverse share:
E = sum of s × ln(1/s), taken over all segments
A small segment has a large ln(1/s), but it is multiplied by a small share. The index treats the number of segments and their evenness together. A single-segment firm scores 0. For N segments the maximum is ln(N), reached when all shares are equal.
Worked example
The first program computes all three measures for two firms.
import math
def diversification_indices(shares):
"""shares: revenue share of each business segment; must sum to 1."""
if abs(sum(shares) - 1.0) > 1e-9:
raise ValueError("shares must sum to 1")
shares = [s for s in shares if s > 0]
herfindahl = sum(s * s for s in shares)
return {
"specialization_ratio": max(shares),
"herfindahl_diversification": 1 - herfindahl,
"entropy": sum(s * math.log(1 / s) for s in shares),
}
focused = [0.9, 0.05, 0.05]
broad = [0.4, 0.3, 0.2, 0.1]
print(diversification_indices(focused))
print(diversification_indices(broad))The values, rounded:
| Firm | Shares | Specialization ratio | 1 − Herfindahl | Entropy |
|---|---|---|---|---|
| Focused | 0.90, 0.05, 0.05 | 0.90 | 0.185 | 0.394 |
| Broad | 0.40, 0.30, 0.20, 0.10 | 0.40 | 0.700 | 1.280 |
The focused firm has three segments on paper, but 90% of its revenue sits in one. All three measures agree that it is much less diversified than the broad firm. Note the direction: a high specialization ratio means low diversification, while the other two rise with diversification. Mixing these up is the most common reading error.
The maximum entropy for four segments is ln(4) ≈ 1.386. The broad firm's 1.280 is close to that, so it is nearly as spread out as four segments allow.
How the measures behave
The three measures usually rank firms the same way, but they differ at the edges.
- Count sensitivity. Entropy rises when you add a tiny new segment, because ln(1/s) is large for small s. 1 − Herfindahl barely moves. If your data has many trivial segments, entropy may overstate how diversified the firm really is.
- Ceiling. 1 − Herfindahl is capped below 1 and rises slowly once there are many segments. Entropy has no fixed cap, because it grows with ln(N).
- Information used. The specialization ratio ignores every segment but the largest. Two firms with the same top share can have very different tails.
No measure is correct in itself. Choose the one that matches the question, and report a second measure as a robustness check.
Measuring relatedness
The three measures above count segments but say nothing about whether the segments are related. Two firms with identical shares score the same even if one holds four food businesses and the other holds food, software, shipping and banking. To separate related from unrelated diversification, you need a classification of segments into groups. The usual choice is an industry classification code such as SIC or NAICS, where segments sharing a broad code (for example the same 2-digit group) count as related.
The simplest relatedness measure is the share of revenue inside the core business's industry group:
def relatedness_share(segments, core_group):
"""segments: dict of segment name -> (revenue share, industry group).
Returns the share of revenue that sits in the same industry group as the core business."""
return sum(share for share, group in segments.values() if group == core_group)
firm = {
"snacks": (0.5, "food"),
"beverages": (0.3, "food"),
"software": (0.2, "technology"),
}
print(relatedness_share(firm, "food"))This prints about 0.8, so 80% of the firm's revenue is in the core food group.
Decomposing entropy into related and unrelated parts
A well-known refinement splits total entropy into two additive pieces:
- Unrelated entropy (UT) is the entropy computed on industry group shares. It captures spread across different groups.
- Related entropy (RT) is the weighted average entropy of segments within each group. It captures spread inside a group.
- Total entropy (DT) equals UT + RT.
The code below computes all three for the same firm. It reuses the segment dictionary format from above.
import math
from collections import defaultdict
def entropy_decomposition(segments):
"""segments: dict of name -> (revenue share, industry group); shares sum to 1."""
if abs(sum(s for s, _ in segments.values()) - 1.0) > 1e-9:
raise ValueError("shares must sum to 1")
group_share = defaultdict(float)
for share, group in segments.values():
group_share[group] += share
total = sum(s * math.log(1 / s) for s, _ in segments.values() if s > 0)
unrelated = sum(p * math.log(1 / p) for p in group_share.values() if p > 0)
related = 0.0
for share, group in segments.values():
if share > 0:
related += share * math.log(group_share[group] / share)
return {"total": total, "unrelated": unrelated, "related": related}
firm = {
"snacks": (0.5, "food"),
"beverages": (0.3, "food"),
"software": (0.2, "technology"),
}
print(entropy_decomposition(firm))The output is approximately total 1.030, unrelated 0.500, related 0.529. Total equals unrelated plus related. The software segment is alone in its group, so it adds nothing to related entropy. All of the related part comes from splitting food into snacks and beverages.
Common errors
- Shares that do not sum to 1. Segment revenue often includes intersegment sales or a "corporate and other" line. Decide how to treat these and rescale before computing. The code rejects bad input on purpose.
- Direction mix-ups. Report whether a higher number means more or less diversification.
- Treating the classification as truth. Whether two segments are "related" depends on the code level. At 2-digit SIC, chemicals and pharmaceuticals may fall in different groups, though they share research skills. At 4-digit, almost everything looks unrelated. Results change with this choice, so state it.
- Using segment reports as exact business units. Firms choose how to aggregate segments, and reporting rules change. A firm can appear to diversify or focus without any real change in what it does.
- Reading a score as a verdict. A high entropy score does not tell you the firm is badly run. It says nothing about whether shared resources or good capital allocation exist. For that you need the economies-of-scope and parenting-advantage logic from earlier chapters.
Using the measures in practice
A sensible workflow:
- Collect segment revenue for several years and clean it (remove eliminations, rescale to 1).
- Compute the specialization ratio and entropy to describe breadth.
- Assign groups at a stated code level and compute the relatedness share and the UT/RT split.
- Look at the trend. A rising UT with flat RT suggests the firm is moving into unrelated areas. A rising RT with flat UT suggests it is deepening within groups.
- Link the findings to the questions in the final chapter on choosing an approach.
Exercise
A firm has two segments with equal revenue shares of 0.5 each, and both belong to the same industry group. Compute its total entropy, unrelated entropy and related entropy. What does the result say?
Show answer
Total entropy = 2 × 0.5 × ln(2) ≈ 0.693. There is one group with share 1, so unrelated entropy = 1 × ln(1) = 0. Related entropy = total − unrelated ≈ 0.693. All of the firm's diversification is inside one industry group, so by this measure it is purely related diversification.
Exercise
Firm A has shares [0.7, 0.2, 0.1]. Firm B has shares [0.7, 0.1, 0.1, 0.05, 0.05]. Both have the same specialization ratio. Which measure would most clearly separate them, and in which direction?
Show answer
Entropy separates them most. Firm B has two extra small segments, and each adds a large ln(1/s) term, so B's entropy is higher than A's. The specialization ratio is identical at 0.70, and 1 − Herfindahl changes only slightly, because small shares contribute little to the sum of squares.