Multi-Attribute Decision Making Ranks Baseball’s All Time Greatest Hitters

This article was written by William P. Fox

This article was published in the Spring 2020 Baseball Research Journal

Introduction and History

Babe RuthI have taught or co-taught sabermetrics in the mathematics department at the United States Military Academy several times. We covered all the metrics but what always interested me most was the direction student projects took to solve or analyze various issues in baseball. In one of these courses, for example, the group project came up with a new metric for percentage of extra base hits. In reading Bill James and examining all the metrics available to enthusiastic baseball fans, it struck me that every fan has an opinion as to the best or greatest hitter ever in baseball, each using the metric that best suited their choices.

Through basic research, I found many such conclusions:

a. Ted Williams was the greatest hitter ever. 1

b. The top five hitters voted online were Ruth, Cobb, Hornsby, Gehrig, Williams. 2

c. The Britannica chose Ruth, Mays, Bonds, Williams, Aaron.3

d. Baseball’s All Time Greatest Hitters shows how statistics can level the playing field and concludes Tony Gwynn is the best.

Just Google “Greatest Hitters in Baseball All-time” and see the many results. Google found 851,000 results when I tried. Many have similar but slightly different conclusions but one thing that all seemed to have in common was their subjective nature. The basic results of (a)-(d) support that.

If raw home runs were the most important metric, the top five all time would be Barry Bonds (762), Hank Aaron (755), Babe Ruth (714), Alex Rodriguez (696), and Willie Mays (660). If hits, then Pete Rose (4256), Ty Cobb (4189), Hank Aaron (3771), Stan Musial (3630) and Tris Speaker (3514) would be the top five. Only Hank Aaron is in the top 5 in both lists. One article argues that Tony Gwynn was the all-time greatest hitter. In the table below, we present the best in the categories of home runs, extra base hits, RBIs, OBP, SLG and OP just for players who have been inducted into the National Baseball Hall of Fame in Cooperstown. It is easy to see why there are disputes.


Table 1. Leaders for Players in the Hall of Fame

Home RunsExtra Base HitsRBIOBASLGOPS


Table 2. Leaders for All Players

Home RunsExtra Base HitsRBIOBASLGOPS


We could perform this same exercise using newer metrics instead of counting stats, but ultimately the same debate arises. Therefore, in lieu of a single metric, I propose using a multi-attribute decision-making algorithm that allows for the use of many metrics. There is no limit to the number of metrics that might be used in such an analysis. We point out that the metrics chosen for our analysis might not be the metrics chosen by many readers.

In using multi-attribute decision-making (MADM) algorithms, the attributes (in this case the chosen baseball metrics) must have assigned weights where the sum of all weights used must equal one. The MADM algorithms themselves call for weighted metrics. Additionally, there are several weighting algorithms that can be used. Some are subjective and at least one is objective. Subjective weights are, or can be, not much different from just choosing one metric, ordering, and stating the result. However, objective weighting weights allow the data elements themselves to be used in the calculation of the weights. This appears as a more objective method as it allows the user data (as many data metrics as the user desires) to be used to calculate the weights and in a ranking decision-making algorithm. The selection of the players in the analysis, and the choice of metric used, affect the calculation of the weights and in turn the ranking of the players. We choose TOPSIS, the technique of order preference by similarity to the ideal solution, to be our MAMD algorithm because TOPSIS is the only algorithm that allows these attributes (criteria and in our case metrics) to either be selected to be maximized or minimized. For example, home runs could be maximized but perhaps strikeouts, as a metric, should be minimized.

Quantitative analysis is one method that can be used where at least the reader can see the inputs and outputs used for the analysis. The mathematics used and their results are not without fault. However, the assumptions behind the metrics and which players to use or exclude can be questioned and argued just as subjective decisions might be argued among fans. In this article, we suggest a quantitative method—the technique of order performance by similarity to ideal solution (TOPSIS)—and discuss why we think it is has merit to be used in analysis.

1. Multi-attribute Decision Making (MADM)

