fantasy baseball algorithm discussion - Fantasy Baseball Cafe 2015 Fantasy Baseball Cafe
100% Deposit Bonus for Cafe Members!

Return to Baseball Leftovers

fantasy baseball algorithm discussion

Moderator: Baseball Moderators

Re: fantasy baseball algorithm discussion

Postby biesbol » Wed Dec 22, 2010 10:02 am

observations:

a. in a h2h format, you only need to score ONE more "x" (hr, rbi, 2b, 3b, etc) in order to win the category. This makes Pierre's (and others) steals less valuable as you exceed the threshold needed to post the win. If you only need 9 steals for the week, 34 is wasted production.

b. Pitching is much more variable year-to-year than hitting- not only in cumulative totals, but also start to start. It's hard (i said hard, not impossible) to base a successful h2h team solely on pitching. you may get 15 saves and 10 wins in a week, and then post 0'fers in the next two consecutive.

c. If you DO decide to go pitching heavy in your draft, you will return MUCH higher value for your picks if you take the production hitters and then trade them for quality pitching. You would ideally want to draft hitters for the first two rounds, and then be the first person to take a pitcher in round 3.

d. If you DO decide to go pitching heavy in your draft, you must adjust your formulation to account for what I call the "feast vs. famine effect". If you have the top X pitchers and top X stealers on your team, you will require a lower number to assure victory. The other teams will not have those players their teams, and therefore, will not be as competitive in those areas. ALSO, you must account for the fact that some teams will then have Pujols, Longoria, Utley, etc. on the same roster, which elevates your required production in order to win the counting stats.

