Effect of League Totals – The Charts

Beat articles, power rankings, statistical analysis, etc. goes here.
User avatar
RonCo
GB: JL Frontier Division Director
Posts: 19982
Joined: Sat Nov 14, 2015 10:48 pm
Has thanked: 2012 times
Been thanked: 2983 times

Effect of League Totals – The Charts

Post by RonCo » Tue Apr 27, 2021 1:55 pm

Yes, this is going to be a little complicated.

[WARNING, WARNING, THERE WILL BE MATH]

Sorry about that. If you bear with me, though, I think you’ll learn why managing league totals (and hence, the stats output of a league) is such a royal pain in the ass. You’ll also understand a bit more about how the game engine works as well as it does, and perhaps see a bit more of its beauty.

Of course, you may not want to bear with me at all. I wouldn't blame you at all.

Anyway…

When I was in engineering schools, I learned to rely on whole bookloads of Thermodynamic tables. These are beautiful little charts that gave answers to a set of very complex equations that held true as long as various things were held constant. Extremely helpful.

Today I woke up thinking about league totals and realized I could do something similar. In other words, create a series of lines that showed me how multiple rating combinations could result in the same outputs given a constant league totals setting. To do it, I basically just needed two things: (1) a constant League Total settings, and (2) an understanding of Algebra and Bill James’s Log5 equations.

Well, technically, I needed one more thing—a decision on what stat to chart. To make this simple, I chose home runs.


LEAGUE TOTAL SETTINGS

So I went to our BBA League Totals and found this:

AB = 170,00
HR = 5,600
Mod = .935

I then calculate the “LEAGUE AVERAGE RATE” (*) that the game is using in its calculations as:

(5.600/170,000) * .935 = ..0308 HR/AB

(*) Through this study you will find out why this is not the ACTUAL LEAGUE AVERAGE HR RATE. In fact that’s the whole point of this little ramble, I’d guess.

So, for all of this report I will use .0308 HR/AB as the BBA League Total.

LOG5 Work

Knowing I was looking for constant HR rates, I then took the Log5 equations, and did a little math work (hey, who says you’ll never use that algebra course!). My goal was to get an equation that calculated the rate at which a batter needed to hit HR in order to match a constant rate given the pitchers in the league might have variable MOVEMENT.

Without showing all my work, I came up with the following:


P(b) = Probability of Batter
P(p) = Probability of Pitcher
P(L) = Probability of League (in other words, the league total I just calculate)
P(f) = Final Probability Expected


P(b) = [ P(L)(1-P(p)) ] / [ P(L) – P(p) + P(p)(1-P(L))/P(f) ]
At this point the process consisted of:

1) Chose a series of constant P(f) [final probability expected]
2) Vary pitcher HRA rates such that they give up HR from .01/AB to .055/AB
3) Plot the rates at which batters need to hit HR such that the paring result in the constant P(f)

I then plotted those curves.

NOTE: I chose three constant P(f) to show how things move. The three I chose were the actual league totals (.0308/AB), the current BBA HR rate (.040/AB), and then a point kind of in the middle (.035/AB).

Here is the output:

LG-TOT-CHART-1.PNG
LG-TOT-CHART-1.PNG (20.01 KiB) Viewed 436 times

Pretty cool, eh?

A few notes:

First, you’ll quickly realize that I have not used MOV and POW on the 1-10 scale like BBA does. The whole point is that those are just artificial labels that the game translates into HR rates. I honestly have no idea exactly what that performance map is, though I’d expect the editor’s answer is likely right (both Jim and I have gone through and created our own off that idea, and I think they work fine enough).

Second, note that—though the BBA’s League Total Setting is .0308 HR/AB, the league operates at .040/AB. If you understand the Log5s, you understand why that is. You’ll also realize that this is the underlying problem guys like Matt have to deal with when they are trying to get league output “right.”

Finally, by now you might be saying “what the hell is this and why do I care?” Well, I don’t know if anyone should care, but one can use this chart to guess where the league’s output will fall. To do so, you need to know the rating spread across the league—and specifically what the league’s average plate appearance might be comprised of (what ratings an average plate appearance will contain). If the ratings have high skew (like pitcher stuff) it would also be helpful, probably, to know scatter of those ratings.

Therein lies the rub, though. Determining those average ratings are not a task for the feint of heart. You’re almost always wrong somewhere.

MORE FUN WITH TABLES AND CHARTS

As I noted above, there are entire books dedicated to presenting tables to help engineers deal with thermodynamic equations. In a similar light, one could publish reams of paper describing hundreds or thousands of charts that would “solve” the equations of the OOTP results engine (one caveat, there’s a chance the game uses a modified set of what I’ll still call Log5 equations to come upon its answers—but the process I’ve outlined above would be essentially the same).

The beauty of those charts is that they often answer similar questions in different ways.

For example, here is a chart that—if Matt knew exact ratings of an average Plate Appearance--would let Matt pick the “perfect” League Total to achieve a desired rate. In this case, the table would be for .0308 HR/AB (which is what current League Total setting suggests we are shooting for).