The two main types of multi-attribute decision methods are (1) simple additive weights (SAW) and (2) the Technique of Order Preference by Similarity to Ideal Solution (TOPSIS). These methods require a normalization process of the data and multiplication by weights found by either subjective methods or entropy. TOPSIS has a clear advantage if any of the attributes (metrics) being used should be minimized instead of maximized. As previously mentioned, home runs should be maximized but strikeouts should be minimized. If all attributes being utilized should be maximized both are adequate for analysis. But if we were using stolen bases (SB) and caught stealing (CS), then we would maximize SB and minimize CS.

The Technique of Order Preference by Similarity to Ideal Solution (TOPSIS)

TOPSIS was the result of research and work done by Ching-Lai Hwang and Kwangsun Yoon in 1981.4 TOPSIS has been used in a wide spectrum of comparisons of alternatives including: item selection from among alternatives, ranking leaders or entities, remote sensing in regions, data mining, and supply chain operations. TOPSIS is chosen over other methods because it orders the feasible alternatives according to their closeness to an ideal solution.5 Its strength over other decision making methods is that with TOPSIS, we can indicate which metric (attributes) should be maximized and which should be minimized. In all other methods, everything is maximized.

TOPSIS is used in many applications across business, industry, and government. Jeffrey Napier provided some analysis of the use of TOPSIS for the Department of Defense in industrial base planning and item selection.6 For years, the military used TOPSIS to rank order the systems’ request from all the branches within the service for the annual budget review process. MADM and TOPSIS are being taught as part of decision analysis.

So why are we using TOPSIS as our MADM method and entropy as our weighting scheme? We are using TOPSIS because in our selected dataset all variables are not “larger is better.” As mentioned, for strikeouts (SO), we’d prefer a smaller value. Entropy weights allows the data themselves to be used mathematically to calculate the weights and is not biased by subjectivity as are the other weighting schemes methods such as pairwise comparison method. Again, if we were using stolen bases (SB) in our analysis then we would like SB to be maximized and caught stealing (CS) minimized.

TOPSIS Methodology

The TOPSIS process is carried out through the following steps.

Step 1

Create an evaluation matrix consisting of m alternatives (players) and n criteria (metrics), with the intersection of each alternative and criterion given as xij, giving us a matrix (Xij) mxn.

Equation 1 (William Fox)Step 2

The matrix shown as D above is then normalized to form the matrix R=(Rij)mxn,

using the normalization method to obtain the entries,

Step 2 (Fox)

for i=1,2…,m; j= 1,2,…n

Step 3

Calculate the weighted normalized decision matrix. First, we need the weights. Weights can come from either the decision maker or by computation using entropy.

Step 3a.

Use either the decision maker’s weights for the attributes x1,x2,..xn , pairwise comparisons method, or the entropy weighting scheme, as we use here.

Step 3A (Fox)

The sum of the weights over all attributes must equal one regardless of the weighting method used.

Step 3b.

Multiply the weights to each of the column entries in the matrix from Step 2 to obtain the matrix, T.

Step 3B (Fox)

Step 4

Determine the worst alternative (Aw) and the best alternative (Ab) : Examine each attribute’s column and select the largest and smallest values appropriately. If the values imply larger is better (profit) then the best alternatives are the largest values and if the values imply smaller is better (such as cost) then the best alternative is the smallest value.

Step 4 (Fox)


J+ = {j = 1,2,…n | j)  associated with the criteria having a positive impact, and

J_ = {j = 1,2,…n | j) associated with the criteria having a negative impact.

We suggest that if possible make all entry values in terms of positive impacts.

Step 5

Calculate the L2-distance between the target alternative i and the worst condition Aw

Step 5a (Fox)

and the distance between the alternative i and the best condition Ab

Step 5b (Fox)

where diw and dib are L2-norm distances from the target alternative i to the worst and best conditions, respectively.

Step 6

Calculate the similarity to the worst condition:

Step 6 (Fox)

Siw=1 if and only if the alternative solution has the worst condition; and

Siw=0 if and only if the alternative solution has the best condition.

Step 7

Rank the alternatives according to their value from Siw (i=1,2,…,m).

Simple Additive Weights (SAW)

