- Thread starter
- #1
Omar 382
Well-Known Member
So Bill James wanted to test how similar one player's career is to another. To compare two hitters using his formula, one starts at 1000 points and subtracts points based on the differences in different statistical categories. One point is subtracted for each of the following differences: (1) 20 games played, (2) 75 at-bats, (3) 10 runs scored, (4) 15 hits, (5) 5 doubles, (6) 4 triples, (7) 2 home runs, (8) 10 runs batted in, (9) 25 walks, (10) 150 strikeouts, (11) 20 stolen bases, (12) 0.001 in batting average, and (13) 0.002 in slugging percentage. In addition, one subtracts the absolute value of the difference between the fielding position values of the two players.
I did all of this in R, with the following line of code:
Mantle obviously gets a similarity score (SS) of 1000. I cut off the next five players. Any guesses?
I did all of this in R, with the following line of code:
Mantle obviously gets a similarity score (SS) of 1000. I cut off the next five players. Any guesses?