e. I do not recommend the pitching dominant strategy, as it is much easier to find high-production pitchers on the waiver wire throughout the year (think Daniel Hudson, Brandon Morrow, or a plethora of Saves). What would then happen is teams with high-caliber offenses would pick these guys up (since you wouldn't be) and your advantage in these categories is then diminished or negated.
biesbol
Softball Supervisor
Softball Supervisor


Posts: 56
Joined: 5 Jan 2010
Home Cafe: Baseball

Re: fantasy baseball algorithm discussion

Postby mr anderson... » Wed Dec 22, 2010 10:06 am

very good points biesbol. im going to re-evaulate everything once i get more confident with my algorithm.

i like how baseball monster evaluates the stats through z-score. looks like im going to have to completely redo my calcs now ;-D

but yeah this would explain my problems with myalgorithm, this method shows a much lower effect that saves, triples, and holds have on overall rankings - bringing values back to more appropriate levels.

thanks for the help (:

ill post an update when i get there
mr anderson...
Softball Supervisor
Softball Supervisor


Posts: 32
Joined: 20 Oct 2010
Home Cafe: Baseball

Re: fantasy baseball algorithm discussion

Postby bigh0rt » Wed Dec 22, 2010 10:09 am

mr anderson... wrote:very good points biesbol. im going to re-evaulate everything once i get more confident with my algorithm.

i like how baseball monster evaluates the stats through z-score. looks like im going to have to completely redo my calcs now ;-D

but yeah this would explain my problems with myalgorithm, this method shows a much lower effect that saves, triples, and holds have on overall rankings - bringing values back to more appropriate levels.

thanks for the help (:

ill post an update when i get there

Welcome to the Cafe. ;-D Keep pluggin, your type of enthusiasm is great to see; I'm sure you'll both share and learn a lot here.
Image
bigh0rt
Hall of Fame Hero
Hall of Fame Hero

User avatar
CafeholicCafe WriterGraphics ExpertMock(ing) DrafterEagle EyeInnovative MemberCafe MusketeerWeb SupporterPick 3 Weekly Winner
Posts: 24818
(Past Year: 322)
Joined: 3 Jun 2005
Home Cafe: Baseball
Location: Crowding The Plate

Re: fantasy baseball algorithm discussion

Postby shawngee03 » Wed Dec 22, 2010 11:38 am

biesbol wrote:observations:

a. in a h2h format, you only need to score ONE more "x" (hr, rbi, 2b, 3b, etc) in order to win the category. This makes Pierre's (and others) steals less valuable as you exceed the threshold needed to post the win. If you only need 9 steals for the week, 34 is wasted production.

b. Pitching is much more variable year-to-year than hitting- not only in cumulative totals, but also start to start. It's hard (i said hard, not impossible) to base a successful h2h team solely on pitching. you may get 15 saves and 10 wins in a week, and then post 0'fers in the next two consecutive.

c. If you DO decide to go pitching heavy in your draft, you will return MUCH higher value for your picks if you take the production hitters and then trade them for quality pitching. You would ideally want to draft hitters for the first two rounds, and then be the first person to take a pitcher in round 3.

d. If you DO decide to go pitching heavy in your draft, you must adjust your formulation to account for what I call the "feast vs. famine effect". If you have the top X pitchers and top X stealers on your team, you will require a lower number to assure victory. The other teams will not have those players their teams, and therefore, will not be as competitive in those areas. ALSO, you must account for the fact that some teams will then have Pujols, Longoria, Utley, etc. on the same roster, which elevates your required production in order to win the counting stats.

e. I do not recommend the pitching dominant strategy, as it is much easier to find high-production pitchers on the waiver wire throughout the year (think Daniel Hudson, Brandon Morrow, or a plethora of Saves). What would then happen is teams with high-caliber offenses would pick these guys up (since you wouldn't be) and your advantage in these categories is then diminished or negated.


this is basically a formula for how to win any H2H league regardless of settings. draft power early and often. SP can be found or streamed throughout the year. saves can be found or just punted.

for 2 years in a row i have been good in one league where i went SP heavy. ended the year w a good record...but flopped in the playoffs. ill stay w big bats early and often from now on
shawngee03
Minor League Mentor
Minor League Mentor

User avatar

Posts: 650
Joined: 6 Mar 2007
Home Cafe: Football
Location: H-Town

Re: fantasy baseball algorithm discussion

Postby mr anderson... » Wed Dec 22, 2010 2:39 pm

ok guys. i got it all fixed now. converting to a z-score to analyze statistical categories compared to one another has brought the values to levels that would be expected. now i just need to determine if i want to include opportunity costs between selecting a pitcher or batters.

if i DO include opportunity cost the top 15 is dominated with pitchers (12 of top 15), but i think i will leave them separate and merge together. (opportunity cost involves taking in account that a pitcher would not be hitting and a hitter would not be pitching...perhaps a gigantic waste of time to determine looking back on it now. oh well).

here are my results from the 2010 season with 50 ab and 20 IP criteria (i just left it there for the time being, will update to reflect projected fantasy league totals; but that will have to wait for the time being since im more interested in the concept and results should only vary slightly)

Code: Select all
9x9 scoring format for 2010
1   24.86235814   Roy Halladay
2   20.50447781   Cliff Lee
3   19.67545957   Carl Crawford
4   19.31343429   Carlos Gonzalez
5   17.69268141   Albert Pujols
6   16.91242582   Adam Wainwright
8   16.74756696   Jose Bautista
9   16.74056316   Joey Votto
7   16.79735303   Felix Hernandez
10   16.5251505   Miguel Cabrera
11   15.48682539   Jered Weaver
12   14.79258691   Evan Longoria
13   14.32687922   Josh Hamilton
14   13.94612711   Robinson Cano
15   13.82265371   Jayson Werth
16   13.47875963   Matt Holliday
17   13.28890075   David Wright
18   13.18589698   Aubrey Huff
19   13.13141973   Ryan Braun
20   13.1083196   Shane Victorino
21   12.91554359   Andrew McCutchen
22   12.82799506   Rickie Weeks
23   12.81570841   Kelly Johnson
24   12.50581357   Austin Jackson
25   12.49413038   Andres Torres
26   12.45866417   Stephen Drew
27   12.374917           Angel Pagan
29   12.36742534   Shin-Soo Choo
28   12.37487988   Roy Oswalt
30   12.26160182   Paul Konerko
31   12.15171155   Brett Gardner
32   12.11937475   Adrian Beltre
33   12.09162398   Hanley Ramirez
34   11.89702689   Ubaldo Jimenez
35   11.89232372   Justin Verlander
37   11.72756276   B.J. Upton
36   11.73217379   Jon Lester
38   11.5113528   Alex Rios
39   11.48743253   Mark Teixeira
40   11.43646548   Jose Reyes
41   11.42166772   Adrian Gonzalez
42   11.40674382   Chris Young
43   11.38297142   Dan Uggla
44   11.38005704   Corey Hart
45   11.37445947   Josh Johnson
46   11.27114706   Juan Pierre
47   11.24891927   Troy Tulowitzki
49   11.17251444   Bobby Abreu
48   11.20536504   Cole Hamels
50   11.09830916   Mat Latos
52   10.98349904   Adam Dunn
53   10.94803783   Ichiro Suzuki
54   10.9464786   Matt Kemp
51   11.0324462   Tim Lincecum
55   10.82199937   Denard Span
56   10.78069929   Vernon Wells
57   10.77342963   Hunter Pence
59   10.72928596   Drew Stubbs
60   10.70037846   Jason Heyward
58   10.74295292   CC Sabathia
61   10.59758974   Ryan Howard
62   10.55530375   Michael Bourn
63   10.52435652   Clayton Kershaw
64   10.37712068   Michael Young
66   10.3271166   Nick Swisher
67   10.2902233   David Ortiz
65   10.34503353   David Price
68   10.2255866   Brandon Phillips
69   10.16877871   Nick Markakis
70   10.00283144   Daric Barton
71   9.987577124   Michael Cuddyer
72   9.975055121   Prince Fielder
74   9.821436645   Derek Jeter
73   9.844740612   Dan Haren
75   9.698827909   Alex Rodriguez
76   9.637465684   Raul Ibanez
77   9.531694519   Martin Prado
78   9.509693914   Delmon Young
79   9.414685217   Vladimir Guerrero
80   9.364221911   Ryan Zimmerman
81   9.336477162   Billy Butler
82   9.261799952   Matt Cain
83   9.031817377   Joe Mauer
84   9.00988467   Chris Carpenter
87   8.870213821   Nelson Cruz
85   8.951607872   Jonathan Sanchez
86   8.943291036   Francisco Liriano
88   8.819298516   Torii Hunter
89   8.766170677   Dexter Fowler
90   8.750805399   Casey McGehee
91   8.714518777   Scott Podsednik
92   8.711847943   Jay Bruce
93   8.604630721   Gaby Sanchez
94   8.600796321   Colby Rasmus
95   8.561908744   Rajai Davis
96   8.325860362   Ben Zobrist
97   8.323866008   Johnny Damon
98   8.278601008   Justin Upton
99   8.089664391   Howard Kendrick
100   8.080805322   Colby Lewis

Code: Select all
5x5 scoring for 2010
1   12.68192829      Roy Halladay
2   12.07242087      Carlos Gonzalez
3   11.44200402      Adam Wainwright
4   11.34278164      Felix Hernandez
5   11.1539745      Albert Pujols
6   10.92919789      Carl Crawford
7   10.66289471      Joey Votto
8   10.46232759      Jose Bautista
9   10.13666201      Miguel Cabrera
10   9.403978713      Josh Hamilton
11   9.257757025      Ubaldo Jimenez
12   8.952493344      Jered Weaver
13   8.949167764      CC Sabathia
14   8.509499646      Roy Oswalt
15   8.371192895      Justin Verlander
16   8.360551355      Juan Pierre
17   8.301869539      David Price
18   8.284871304      Alex Rios
19   8.212493654      Hanley Ramirez
20   8.194900203      Jon Lester
21   8.150743093      Paul Konerko
22   8.064599145      Ryan Braun
23   8.032252426      Robinson Cano
24   7.950396129      David Wright
25   7.868709567      Matt Holliday
26   7.812136769      Chris Young
27   7.749303418      Cliff Lee
28   7.711743589      Tim Hudson
29   7.561329444      Troy Tulowitzki
30   7.542209218      Matt Cain
31   7.532356151      Chris Carpenter
32   7.509997156      Jayson Werth
33   7.443584695      Evan Longoria
34   7.415317438      Dan Uggla
35   7.329927551      Shin-Soo Choo
36   7.218301578      Clayton Kershaw
37   7.177311873      Hunter Pence
38   7.092220029      Vladimir Guerrero
39   7.037785074      Mat Latos
40   6.990122914      Corey Hart
41   6.93045683      Adrian Beltre
42   6.929064659      Tim Lincecum
43   6.8945477   22      Rickie Weeks
44   6.892049203      Cole Hamels
45   6.858037596      Josh Johnson
46   6.835913017      Drew Stubbs
47   6.756107575      Andrew McCutchen
48   6.715314466      Angel Pagan
49   6.695253285      Mark Teixeira
50   6.671520923      Trevor Cahill
51   6.6120488   31      Brett Gardner
52   6.602427044      B.J. Upton
53   6.466149218      Adrian Gonzalez
54   6.419292315      Shane Victorino
55   6.409313839      Brett Myers
56   6.404822039      Aubrey Huff
57   6.385658499      Alex Rodriguez
58   6.279708374      Ichiro Suzuki
59   6.234440493      Matt Kemp
60   6.224114928      Jonathan Sanchez
61   6.218259683      Ryan Howard
62   6.197591436      Rajai Davis
63   6.160343065      Adam Dunn
64   6.1316042   87      Nelson Cruz
65   6.10493738      Kelly Johnson
66   5.960885286      Delmon Young
67   5.897328593      Bobby Abreu
68   5.882821392      Clay Buchholz
69   5.867306262      Ryan Zimmerman
70   5.808160755      Nick Swisher
71   5.803186037      David Ortiz
72   5.73126878      Michael Bourn
73   5.721440688      C.J. Wilson
74   5.677022467      Vernon Wells
75   5.497818757      Michael Young
76   5.473371416      Colby Lewis
77   5.458766965      Bronson Arroyo
78   5.455569151      Francisco Liriano
79   5.435093812      John Danks
80   5.39040086      Andres Torres
81   5.381081578      Shaun Marcum
82   5.359194721      Gio Gonzalez
83   5.337135022      Heath Bell
84   5.327966775      Jose Reyes
85   5.32358691      Torii Hunter
86   5.314585201      Dan Haren
87   5.312260969      Ryan Dempster
88   5.283174485      Prince Fielder
89   5.258532905      Johan Santana
90   5.256805191      Tommy Hanson
91   5.255398926      Carl Pavano
92   5.215389376      Ted Lilly
93   5.143600948      Brandon Phillips
94   5.094440918      Brian Wilson
95   5.069592169      Hiroki Kuroda
96   5.032742578      Derek Jeter
97   5.016055827      Max Scherzer
98   4.99043132      Colby Rasmus
99   4.909117943      Scott Podsednik
100   4.902796318      Ervin Santana



interesting finds: my algorithm shows that top ranked in both formats roy halladay was 17% more valuable than the next listed player (cliff lee) in the 9x9, but only 3.8% more valuable than the next listed player (carlos gonzalez) in the 5x5 scoring format, even though 5x5 scoring showed more favoritism to pitching (7 pitchers in top 15, 3 out of top 4) than the 9x9 (5 pitchers out of top 28, top 2 overall)

next step for me is to try and streamline it so i can just select a button for the scoring categories rather than have to physically write the function in the cell and copy it down, and start inputing my personal projections. hopefully i wont have to make it a macro since i currently do not know how to write one, but i suppose i could learn if needed.

you guys have any thoughts or suggestions?
mr anderson...
Softball Supervisor
Softball Supervisor


Posts: 32
Joined: 20 Oct 2010
Home Cafe: Baseball

Re: fantasy baseball algorithm discussion

Postby Neato Torpedo » Wed Dec 22, 2010 3:27 pm

wrveres wrote:
mr anderson... wrote:I am in the process of developing a fantasy baseball algorithm specifically designed to aid in draft day selection for my leagues custom format.

scoring settings: h2h - 9x9
offense: R, H, 2b, 3b, HR, RBI, SB, BB, AVG
pithing: W, Sv, Ks, HLD, ERA, WHIP, K/BB, K/9, QS


strategy wise, I'd punt SB and starting pitching. Just load up on power, and top of the line relievers. you could even go so far as to draft all of your bats first, then grab relievers.

I'd definitely punt SPs here but speedy leadoff hitters could contribute in R, H, SB, and 3B. I wouldn't use a high pick on one, though. Maybe secure a B.J. Upton-type in the 7th-9th, then a Rajai/Pods type in the 14th-16th, then waste 3 of your last 5 picks on lottery ticket leadoff burners like Desmond Jennings (though probably not Jennings himself because he'll probably get super-hyped come March).

Also, if you're planning to use this as a draft guide, I'd devalue triples considerably. They're few and far between and you easily could win with like 3 or 4 triples in a week. There's only a few players you can reliably draft for triples: Reyes, Craw, Granderson, Victorino, Rollins, and maybe Stephen Drew. And even a couple of these guys could easily end up with single digit triples for the year. It's just too random and unpredictable week-to-week.
Image

Rocinante2: you know
Rocinante2: its easy to dismiss the orioles as a bad team
ofanrex: go on
Rocinante2: i'm done
Rocinante2: lmao

Play Brushback Baseball! (we need more people)
Neato Torpedo
Hall of Fame Hero
Hall of Fame Hero

User avatar
EditorCafeholicFantasy ExpertCafe WriterCafe RankerWeb Supporter
Posts: 8618
Joined: 4 Mar 2007
Home Cafe: Baseball
Location: we don't burn gasoline, we burn our dreams

Re: fantasy baseball algorithm discussion

Postby mr anderson... » Thu Dec 23, 2010 4:42 pm

it's starting to shape up nicely. i had an oversight that i found this morning where i didnt account for the fact that low whips and era are actually desired, so i simply just calculated the z-score off of the inverse of those numbers (era of 4 = 1/4 = .250; era of 3 = 1/3 = .333), and the numbers are now accurately reflective.

i have projected 125 players, mostly upper tier but a few of the part timers and scrubs just to compare and have got some very interesting results in a 5x5.

the highest relief pitcher that my projections have computed is, or course, mariano rivera at 63. the other closers ive made projections for are: joakim soria (84), neftaliz feliz (98), craig kimbrel (102) [i have him mocked as the closer for now], heath bell (107), chris sale (113) [again, mocked as closer for now], so this is FAR from a complete list but more than likely there will only be 1 closer found within the top 100 for overall value. ive triple checked all my calcs and they appear correct to me.

in a 9x9, mariano rivera is ranked all the way to 101. it seems odd, yes, but when compared to top tier starters and everyday regulars the expanded categories apparently dilute the value of closers considerably.

my projected top 25 in 5x5 through today (ive projected all the big names so i dont believe im missing anyone obvious)

Code: Select all
  5x5 rank                   9x9 rank
1   5.599219357   1   9.01878335   Albert Pujols
2   4.658693102   5   6.683257519   Joey Votto
3   4.600901208   4   6.886027336   Miguel Cabrera
4   4.391503085   3   6.93684757   Adam Wainwright
5   4.260372701   12   5.057389497   Ryan Howard
6   4.176279559   11   5.15089092   Adrian Gonzalez
7   4.151128329   2   7.561959245   Roy Halladay
8   3.87957631   8   6.183417789   Hanley Ramirez
9   3.628700119   10   5.936998493   Felix Hernandez
10   3.611301139   6   6.25243426   Tim Lincecum
11   3.51073624   19   4.730513936   Mark Teixeira
12   3.435729475   7   6.245582549   Cliff Lee
13   3.378885872   9   6.024602582   Mat Latos
14   3.347679761   15   4.96186022   Carlos Gonzalez
15   3.215821445   14   4.983890695   Ryan Braun
16   3.215325911   18   4.762896549   Chris Carpenter
17   3.204510686   17   4.955979501   Carl Crawford
18   3.061515419   25   3.787127381   CC Sabathia
19   2.94282734   13   4.988091665   David Wright
20   2.850598678   49   1.620698261   Troy Tulowitzki
21   2.832030403   43   1.883081985   Alex Rodriguez
22   2.798436592   28   3.380457905   Justin Morneau
23   2.762049478   32   3.162651658   Josh Hamilton
24   2.598239612   29   3.335250754   David Price
25   2.590788248   37   2.623150363   Matt Kemp


im bullish on howard this year but it was a suprise to see him so high. my projections for him:


592 AB, 103 R, 163 H, 29 2b, 4 3b, 41 HR, 136 RBI, 78 BB, 171K, 1 SB

but the biggest surprise is that it generated adam wainwright a near 5.5% improvement over halladay in 5x5, but an 8.3% DECREASE in the expanded format based off, what i obviously feel would be, fair projections:

halladay: 34 starts, 242 IP, 230 H's, 77 ER, 37 BB, 210 K's, 19 W, 10 L
wainwright: 34 starts, 238 IP, 200 H's, 70 ER, 50 BB, 204 K's, 18 W, 10 L


and albert pujols just dominates this game as evidenced by a 16.8% increase over number 2 ranked joey votto.

of course all these are based off my projections and for all you know im a middleaged housewife's pet kitten, but i still found this interesting and wanted to share. ill upload my calc incase anyone wants it but its holiday time and i dont have to work so that means i wont be working on this until monday at the earliest.

happy holidays guys ;-D

https://docs.google.com/leaf?id=0B5XYzu ... ist&num=50
mr anderson...
Softball Supervisor
Softball Supervisor


Posts: 32
Joined: 20 Oct 2010
Home Cafe: Baseball

Re: fantasy baseball algorithm discussion

Postby Fenway Punk » Tue Dec 28, 2010 12:11 pm

mr anderson... wrote:
for instance: there were 1198 saves, 1993 holds, and 2410 wins for the entire imported player pool. my reasoning tells me that due to the disparity between these categories, a save will be twice as effective at winning its respective category versus a win due to it being twice as scarce, and subsequently that a relief pitcher with 5 wins and 10 saves will be 39.9% more effective (valuable) as a relief pitcher with 5 wins and 10 holds.


id=0B5XYzuCghXJXNTgyZDQ3ZWEtMTE3MS00MmRhLTlhN2EtMmVjMWQ2N2ViYjhl&sort=name&layout=list&num=50


I disagree with this, respectfully. Since you also count W, K, K/9, and QS, I would think that SP weigh alot heavier on the outcome than a RP. I get that since there are less saves than they are wins, that saves could be more effective (in theory) but I think many may take this message the wrong way. I can easily see a beginner reading this and taking away that because saves are less abundant, it's better to have more closers than SPs. Also, your entire arguement and theory is based upon a certain statistical setting, so you would have to be playing under these exact same settings to follow this logic to a T. Great stuff though. "Baseball :Played by the ambidexterous, understood by the poindexterous. "
Fenway Punk
College Coach
College Coach


Posts: 158
Joined: 18 Jan 2008
Home Cafe: Baseball

Re: fantasy baseball algorithm discussion

Postby Fenway Punk » Tue Dec 28, 2010 12:18 pm

Neato Torpedo wrote:
wrveres wrote:
mr anderson... wrote:I am in the process of developing a fantasy baseball algorithm specifically designed to aid in draft day selection for my leagues custom format.

scoring settings: h2h - 9x9
offense: R, H, 2b, 3b, HR, RBI, SB, BB, AVG
pithing: W, Sv, Ks, HLD, ERA, WHIP, K/BB, K/9, QS


strategy wise, I'd punt SB and starting pitching. Just load up on power, and top of the line relievers. you could even go so far as to draft all of your bats first, then grab relievers.

I'd definitely punt SPs here but speedy leadoff hitters could contribute in R, H, SB, and 3B. I wouldn't use a high pick on one, though. Maybe secure a B.J. Upton-type in the 7th-9th, then a Rajai/Pods type in the 14th-16th, then waste 3 of your last 5 picks on lottery ticket leadoff burners like Desmond Jennings (though probably not Jennings himself because he'll probably get super-hyped come March).

Also, if you're planning to use this as a draft guide, I'd devalue triples considerably. They're few and far between and you easily could win with like 3 or 4 triples in a week. There's only a few players you can reliably draft for triples: Reyes, Craw, Granderson, Victorino, Rollins, and maybe Stephen Drew. And even a couple of these guys could easily end up with single digit triples for the year. It's just too random and unpredictable week-to-week.

Hey torpedo. I live in Tampa and have had the priveledge of watching Jennings first hand the last few years during Spring training. Y'know what? I like what I see out of Dexter Fowler more. ;-)
Fenway Punk
College Coach
College Coach


Posts: 158
Joined: 18 Jan 2008
Home Cafe: Baseball

Re: fantasy baseball algorithm discussion

Postby mr anderson... » Tue Dec 28, 2010 1:06 pm

sorry to keep bumping this thread

just wanted to give everyone (if anyone) using my calc for any reasons that i have updated it. here is new link

https://docs.google.com/leaf?id=0B5XYzu ... ist&num=50

i updated the calcs when determining standard score to remove double rounding in some categories (like batting average: i was erroneously averaging together all the averages, now it sums the total hits and calcs against total at bats & so forth)

i have also changed the way that it will calculate dynamic stats like Batting average, whip etc.

before it would take the standard score for at bats, the standard score for batting average, and then combine them together for an interpretive average. i didnt like the way i set this up so i starting looking at other resources (i have only ever taken beginning stats in college) and have set it up more appropriately.

the new calc for batting average is now based off how many more (or less) hits player a would have over the average player for that sample set.

player hits - (player AB*(sum of all hits/sum of all at bats)) = xBA

THEN it takes a standard score of the xBA figure, which is used in calculating a players overall value.

Code: Select all
examples from 2010: who had a bigger impact for batting average: albert pujols , joe mauer, or robinson cano

pujols: 183 hits, 587 AB (0.312)
mauer: 167 hits, 510 AB (0.327)
cano: 200 hits, 626 AB (0.319)

right away we should see that cano should be higher than pujols because cano has a higher average with a higher number of at bats, but is cano better than mauer?

using the xBA calc:
(note: 2010 totals for players over 50 abs: 40860 hits ; 155468 AB)

pujols: 183 - (587 *(40860/155468)) = 28.725
mauer: 167 - (510 *(40860/155468)) = 32.962
cano: 200 - (626 *(40860/155468)) = 35.475

so we see that cano was, in fact, more valuable than mauer even though he hit .008 points lower with 116 additional at bats

the highest for 2010: josh hamilton at 49.860. the lowest for 2010: carlos pena at -32.205





whip and era are calc'd in a similar manner (ERA is how many more (or less) earned runs allowed per nine innings than the average of all the sample set ; and WHIP is how many more (or less) walks + hits allowed per inning pitched than the average of all the sample set) with subsequent standard score calculations

xWHIP=(avgWHIP-playerWHIP)*IP
xERA=(avgERA-playerERA)*IP/9

i have also done this for k/9, and k/bb in my expanded format
xK/BB=(playerK/playerBB-(sum(K)/sum(BB))*IP
xK/9=(playerK/playerIP*9)-(sum(k)/sum(IP)*9)*IP


here is an updated top 25 for all of 2010 in 5x5 scoring with the new additions/improvements:
Code: Select all
55x5 rank   5x5 score   9x9 rank   9x9 score   PLAYER   TEAM   Pos.
1   13.6866917   3   20.92770512   Carlos Gonzalez   COL   LF
2   13.60131232   1   25.46881839   Roy Halladay   PHI   SP
3   12.57392273   6   18.46443009   Adam Wainwright   STL   SP
4   12.3125607   7   18.12178694   Felix Hernandez   SEA   SP
5   12.15001309   5   18.68872   Albert Pujols   STL   1B
6   11.84568676   4   20.59194843   Carl Crawford   TB   LF
7   11.74236896   8   17.82003741   Joey Votto   CIN   1B
8   11.3308263   9   17.71931479   Miguel Cabrera   DET   1B
9   11.0167557   12   15.93965621   Josh Hamilton   TEX   LF
10   10.12402112   11   16.4092605   Jose Bautista   TOR   RF
11   9.902292661   25   13.11079942   Ubaldo Jimenez   COL   SP
12   9.754996817   10   16.95794705   Jered Weaver   LAA   SP
13   9.7377004   17   14.11915931   Roy Oswalt   HOU/PHI   SP
14   9.431708325   13   15.34558301   Robinson Cano   NYY   2B
15   9.189429512   51   11.28927844   CC Sabathia   NYY   SP
16   9.032184506   49   11.5183381   David Price   TB   SP
17   8.978000649   27   13.08885938   Paul Konerko   CHW   1B
18   8.972419235   18   14.03923982   Ryan Braun   MIL   LF
19   8.913904023   15   14.52395408   Matt Holliday   STL   LF
20   8.827648922   68   10.32477108   Billy Wagner   ATL   RP
21   8.802271917   2   22.26009955   Cliff Lee   SEA/TEX   SP
22   8.757646029   35   12.63677635   Hanley Ramirez   FLA   SS
23   8.696458845   31   12.79119187   Justin Verlander   DET   SP
24   8.591864049   29   12.988592   Jon Lester   BOS   SP
25   8.5213779   45   11.7478594   Alex Rios   CHW   CF



this SHOULD be my last update so i can quit bothering you guys ;-D

just didnt want to screw anyone over with an inadequate program. im just going to continue working on projections and research calculating a dollar amount for auction formats. i can post if anyone is interested but otherwise this should be it.
mr anderson...
Softball Supervisor
Softball Supervisor


Posts: 32
Joined: 20 Oct 2010
Home Cafe: Baseball

PreviousNext

Return to Baseball Leftovers

Who is online

Users browsing this forum: No registered users and 5 guests

Forums Articles & Tips Sleepers Rankings Leagues


  • Fantasy Baseball
  • Article Submissions
  • Privacy Statement
  • Site Survey 
  • Contact