SAW is a very straightforward and easily constructed process within MADM methods, also referred to as the weighted sum method.7 SAW is the simplest, and still one of the widest used of the MADM methods. Its simplistic approach makes it easy to use. Depending on the type of the relational data used, we might either want the larger average or the smaller average.

Here, each criterion (attribute) is given a weight, and the sum of all weights must be equal to one. If equally weighted criteria then we merely need to sum the alternative values. Each alternative is assessed with regard to every criterion (attribute). The overall or composite performance score of an alternative is given simply by Equation 1 with m criteria.

Equation 1 (Fox)

It was previously though that all the units in the criteria must be identical units of measure such as dollars, pounds, seconds, etc. A normalization process can make the values unitless. So, we recommend normalizing the data as shown in equation 2:

Equation 2 (Fox)



where (mijNormalized) represents the normalized value of mij, and Pi is the overall or composite score of the alternative Ai. The alternative with the highest value of Pi is considered the best alternative.

The strengths of SAW are (1) the ease of use and (2) the normalized data allow for comparison across many differing criteria. But with SAW, either larger is always better or smaller is always better. There is not the flexibility in this method to state which criterion should be larger or smaller to achieve better performance. This makes gathering useful data of the same relational value scheme (larger or smaller) essential.

Entropy Weighting Scheme

Shannon and Weaver originally proposed the entropy concept.8 This concept had been highlighted by Zeleny for deciding the weights of attributes.9 Entropy is the measure of uncertainty in the information using probability methods. It indicates that a broad distribution represents more uncertainty than does a sharply-peaked distribution. To determine the weights by the entropy method, the normalized decision matrix we call Rij is considered. The equation used is

Equation 1.2 (Fox)

Where k = 1/ln(n) is a constant that guarantees that 0 < ej < 1. The value of n refers to the number of alternatives. The degree of divergence (dj) of the average information contained by each attribute is calculated as:


The more divergent the performance rating Rij, for all i & j, then the higher the corresponding dj the more important the attribute Bj is considered to be.

The weights are found by the equation,

Equation 1-2b (Fox)

Let’s assume that the criteria were listed in order of importance by a decision maker. Entropy ignores that fact and uses the actual data to compute the weights. Although home runs might be the most important criterion to the decision maker, it might not be the largest weighted criterion using entropy. Using this method, we must be willing to accept these types of results in weights.

Sensitivity Analysis

In the previous work done by Fox and Fox et al. using the pairwise comparison method of obtaining weight, sensitivity analysis was done to determine the effect of changing weights on the ranking of terrorists.10 The decision weights are subject to sensitivity analysis to determine how the affect the final ranking. Sensitivity analysis is essential to good analysis. Additionally, Alinezhad suggests sensitivity analysis for TOPSIS for changing an attribute weight.11 The equation they developed for adjusting weights based upon a single weight change that we used is:

Equation 2.3 (William Fox)

where wjis the future weight of criterion j, wp the current selected weight to be changed, wp the new value of the selected weight, wj is the current weight of criterion j. This method of doing sensitivity analysis is valid for any chosen weighting scheme.

Another method of sensitivity analysis might be to change the metric used or the baseball players used in the analysis. We accomplished this by first including strikeouts and then excluding strikeouts in our analysis. We also can alter the players used if we are using the entropy weighting methods. Changing players, as well as changing metrics analyzed, changes the weights that are calculated and in turn might change the rank ordering of the players.

Application to Baseball’s Greatest Hitters

We applied these mathematical techniques to baseball’s greatest hitters. We started by taking hitters in the National Baseball Hall of Fame (excluding pitchers and managers). We ran our analysis. Then we added some star retired players and current players: Pete Rose, Barry Bonds, Mark McGwire, Alex Rodriguez, Albert Pujols, Mike Trout, Miguel Cabrera, Sammy Sosa, and Ichiro Suzuki, sourcing their statistics from,13


Based upon reviewers’ comments, we ran several separate analyses with the Hall of Fame players as well as the Hall of Famers including the additional mentioned players. We used standard metrics as the criteria for the initial analysis and then more advanced metrics for the second run of our analysis. 14

