The entropy weight method step by step, with a worked example and its pitfalls
The entropy weight method step by step: proportions, entropy, diversification and weights, with a worked example and the data choices that distort it.
CKR team · · 9 min read
The entropy weight method derives criteria weights from the data rather than from experts. Each criterion’s values are turned into proportions pᵢⱼ = xᵢⱼ/Σᵢxᵢⱼ, the entropy eⱼ = −(1/ln m)·Σᵢ pᵢⱼ ln pᵢⱼ measures how evenly the alternatives are spread on it, and the weight is proportional to 1 − eⱼ. Criteria on which the alternatives differ most receive the largest weights; a criterion on which all alternatives are equal receives a weight of zero.
The short version
- 01Entropy weights measure how much a criterion discriminates between the alternatives in the data, not how important it is to anyone.
- 02In the laptop example Battery (0.306) and Weight (0.250) get the largest weights and Performance the smallest (0.122), because the laptops differ least on performance.
- 03The weights depend on which alternatives are included: removing one laptop raises Weight’s share from 0.25 to 0.36.
- 04Changing the unit of a criterion leaves its weight unchanged, but changing its zero point does not: measuring weight from 1 kg instead of 0 kg raises its share to 0.74.
- 05Use entropy weights when the study needs weights free of judgement, state that limitation, and consider comparing them with subjective weights.
What does the entropy weight method measure?
The entropy weight method borrows the idea of information entropy from Shannon (1948). In information theory, a source whose outputs are all equally likely carries maximum uncertainty and so tells you little when one occurs; a source with uneven outputs is more informative. Applied to a decision matrix, a criterion on which every alternative scores about the same carries little information for telling the alternatives apart, while one on which they differ a lot carries more. The entropy weight method turns that idea into numbers.
This makes it an objective weighting method: the weights come from the decision matrix itself, with no expert judgement involved. That is its appeal. Studies that cannot recruit an expert panel, or that want to avoid the criticism that the weights reflect the researcher’s preferences, often use entropy weights. It is also its main limitation, which this tutorial shows with numbers: entropy weights describe the spread of the data, not the importance of the criteria. Zou, Yun and Sun (2006) is one of the most cited applications and gives the procedure in the form used here.
- 01ProportionsDivide each value by the total of its column: pᵢⱼ = xᵢⱼ / Σᵢ xᵢⱼ.
- 02Entropy of each criterioneⱼ = −(1/ln m) Σᵢ pᵢⱼ ln pᵢⱼ, between 0 and 1.
- 03Degree of diversificationdⱼ = 1 − eⱼ: how unevenly the alternatives are spread.
- 04Weightswⱼ = dⱼ / Σⱼ dⱼ.
What data does it need?
Only the decision matrix: m alternatives measured on n criteria, all values positive. The direction of each criterion (benefit or cost) does not enter the calculation, because entropy measures spread, and spread is the same whichever way the scale points. The example is five laptops measured on Price, Battery life, a Performance benchmark, Weight and a Screen rating. The same matrix is used in the ELECTRE I tutorial, and the same buyer’s subjective AHP weights are in the consistency-ratio tutorial, which makes a direct comparison possible.
| Laptop | Price ($) | Battery (h) | Performance | Weight (kg) | Screen (1–10) |
|---|---|---|---|---|---|
| A | 900 | 10 | 7200 | 1.4 | 7 |
| B | 1200 | 14 | 8100 | 1.3 | 8 |
| C | 750 | 8 | 6100 | 1.8 | 6 |
| D | 1050 | 12 | 9000 | 1.9 | 9 |
| E | 980 | 9 | 7600 | 1.2 | 7 |
Step 1: how do you compute the proportions?
Divide each value by the total of its column. The proportions in each column then sum to 1 and can be read as the share of that criterion’s total held by each alternative. For Price the column total is 4,880 dollars, so laptop A’s proportion is 900/4,880 = 0.1844.
| Laptop | Price | Battery | Performance | Weight | Screen |
|---|---|---|---|---|---|
| A | 0.1844 | 0.1887 | 0.1895 | 0.1842 | 0.1892 |
| B | 0.2459 | 0.2642 | 0.2132 | 0.1711 | 0.2162 |
| C | 0.1537 | 0.1509 | 0.1605 | 0.2368 | 0.1622 |
| D | 0.2152 | 0.2264 | 0.2368 | 0.2500 | 0.2432 |
| E | 0.2008 | 0.1698 | 0.2000 | 0.1579 | 0.1892 |
Note. With five alternatives, a perfectly even criterion would have every proportion equal to 0.2.
Step 2: how do you compute the entropy?
For Price, the five products pᵢⱼ ln pᵢⱼ are −0.3118, −0.3450, −0.2878, −0.3306 and −0.3224, summing to −1.5975. With m = 5, 1/ln 5 = 0.6213, so the entropy of Price is 0.6213 × 1.5975 = 0.9926. Every criterion’s entropy is close to 1, because none of the five laptops is extremely different from the others on any criterion. This is typical: entropy values between 0.95 and 1 are common, and the weights depend on small differences between them.
Step 3: how do you get the weights?
The degree of diversification dⱼ = 1 − eⱼ measures how far each criterion is from perfect evenness. The weights are the diversifications normalised to sum to 1.
| Criterion | Entropy eⱼ | Diversification dⱼ | Weight wⱼ | Coefficient of variation |
|---|---|---|---|---|
| Battery | 0.98738 | 0.01262 | 0.3061 | 0.203 |
| Weight | 0.98968 | 0.01032 | 0.2503 | 0.183 |
| Price | 0.99259 | 0.00741 | 0.1796 | 0.154 |
| Screen | 0.99414 | 0.00586 | 0.1421 | 0.138 |
| Performance | 0.99497 | 0.00503 | 0.1219 | 0.127 |
Note. The coefficient of variation (standard deviation divided by mean) is shown for comparison: the entropy weights follow the same order.
Show the data
| Criterion | Weight |
|---|---|
| Battery | 0.3061 |
| Weight | 0.2503 |
| Price | 0.1796 |
| Screen | 0.1421 |
| Performance | 0.1219 |
Battery life varies most across the laptops, from 8 to 14 hours, and receives the largest weight. Performance varies least relative to its level, and receives the smallest. The order of the weights is the order of the coefficients of variation, which is a useful check: entropy weighting is, in effect, a measure of relative spread.
Notice how small differences in entropy become large differences in weight. The five entropies lie between 0.987 and 0.995, a range of less than one per cent, yet the largest weight is two and a half times the smallest. The weights are built from 1 − e, and those diversifications range from 0.005 to 0.013. This amplification is why entropy weights react strongly to small changes in the data, as the next sections show.
How do entropy weights compare with expert weights?
The same buyer, asked to compare the five criteria in pairs with AHP, gave Performance the largest weight by a wide margin. The entropy method gives it the smallest.
| Criterion | Entropy (from the data) | AHP (from the buyer) |
|---|---|---|
| Battery | 0.3061 | 0.1424 |
| Weight | 0.2503 | 0.0620 |
| Price | 0.1796 | 0.2998 |
| Screen | 0.1421 | 0.0823 |
| Performance | 0.1219 | 0.4134 |
Neither set is wrong; they answer different questions. AHP asks what matters to the decision-maker. Entropy asks which criteria separate these particular alternatives. A criterion can be important and yet barely discriminate, because every shortlisted laptop is already good on it. That is plausibly the case here: the buyer cares most about performance, but all five laptops perform reasonably well.
Does the choice change the ranking?
It does. Ranking the five laptops with TOPSIS under each set of weights gives two different winners. With the entropy weights, laptop B is first by a clear margin (closeness 0.699), followed by D (0.499), A (0.471), E (0.452) and C (0.285). With the buyer’s AHP weights, D is first (0.638), followed by B (0.486), A (0.484), E (0.470) and C (0.432). B wins under entropy because it leads on Battery and is light, the two criteria the data weight most; D wins under AHP because it leads on Performance, the criterion the buyer weights most.
| Laptop | Entropy weights | Rank | AHP weights | Rank |
|---|---|---|---|---|
| A | 0.4713 | 3 | 0.4839 | 3 |
| B | 0.6994 | 1 | 0.4862 | 2 |
| C | 0.2854 | 5 | 0.4316 | 5 |
| D | 0.4994 | 2 | 0.6382 | 1 |
| E | 0.4524 | 4 | 0.4698 | 4 |
The bottom three places are the same under both, so the disagreement is confined to the choice between B and D. A study that reports only one weighting would present its winner as the answer; reporting both shows that the choice rests on whether the decision should follow the buyer’s priorities or the spread of the shortlist.
What can distort entropy weights?
Because the weights come entirely from the data, choices about the data change them. Three checks on the laptop example show how much.
Which alternatives are included
Removing laptop C, the cheapest and weakest, and recomputing gives Weight 0.360, Battery 0.316, Price 0.124, Screen 0.123 and Performance 0.077. Weight overtakes Battery, and Price’s share falls by almost a third. Nothing about the importance of the criteria changed; only the shortlist did. Entropy weights must therefore always be reported with the set of alternatives they were computed from, and they cannot be transferred to a different set.
The unit of measurement
Expressing Price in thousands of dollars instead of dollars leaves every weight unchanged, because multiplying a column by a constant does not change its proportions. This is reassuring: the method does not depend on whether you record prices in rupees or dollars.
The zero point of the scale
Shifting a scale is a different matter. If laptop weight is recorded as grams above 1 kg (400, 300, 800, 900 and 200) instead of kilograms, the information is the same but the proportions are not, and the weight of that criterion jumps to 0.745, leaving less than 0.26 for the other four together. The entropy method assumes ratio-scale data with a true zero. Criteria measured on interval scales, such as temperatures in Celsius or scores that have been centred, should not be fed into it without a transformation that is reported and justified.
- Weight criterion, original data
- 0.250
- Same criterion with laptop C removed
- 0.360
- Same criterion measured from 1 kg
- 0.745
Two further points complete the list. A criterion on which every alternative has the same value has entropy 1 and a weight of exactly 0: setting every Screen rating to 7 removes Screen from the decision. And values of zero or below need care, because the logarithm is undefined; some studies add a small constant, which itself changes the weights and must be reported.
When should you use entropy weights?
Use them when the research design calls for weights that do not depend on anyone’s judgement, when the data are on ratio scales, and when the set of alternatives is fixed. They are common in rankings of regions, firms or projects from published statistics, where there is no natural decision-maker. They are a poor choice when the criteria differ greatly in importance for reasons the data cannot show, or when the alternatives are a small, already filtered shortlist. In the second case CRITIC, which also uses correlations between criteria, or a subjective method such as AHP or the Best-Worst Method may be more defensible.
Which mistakes are common?
- Describing entropy weights as the importance of the criteria. They measure discrimination in the data.
- Normalising by a benefit/cost transformation before computing proportions, which changes the spread and is not part of the method.
- Including interval-scale or centred data without comment.
- Reusing weights from one set of alternatives for another set.
- Reporting the weights without the entropy values, so readers cannot see how close they were to 1.
How do you report the entropy weight method?
Report the decision matrix, the formula used (cite Shannon, 1948, for entropy and an application such as Zou et al., 2006, for the weighting procedure), the entropy, diversification and weight of every criterion, and any transformation applied to the data. For the example: “Entropy weights ranged from 0.122 (Performance) to 0.306 (Battery); all entropies exceeded 0.987, indicating modest differences between the laptops on every criterion.” In CKR the proportions, entropies and weights are reported in tables, and the weights can be sent directly to any ranking method, such as TOPSIS, and compared with the subjective weights from a panel.
Questions people ask
Does the entropy method need to know which criteria are costs?
No. Entropy depends only on how evenly the values are spread, which is the same whichever direction is better. The direction matters later, in the ranking method.
Why are all the entropy values so close to 1?
Because the alternatives are rarely extremely different. With five alternatives an entropy of 0.99 still allows clear differences in weight, since the weights depend on 1 − e.
Can the entropy method handle negative values?
Not directly; proportions and logarithms need positive values. A shift that makes values positive changes the weights, so it must be justified and reported.
Is the entropy method the same as Shannon entropy?
It uses Shannon’s formula, scaled by 1/ln m so that the result lies between 0 and 1, applied to each criterion’s proportions.
How many alternatives does it need?
There is no formal minimum, but with very few alternatives the weights are unstable, as removing a single laptop showed. Ten or more gives more stable weights.
References
Shannon, C. E. (1948). A mathematical theory of communication. Bell System Technical Journal, 27(3), 379–423. https://doi.org/10.1002/j.1538-7305.1948.tb01338.x
Zou, Z., Yun, Y., & Sun, J. (2006). Entropy method for determination of weight of evaluating indicators in fuzzy synthetic evaluation for water quality assessment. Journal of Environmental Sciences, 18(5), 1020–1023. https://doi.org/10.1016/S1001-0742(06)60032-6
Saaty, T. L. (1977). A scaling method for priorities in hierarchical structures. Journal of Mathematical Psychology, 15(3), 234–281. https://doi.org/10.1016/0022-2496(77)90033-5
CKR team · Chakaralaya Analytics
How this was checked. Proportions, entropies, diversifications and weights were computed with CKR’s entropy method, as were the three variants (laptop C removed, price in thousands, weight measured from 1 kg) and the constant-column case. Coefficients of variation were computed from the same matrix. References were checked against Crossref.