LG-TOT-CHART-2.PNG
LG-TOT-CHART-2.PNG (15.97 KiB) Viewed 436 times

Of course, any self-respecting such table in real life would have many more possible League Total Curves (so, for example, that the chart could cover the question of what the setting should be if the average pitcher rating equated to .030 HR/AB and the average hitter rating was .020), but you get the idea. [Note: The actual League Total in that case would have to drop to something just under .020]
GM: Bikini Krill
Nothing Matters But the Pacific Pennant
Roster

User avatar
Dington
GB: Recruiting & Development Director
Posts: 4994
Joined: Mon Mar 30, 2020 12:06 am
Has thanked: 2139 times
Been thanked: 1185 times
Contact:

Re: Effect of League Totals – The Charts

Post by Dington » Tue Apr 27, 2021 2:02 pm

RonCo wrote:
Tue Apr 27, 2021 1:55 pm
[WARNING, WARNING, THERE WILL BE MATH]
I'm sure this was a lovely post.
Image
Nashville Bluebirds GM
HOW I BUILD A WINNING TEAM <---Click
Kuwait City GM 2042-43
2043 UMEBA United Cup Champion*

usnspecialist
Ex-GM
Posts: 6652
Joined: Wed Jul 05, 2017 9:39 am
Location: Manama, Bahrain
Has thanked: 207 times
Been thanked: 776 times

Re: Effect of League Totals – The Charts

Post by usnspecialist » Tue Apr 27, 2021 2:06 pm

The fact that this said "the charts" implies that a sequel (perhaps "the tables" or "the graphs" is coming...
Randy Weigand

Havana Sugar Kings/San Fernando Bears: 32-50 (1608-1481)
Des Moines Kernels: 52-

League Champion- 34
JL Champion- 34
FL Champion- 36, 37
JL Southern- 34
FL Pacific- 37, 39
Wild Card- 33, 35, 36, 40, 43

Image

User avatar
shoeless.db
BBA GM
Posts: 2343
Joined: Wed May 29, 2019 10:25 pm
Has thanked: 1850 times
Been thanked: 1101 times

Re: Effect of League Totals – The Charts

Post by shoeless.db » Tue Apr 27, 2021 2:27 pm

This is consistent with the findings from my own research.
Sacramento Mad Popes
-- Vic Caleca Team News Award Winner 2052
-- BBA Champion 2053
— The Heartland Sucks
-- Pacific Champs 2040, 2042, 2043, 2047, 2048, 2049, 2051, 2053, 2054, 2058
Life is a bit more beautiful when time is measured by the half inning rather than the half hour.

User avatar
RonCo
GB: JL Frontier Division Director
Posts: 19982
Joined: Sat Nov 14, 2015 10:48 pm
Has thanked: 2012 times
Been thanked: 2983 times

Re: Effect of League Totals – The Charts

Post by RonCo » Tue Apr 27, 2021 6:00 pm

usnspecialist wrote:
Tue Apr 27, 2021 2:06 pm
The fact that this said "the charts" implies that a sequel (perhaps "the tables" or "the graphs" is coming...
Randy suggests, Randy gets…

Here’s a table we could use if we wanted HR/AB across the league to be .035. This would represent BBA baseball in the early 2030s.

The challenge, of course, is to be able to determine the “actual” average Movement rating for each plate appearance (which, due to selection bias, is different than the average rating), then translate that rating into the performance map that OOTP actually uses. If that last were simple (i.e. if OOTP published it or confirmed the editor was “right”), then we could actually get pretty close by simple tracking average plate appearances. Alas, without both, poor Matt is left to do a boatload of testing.

Anyway, assuming that was possible, here is the fun little table I just promised—a tool that could be used to set league totals directly more than reasonable precision.

LG-TOT-CHART-035-HR-AB.PNG

The real beauty of this, is that a chart exists like this for pretty much any HR/AB rate you’d like your game to create. As long as you know the average pitcher and hitter ratings for a plate appearance and can access the actual performance map, you can use a table like this to get everything to come out about how you like it (barring those huge rating skews…and even then the totals should be pretty good).
GM: Bikini Krill
Nothing Matters But the Pacific Pennant
Roster

User avatar
CTBrewCrew
GB: FL Heartland Division Director
Posts: 5198
Joined: Wed Sep 04, 2019 11:20 am
Location: Milford, CT
Has thanked: 925 times
Been thanked: 1337 times

Re: Effect of League Totals – The Charts

Post by CTBrewCrew » Tue Apr 27, 2021 6:40 pm

Image

;)
Image

User avatar
JimBob2232
BBA GM
Posts: 3677
Joined: Sun May 16, 2010 12:54 pm
Has thanked: 18 times
Been thanked: 228 times

Re: Effect of League Totals – The Charts

Post by JimBob2232 » Tue Apr 27, 2021 8:57 pm

TLDR - I’m just going to assume this is the reason we suck.

Post Reply Previous topicNext topic

Return to “League Features”

Who is online

Users browsing this forum: No registered users and 18 guests