Standard Metrics

  • G: Games Played
  • PA: Plate Appearances
  • AB: At Bats
  • R: Runs Scored
  • H: Hits
  • 2B: Doubles Hit
  • 3B: Triples Hit
  • HR: Home Runs Hit
  • RBI: Runs Batted In
  • BB: Bases on Balls
  • SO: Strikeouts
  • BA: Hits/At Bats

Advanced Metrics

  • OBA: (H + BB + HBP)/(At Bats + BB + HBP + SF)
  • SLG: Total Bases/At Bats or (1B + 2*2B + 3*3B + 4*HR)/AB
  • OPS: On-Base + Slugging Averages

In our first analysis, we used the first 11 metrics above. In our second analysis we decided to use percentage of extra base hits (2B+3B+HR/hits), runs, BB, OBA and SLG. Since OPS is the sum of OBA and SLG, we excluded it from either analysis.

Since entropy is a function of the data, we separated our collected data into sets both with only the data partitioned as stated and for our two separate groups of players. First, we performed our analysis for the Hall of Fame players and then we repeat it for these same players but with the additional players added. We used the entropy method to weigh these criteria for the analysis. We did so because we did not want bias to interfere with our weighting scheme as the other methods for obtaining weights are very subjective. Using the entropy weighting scheme as described in section 2.2, we found our weights to use in the analysis. Examining the Hall of Fame set, we used the entropy method of weighting for the 11 criteria. We found these weights for the Hall of Fame players:



























We found the weights for the second set of metrics for the Hall of Fame players as:















We present the weights when all our additional players are included with the Hall of Fame players in the analysis.


Larger metric set
























Smaller metric set














MADM Model Results

Using our TOPSIS procedures and using “larger is better” for all variables except SO where smaller is better, we found the top Hall of Fame hitters of all time. TOPSIS ranked them in order as: Babe Ruth, Hank Aaron, Willie Mays, Stan Musial, and Lou Gehrig using our larger group of metrics.





Babe Ruth



Hank Aaron



Willie Mays



Stan Musial



Lou Gehrig



Ted Williams



Jimmie Foxx



Mel Ott



Frank Robinson



Ken Griffey Jr.



Ernie Banks



Mickey Mantle



Harmon Killebrew



Eddie Mathews



Frank Thomas



Mike Schmidt



Carl Yastrzemski



Eddie Murray



Willie McCovey



Dave Winfield




The next twenty are:

Billy Williams



Joe DiMaggio



Al Kaline



Reggie Jackson



Cal Ripken



Andre Dawson



Jeff Bagwell



Rogers Hornsby



Johnny Mize



George Brett



Duke Snider



Yogi Berra



Willie Stargell



Al Simmons



Mike Piazza



Goose Goslin



Ralph Kiner



Ty Cobb



Jim Rice



Johnny Bench




When we ran the analysis with the second criteria using the MADM method, SAW, because all the metrics used were to be maximized. We found that our top players were:



Babe Ruth

Ted Williams

Lou Gehrig

Jimmie Foxx

Hank Greenberg

Mickey Mantle

Stan Musial

Joe DiMaggio

Frank Thomas


Note that number one in both approaches among the Hall of Fame players is Babe Ruth.

“What if” Analysis: Other non-HOF Players Included

Next, we included additional players based upon their performance, and not regarding other issues. We included Pete Rose, Barry Bonds, Mark McGwire, Alex Rodriguez, Albert Pujols, Miguel Cabrera, Mike Trout, Sammy Sosa and Ichiro Suzuki. First, we re-compute the entropy weights and then our ranking.

We present the top 20 ranked players using TOPSIS using all the chosen metrics.

The addition of the new players yielded a slightly different set of results but we see Ruth and Aaron are ranked one and two:

Babe Ruth0.722141
Hank Aaron0.701172
Barry Bonds0.698783
Willie Mays0.675134
Stan Musial0.65375
Lou Gehrig0.640576
Ted Williams0.631687
Jimmie Foxx0.610658
Mel Ott0.610139
Frank Robinson0.6050810
Ken Griffey0.5913511
Alex Rodriguez0.5890412
Mickey Mantle0.5628713
Ernie Banks0.560414
Harmon Killebrew0.5569515
Eddie Mathews0.5543416
Frank Thomas0.5527417
Carl Yastrzemski0.5489418
Mike Schmidt0.5488619
Mark McGwire0.5486320


