Quote:
Originally Posted by kq76
OOTP only separated out iBB fairly recently, like OOTP26. I actually didn't even notice this until a few weeks ago. And when I copied over my era_stats.txt file from OOTP25 to OOTP26 I never added an iBB column like OOTP26 has, but the ratios I got for it (OOTP26) were still really good, even before tweaking the modifiers. So, if all else fails, maybe get rid of your iBB column and see if that helps. Crazy, I know, but maybe it'll help.
|
I’ll give this a try and report back how the game responds to a missing IBB column.
Quote:
Originally Posted by kq76
Your PA/AB ratio (1.111) is *maybe* a little low from it should be. It's not crazy low (it has been that low before, but historically it's about 1.123), but considering how small iBB is, I right away thought it could be a problem with PAs and ABs.
I'm really confused by how you're calculating PA. It seems to be (IP_Outs+(H+BB+HB+CI-RunnerOuts)*9IPGames+ROE)/9IPGames? I've never seen anything like that before. Your way might work perfectly fine, but I just think mine is so much simpler and I find, in general, the simpler you do things the less chances for mistakes. Maybe my way is too simple, but I first calculate AB = H + RBOE + RBOFC + non-sac Out (including SO) and then PA = AB + BB + HB + SF + SH + Other, whereas you obviously calculate PA first and then calculate AB from PA. I'm trying to make sense of your formula in my head and it's a struggle. It might be perfectly valid, but I can't help but wonder if something isn't quite right about it.
|
Yeah I was unsure of the best way to go about calculating PAs from the other given stats. The approach i decided on was to sum total outs and all ways to get on base, and then subtract all the ways the runners on base could get out (since that would be double counting as both an out and a batter that reached base). This can be challenging as the ways runners get out include caught stealing, pickoffs, and being thrown out in double plays or outfield assists. In practice, this led to too many subtractions and the PA total was too low, so I used real MLB data and made up a constant to subtract some amount less of the DPs. I am interested in considering another way, but I have no idea how you would get the data for RBOFC or Other?
Quote:
Originally Posted by kq76
Were you starting from a baseline year and tweaking it from there like I do or are you making it all up from scratch? I ask because it might help to know what are targets are and understand how plausible it likely is.
|
I started by looking at the era_stats.txt included with OOTP27. I tried to reverse engineer how each stat was calculated (some of which i did not find an exact formula). I basically am trying to make a league that roughly mirrors the last 15 years of MLB data, so i used averages for much of them (excluding covid year). My desired league totals most closely match 2016 MLB, but i made some changes that made the league leaders more palatable to me.
Quote:
Originally Posted by kq76
-Your AB formula is missing an "other" stat. I mean, yeah, you're subtracting AB+BB+HB+SF+SG from PA, but you're not subtracting interference and obstruction. Are those so small that they shouldn't make a difference? Maybe, but a number of small things could make a difference. I use .005 for my O/G.
|
I include CI as a small amount since that seems to be what it is in game (like 16-24 times per season in a 24 team league, but there’s no stat in the era_stats that controls this). I may have forgotten to subtract it for ABs but that’s pretty minuscule. I haven’t found stats for how often obstruction happens, but figured it was so rare to not really matter. Curious what are the events that would be classified as “Other” PAs? Outside of CI and obstruction, I can’t think of anything that isn’t already covered in another category.
Quote:
Originally Posted by kq76
-I find it odd that you're setting your ratios to /IP instead of to /G. I mean, yeah, I guess you could do that, but it seems to me that it's unnecessarily complicating matters. And yes, I understand that games aren't perfect 9 innings per, they're less than 9, and it looks like you are factoring that in, but I just don't think it's necessary to put them over IP rather than G. Which leads to...
|
See I initially set this calculator up to use team games as the baseline, but then I considered that other leagues with different rule setups might lead to different amount of IP/G on average. For example, I play with modified extra innings off, but if someone were to turn that on, I suspect IP/G would go down due to shorter extra inning games. Considering this, I felt the most natural choice was to make everything scalable to a 9IP game, which notably is smaller than the team games by about 20. Either choice should likely still yield valid results tho, and it clearly works for all other stat categories- I’m only struggling with IBBs (and defense, but that’s a whole other can of worms).
I believe my numbers should be plausible, but it’s a good note about the PA/AB being small. I didn’t think to check that ratio and it’s certainly the most “hand-wavy” of all my calculations. I went to painstakingly lengths to make mostly accurate formulas for everything, but it’s clear there might still be work to do on this. I’ll give it another try on PAs and ABs and see if that helps reduce the issue.