We also ran analysis with a smaller number of metrics as mentioned earlier. The Top 25 of all time, including our stars that are not currently in the Hall of Fame, are:


Barry Bonds1
Babe Ruth2
Hank Aaron3
Alex Rodriguez4
Willie Mays5
Albert Pujols6
Ken Griffey Jr.7
Frank Robinson8
Sammy Sosa9
Reggie Jackson10
Jimmie Foxx11
Ted Williams12
Harmon Killebrew13
Mike Schmidt14
Mickey Mantle15
Stan Musial16
Mel Ott17
Mark McGwire18
Lou Gehrig19
Frank Thomas20
Eddie Murray21
Eddie Mathews22
Willie McCovey23
Carl Yastrzemski24
Ernie Banks25


We see that using the smaller list of metrics Barry Bonds computes as first followed by Babe Ruth. The addition of the new players has made a difference in the ranking of baseball’s greatest hitters.


Using entropy as our method to obtain weights, which is an unbiased weighting method, we found Babe Ruth as the greatest hitter in many of our analyses, while Barry Bonds ranked number one using the smaller metric set. Arguments can be made for any of these players being the greatest hitter of all time. By using more than one sabermetric measure, applying weights to the metrics, and applying a MADM method, we can strengthen the argument for the greatest hitter of all time. Depending on the players and metrics in the analysis, we see that ranking might change. This is why the argument continues regarding who is the greatest hitter of all time?

WILLIAM P. FOX is an Emeritus professor at the Naval Postgraduate School in Monterey, CA. He is currently an adjunct professor of mathematics at the College of William and Mary in Williamsburg, VA, where he teach applied mathematics courses. He has authored over twenty books, over twenty additional chapters in other books and over a hundred journal articles.



I acknowledge and thank Father Gabe Costa, Department of Mathematical Sciences, United States Military Academy for introducing me to sabermetrics and the initial reading and suggestions on this research.



1 Tim Kurkjian, Obituary of Ted Williams, July 5, 2002,, accessed September 2017.

2, “Best Hitters in Baseball History,” crowdranked list, accessed January 2019.,

3, “10 Greatest Baseball Players of All Time,” accessed January 2019.

4 Ching-Lai Hwang and Kwangsun Yoon, 1981. Multiple attribute decision making: Methods and applications. New York: Springer-Verlag.

5 Jacek Malczewski, “GIS-Based Approach to Multiple Criteria Group Decision-Making.” International Journal of Geographical Information Science – GIS , 10(8), 1996, 955-971.

6 Jeffrey Napier. 1992. Industrial base program item selection indicators analytical enhancements. Department of Defense Pamphlet, DLA-93-P20047.

7 P.C. Fishburn (1967). Additive utilities with incomplete product set: Applications to
priorities and assignments. Operations Research Society of America (ORSA), 15, 537-542

8 Claude Shannon and Warren Weaver. 1949. The Mathematical Theory of Communication, University of Illinois Press.

9 Milan Zeleny. 1982. Multiple Criteria Decision Making. New York: McGraw Hill.

10 William Fox, Bradley Greaver, Leo Raabe, and Rob Burks. 2017. “CARVER 2.0: Integrating Multi-attribute Decision Making with AHP in Center of Gravity Vulnerability Analysis,” Journal of Defense Modeling and Simulation, Published online first,

11 Alireza Alinezhad and Abbas Amini, 2011. “Sensitivity Analysis of TOPSIS technique: The results of change in the weight of one attribute on the final ranking of alternatives.” Journal of Optimization in Industrial Engineering, 7(2011), 23-28.

12 Hall of Fame Players Baseball Statistics,, accessed September 14, 2017.

13 Player statistics pages from, Mike Trout, Pete Rose, Barry Bonds, Mark McGwire, Alex Rodriguez, Joe Jackson, Albert Pujols, Miguel Cabrera, Ichiro Suzuki, Sammy Sosa.

14 Hall of Fame Batting,, accessed October 1, 2019.

© SABR. All Rights Reserved