Tuesday, August 30, 2011

A Completely Unnecessary Pitching Metric

There are a number of methods available to evaluate pitcher’s starts on a game-by-game basis rather than the more traditional full season method. There are Game Scores, Support Neutral records, Win Values, and a number of other approaches. There really is no need to add another approach to the mix, and I’m not really going to here--I'm simply going to take a conventional approach for evaluating a full season pitching line and apply it to individual starts.

Of course, I’m not going to claim that this approach is better than the others, because it’s not. It is relatively easy for me to implement, though, and I thought it would be nice to be able to offer a category on my year end stat report for starting pitchers that would consider distribution of performance rather than just aggregate performance as is the case for the rest of the metrics.

The idea is basically to estimate the winning percentage that a team should have over the long haul given the runs allowed and innings pitched of the starting pitcher. I am not using any sort of component RA estimate, and will not bother to explain the implications of this, which I’ll assume you’re well aware of (and thus can also decide for yourself whether you still have any interest in the results). To do this, I use Pythagenpat and assume that the performance of everyone other than the starting pitcher is league average. That is, the offense scores an average number of runs, and the bullpen allows an average number of runs. For the latter, I’m not going to account for the difference between the RA allowed by relievers and the overall league average.

That is not at all an inevitable choice, and if I was trying to construct a perfect metric I wouldn’t do it. But this is so obviously not a perfect metric that the extra effort would be of questionable value. Making that adjustment would also highlight the fact that this approach does not attempt to account for the effect of the number of innings the starter is able to log on the subsequent performance of the bullpen, despite research that suggests there is such an effect. Of course, using the league average doesn’t do anything to address that issue, but it also keeps things simple.

An additional benefit of not making any adjustment for the lower RA of the bullpen is that it allows this metric to be more easily comparable to other metrics that compare the performance of starting pitchers directly to the overall league average--which is a sizeable number. The overall expected winning percentage for the team of a league average starting pitcher at the end of this road will be sub-.500, which while obviously false does in fact match the results of many full season-type metrics.

One thing that cannot be ignored is park effects; the question is how to apply them. One option is to only apply them to the elements of the team other than the pitcher--the bullpen and the offense. I’ll call that option A; option B is to apply the park adjustment only to the pitcher himself.

Option A is a little harder to implement, since there are two adjustments that need to be made. On the other hand, it has some appeal because it allows us to keep the actual run environment of the game rather than recasting it in an imaginary neutral park. I’ve decided to go with Option B because simplicity is a guiding principle here, and because it is more consistent with the way I apply park adjustments to full season metrics. Again, it’s far from an inevitable choice. I’m also assuming that all games are nine innings.

With the thought process out of the way, this isn’t a particularly hard metric to demonstrate. I’ll start simple, with a pitcher throwing a complete game in a neutral park in which he allows zero runs. His expected winning percentage for the game is 1.000.

Seriously, let’s consider a pitcher in a neutral park working seven innings and allowing two runs. I’ll assume it’s an AL pitcher, so we need to know that the 2010 AL average R/G was 4.45 (this is the constant N later). The pitcher’s team can thus be expected to allow 2 + (9 - 7)*4.45/9 = 2.99 runs and score 4.45 runs. This is a 2.99 + 4.45 = 7.44 RPG environment, which has a Pythagenpat exponent of 7.44^.29 = 1.79, and thus the pitcher’s team has an expected W% of 4.45^1.79/(4.45^1.79 + 2.99^1.79) = .671.

We could go through and count up the wins (.671) and the losses (1 - .671 = .329), but I’d rather keep it in rate terms, so the final result will just be the average expected winning percentage across a pitcher’s starts.

To generalize the formula, let N be the league average R/G with R and IP as the runs allowed and innings pitched for the starting pitcher in a particular. Let dPF be the Park Factor without any adjustment so that it can be applied to full season statistics combined for home and road games. For example, the park factors I publish (which are the ones I’ll use here naturally) adjust for this. A 1.03 PF does not mean that the park inflates scoring by 3%--it means that the park inflates scoring by 6%, and is diluted by averaging with 1.00 (neutral park) so that it can be applied to full seasons statistics which are, at least in theory, comprised of one-half home games and one-half road games.

Then:
A (team RA for game) = R/dPF + (9 - IP)*N/9
X (Pythagenpat exponent) = (A + N)^.29
gW% = N^X/(N^X + A^X)

There’s really not much to it when you write it in math rather than English.

I’m very tempted to cap it off by unscrambling it from a W% back into an estimated run average, but I’d rather not deal with the implications of aggregating multiple Pythagorean exponents. One of the advantages of a game-by-game approach is that you’re able to better match performance with the run environment in which it actually occurred, and thus avoid some of the distortions that are inevitable when performance is aggregated across different run environments.

I intend to implement this fully for 2011 starting pitchers (although I might change my mind on that depending on how I feel about the effort/usefulness tradeoff in October), but for now I ran the top five AL starting pitchers from 2010 (IMHO) through the process. For comparison, I’ve included a column called sW% which is based on a traditional use of a pitcher’s full season line to estimate the theoretical W% of his team (albeit without making any adjustment for innings/start):

X = (RA/PF + N)^.29
sW% = N^X/(N^X + (RA/PF)^X)



If you use R and IP as the criteria, Felix Hernandez turned in the best performance of any AL starter, whether you aggregate or consider each game separately. Sabathia and Weaver come out about the same either way, but Lee and Price move in opposite directions when you look at the game level. This implies that Lee’s distribution of runs allowed and innings was such that it would figure to produce more wins than the averages would suggest, with Price the opposite.

This is more of a freak show stat than anything else, but it does provide a relatively simple way to compare starters at the game level on their bottom line results, and if a Cy Young race is particularly close, you may want to consider it. Or you may not; I don’t have a lot of conviction about this, and there are more rigorous approaches available, but there you go.

Tuesday, August 16, 2011

Ramblings on the Percentage of Runs Scored via Home Run

During the early part of the season, the perceived high dependence of the Yankees’ offense on home runs was often fodder for discussion in the mainstream baseball media. The implication was that while the Yankees were scoring a lot of runs, the fact that many of the runs were being scored on home runs was a sign that the performance was either unsustainable or would not be duplicable against quality pitching. The statistic most commonly cited in these discussions was the percentage of runs that scored on home runs. This post is not intended to comment on the sustainability or quality of pitching issues, but rather to offer a quick critique of the “percentage of runs scored on home runs” figure.

If one broadly divides approaches to credit runs to various individuals or events into two categories, there are those that only consider the final outcome (whether the run scored or not, and who did the scoring or the driving in) and those that attempt to assign credit at all steps in the process, even incremental steps that don’t directly push a run across the plate. The former class includes runs scored and RBI, of course, while the second class includes methods like linear weights and Base Runs.

The percentage of runs a team scores on homers obviously falls into the first class, and in fact when you think about it you will realize that the statistic is founded on a RBI perspective. The way a run gets tossed into the “resulting from a home run” bucket is to score on a home run--that is, to be driven in by a home run. Of course, one could also look at the question from the runs scored perspective--what percentage of the runners that score reached base on a home run? This is also very easy to compute, as it is simply the ratio between home runs and runs scored, data that is readily available for any team (whereas the number of runs actually scored on homers is harder to come by).

The RBI-based approach is subject to possible distortions in a manner somewhat similar to the issues with earned runs. If a home run is involved at all, the entire run is chalked up to the homer. Often, the home run is the key event enabling a run, but outside of the batter that actually hits the home run, it is never the only contributing event. In some cases, it is even relatively insignificant. If a home run scores a runner from third with no one out, it really didn’t have a large marginal value with respect to scoring the runner from third--the probability of that runner was scoring was already very high, and any number of other events would have allowed him to score. On the flip side, when a runner on first base with two outs is driven home by a home run, the home run is much more vital to scoring the runner.

The discussion in the last paragraph is making the case from transitioning from the outcome perspective to the run expectancy perspective of linear weights. Using play-by-play data, one can calculate the actual linear weight value of the home runs hit by a team. Such an approach will still be subject to sequencing fluctuations and arguably may not be as predictive as a more context-neutral approach.

One obvious context-neutral approach is to use standard linear weight values applied uniformly to all events to estimate the number of runs contributed by home runs. This figure can then be compared to the total number of runs scored. Using fixed linear weight values, though, this approach ends up boiling down to the ratio of home runs to runs scored, times a constant. For example, if the linear weight value of a home run is 1.4 runs, the result of that calculation will just be 1.4 times the simple home run to run ratio.

The next refinement is to not use actual runs scored at all; this post is going to be way too dry as is, so I won’t even bother trying to explain why mixing actual runs scored with estimated run contributions is a bad idea--it should be relatively obvious. Instead, you can compare the estimated run value of the team’s home runs to the run value of all of its offensive events.

There is a complicating factor in using linear weights (or intrinsic weights derived from a dynamic run estimator as I will in a moment) in this manner--the negative run value of the out. Simply taking Number of Event * Coefficient of Event for every event and dividing by the estimate of runs scored will result in percentages that sum to more than 100%, until outs are subtracted (and outs will have a negative percentage). This means that you can’t use the value literally--if the ratio of 1.4*HR/estimated runs scored is 25%, it doesn’t mean that 25% of the runs were scored because of home runs. Alternatively, one could look only at positive events, but then the denominator is no longer runs at all. As long as the number is viewed as a ratio and not a true percentage contribution, the result can still be useful in measuring the contribution of the home run to the offense.

Using a dynamic run estimator like Base Runs has the advantage of attempting to take into account the interaction between the offensive events rather than just assuming a fixed value. However, in the case of the home run, the additional value of considering dynamism is less than it might be for some other events because the value of a home run stays relatively fixed. The intrinsic value of a home run in BsR is:

((B + C)*A*b - A*B*b)/(B + C)^2 + 1

Where A, B, and C are the total A, B, and C factors for the team, and b and c are the respective B and C coefficients for the home run.

Take this BsR equation:

A = H + W - HR
B = .82S + 2.24D + 3.67T + 2.04HR + .1W
C = AB - H
D = HR

The formula for the intrinsic weight of the HR is:

((B + C)*A*2.04 - A*B*2.04)/(B + C)^2 + 1

I’ve also figured the intrinsic weights for the other events so that I can also show you the percentage of the positive intrinsic linear weight total contributed by home runs (“POS” in the chart below).

With this, we can look at the four different approaches I’ve discussed for 2010. In the chart below, “hr” is the intrinsic LW of the home run, “RonHR” is the number of runs that actually scored on home runs, “%onHR” is the RBI-perspective figure that gets a lot of media play (RonHR/R), HR/R is the run-scored perspective figure (HR/R), BsR% is (hr*HR/BsR), and Pos% is hr*HR divided by the sum of the other products of positive event counts and their respective intrinsic weights.



I’m not going to add much comment on these figures. This list is sorted by BsR%, which I think is the best measure of how large of a share of the offense the home run represented. Toronto was in its own world, of course, with respect to home runs hit and the share of offense contributed by the homer no matter how one estimates it. Also note the fact that the estimated linear weight value of every major league team falls in the [1.401, 1.444] range except for the Jays, 3.7 standard deviations below the mean at 1.355.

Wednesday, August 10, 2011

Sample Simple Limited Input BsR ERA Estimator

In my last post on ERA estimators, I described how my philosophy towards constructing those metrics is predicated on starting with a solid model to estimate runs. By using a solid foundation, you can be confident that, at the very least, your metric will adhere to the fundamental constraints of the run scoring process. The designer retains freedom to experiment and estimate when it comes to selecting the inputs into the model (i.e., what gets filled in for hits, walks, home runs, etc.)

In the article I sort of asserted that this could be done, and while I granted that it might be a more difficult process, I didn’t demonstrate how it could be done. This post will offer an (admittedly simple) estimator using BsR with limited inputs and a lot of estimation. The point is not to develop a metric that anyone will actually use.

I’m going to define plate appearances as AB + W, which can be approximated by IP*2.84 + H + W (it can also of course be calculated from the horribly named BFP column), but I’ll just refer to it as PA in the equations. The BsR equation I’ll be using as a basis is:

A = H + W - HR
B = (2TB - H - 4HR + .05W)*.78 = 1.56TB - .78H - 3.12HR + .039W
C = AB - H
D = HR

We only have direct knowledge of walks. Everything else will have to be filled in using estimation, for which I’ll use the 2010 major league totals. I’m not going to attempt to state any interrelationships between strikeouts, walks, and the events to be estimated--everything will simply be based on a scalar times (PA - W - K), a quantity which I’ll call N (the estimate of N based on IP is IP*2.84 + H - K).

In 2010, the ratio of hits to N was .369; the ratio of homers to N was .04; the ratio of total bases to N was .578; and the ratio of (AB - H - K) to N was .768. Thus:

A =.369N + W - .04N = W + .329N
B = 1.56(.578N) - .78(.369N) - 3.12(.04N) + .039W = .039W + .489N
C = K + .768N
D = .04N
BsR = (W + .329N)(.039W + .489N)/(.039W + .489N + K + .768N) + .04N
= (W + .329N)(.039W + .489N)/(.039W + K + 1.257N) + .04N

To convert to RA, multiply by 9 and divide by (C/2.84), which is a rough estimate of total outs (ideally, you would separate strikeouts from outs in play for this estimate). This is equivalent to multiplying by 25.56 and dividing by C:

Estimated RA = ((W + .329N)(.039W + .489N)/(.039N +K + 1.257N) + .04N)*25.56/(K + .768N)

The range for the estimated RA when applied is not as wide as the range for actual RA, which shouldn’t be a surprise since I intentionally took everything except strikeouts and walks out of the equation and didn’t do anything to amplify their value. For example, the top five starters in the AL in 2010 according to this formula were:



Again, the point is not to offer this as an equation that should be used. It’s simply an illustration of constructing a Base Runs equation while restricting the list of available inputs, yet still estimating each component separately. This same idea can be expanded upon (adding home runs to walk and strikeouts, for instance, would result in a standard DIPS-style estimator, and there are many other possible combinations of inputs), though, to produce a metric that is grounded in the foundation of the Base Runs model. As I mentioned in the previous post, one need not tie themselves to the “dumb” kind of estimation on display here (i.e. assuming that the allowed variables have no ability to improve the prediction of the missing variables).

Sunday, August 07, 2011

JB Shuck, #52

On Friday night, JB Shuck made his major league debut with the Astros. He entered the game as part of a double switch in the top of the fifth, singling in the bottom of the inning and later grounding out to second. On Saturday night, he again entered in a double switch, drawing a walk in the seventh and singling off (literally) John Axford in the ninth. Unfortunately, he also made the last out at third base, trying to advance after Axford’s throw to first ended up in right field.

Shuck is not a top prospect by any respect; he’s a 24 year-old left-handed hitting outfielder who would be stretched in center and doesn’t have any power (career .085 minor league ISO). Was he not in an organization with little talent to begin with that just traded 2/3 of their outfield, he wouldn’t be getting a chance at the majors, and he probably won’t have much of a career. Of course, I would love to be wrong about all that.

Shuck was notable during his OSU career (2006-08) as a two-way player, a type that was always quite rare on Bob Todd coached teams. Shuck was a very good left-handed pitcher for OSU (as you can probably guess, he didn’t have great stuff, but for a Big Ten left-hander he had plenty) and played left or center as well, often batting third.

However Shuck’s career ends up, he has helped to make this a banner year for Buckeyes in the major leagues. Two of his former teammates, Eric Fryer and Matt Angle, also broke in this year, making it the first season with three OSU debuts since 1969 (Steve Arlin, Chuck Brinkman and Fred Scherman). Three Bucks also debuted in 1961 (Galen Cisco, Johnny Edwards and Ron Nischwitz) and 1927 (Arlie Tarbert, Marty Karow and Russ Miller). To put the size of this crop into perspective, during 2000-2009 only three Buckeyes made the majors in total (Nick Swisher, Josh Newman and Scott Lewis).

Along with Nick Swisher (2004 debut) and Cory Luebke (2010), five OSU products have appeared in the majors in 2011. The last time that many Buckeyes played in the majors was 1974; we have a lot of work left to do to reach the highwater mark of nine in 1969. While the three newbies are not really prospects (Fryer probably has the best prospectus on the basis of being a catcher), Swisher is an established quality contributor and Luebke is on his way to establishing himself as such, and the streak of at least one major league Buckeye (which dates to 1990, re-established after a three year drought from 1987-89) appears to be safe for some time to come.

Saturday, July 23, 2011

Saying Nothing About ERA Estimators

If you follow the sabermetric blog/Twittersphere at all (and if you don’t, why on earth are you wasting time here?), I’m sure you can figure out what prompted this post. However, I’m not going to name the metric that has generated discussion about this general topic because this post is not meant to be targeted at anyone, or to be a debunking of a particular metric, or anything other than me expressing my opinion about the construction of ERA estimators. Others have different philosophies and they are welcome to them. This is mine:

First, I find it helpful to classify the inputs and construction of each metric. This is not necessary, but the reason I find it helpful is that the ERA estimators out there are relatively diverse. Compared to the sabermetric metrics that exist for evaluating offense, they are extremely diverse. Almost all offensive rates are built around an estimate of runs created and divided by either outs or plate appearances. Almost all of them start with the traditional results-based batting line.

ERA estimators, on the other hand, are all over the place. Some follow the lead of their batting cousins and use a run estimator as their base, but some are regression-based. Some use actual results, while some use batted ball data. Some use batted ball data but decide to combine the four standard categories (flyballs, line drives, groundballs, and popups) in some manner. Some assume that the pitcher has no control over what happens once the ball is put into play. Some have implicit or explicit regression built-in with regard to balls in play. Some limit themselves only to what happens when the ball is not put into play. Some estimate ERA, and some estimate total runs allowed.

You probably don’t need personally need more than one overall batting metric. That doesn’t mean there shouldn’t be diversity across the sabermetric community--there's nothing wrong with having a number of intelligently designed choices, but as an individual you don’t need both wOBA and True Average--one will suffice. That is not necessarily the case with ERA estimators--sometimes you might be interested in one that is results-based, sometimes you might be interested in DIPS, sometimes you might want to venture out into the uncertain world of batted ball metrics…even when using a common construction (BsR or LW for example), there is arguably a place for two or three or more different variations based on the inputs.

I believe that the most logical place to start with an ERA estimator is estimating runs. That is intentionally written to sound a little silly but it is not a philosophy shared by all developers of these metrics. Some put formulas down on the page that they would never consider using to try to estimate how many runs a team would score. I say that the place to start is with a logical run estimator. Given the team-level nature of the task, that suggests to me the use of Base Runs or another dynamic estimator, but I’m not going to argue too strenuously if you start with linear weights.

This is a path which is not necessarily going to minimize your RMSE, or give the best correlation with future ERA. With respect to the latter, if your goal is to provide the best possible estimate of future ERA, your metric is not attempting to measure how well the pitcher actually performed, it’s trying to forecast how well he will perform in the future. Certain constructions will by their nature be less accurate at estimating ERA in the same period. Every step you take down the path from outcome inputs (hits, walks, home runs, etc.) to component-based inputs (ignoring the actual outcomes of balls in play, or looking at batted ball types, etc.) will cost you accuracy when the standard is same period ERA. However, one can still use accuracy at predicting same period ERA for methods of similar classes.

Beginning the construction of the metric with a model of run scoring avoids some of the problems inherent in using actual pitcher runs allowed. I’m going to gloss over the fact that the number of runs a pitcher allows, regardless of whether it’s from a base period or a future period, is always dependent upon his defense and other factors outside of his control. There are still other concerns that do not apply when looking at true team-level data. The way runs are charged to individual pitchers is biased towards pitchers who inherit baserunners at the expense of those who bequeath baserunners. In practice, that means favoring relievers at the expense of starters, although depending on the performance of the relievers who inherit baserunners, individual bequeathers might actually benefit.

Thus, whenever an approach detects a reliever ERA advantage is detected, some of it is attributable to the way runs are assigned and not to the actual effectiveness of the pitcher. It might even be possible to increase the accuracy of a metric by giving a bonus to relievers. It is entirely unclear to me what benefit this provides other than lowering RMSE. It doesn’t tell you anything about how well the pitchers performed, and it certainly doesn’t help you measure “true talent” any better--if that is the objective, an adjustment in the opposite direction could be warranted.

Another advantage of modeling runs is that you can easily move between RA and ERA. Most sabermetricians prefer RA because of the biases present in ERA and the distortions created by reconstructing imaginary innings sans errors. It’s easy to rescale from RA to ERA by multiplying by a constant like .91. While it’s also easy to divide by .91 to go the other way, if the metric has been tailored to match ERA, you’ve baked the biases of ERA into your metric. This could potentially be most problematic for a regression-based estimator that uses batted ball data. Even if this bias is small, it’s still completely unnecessary.

Finally, the issue of dynamism is one that is often misunderstood with respect to ERA estimators. SIERA trumpets its “interactive” nature in its name (which does distinguish it from FIP and other linear methods) but any metric based on the foundation of a dynamic run estimator is by nature interactive. Instead of the interactivity being limited to target categories, though, every event interacts with every other event. Singles interact with triples, walks interact with home runs, doubles interact with triples, home runs interact with outs, outs interact with themselves...you get the idea (and I think that’s enough talk of events interacting with themselves).

Building your metric around a run estimator does not necessarily restrict you to simply plugging in the numbers in the appropriate place. Suppose you wanted to construct a metric based on batted ball types, strikeouts, and walks. One way to go about it would be to simply go through and estimate singles, doubles, triples, homers, and outs in play based on the percentage of each batted ball type that wind up as each. So, you would end up with equations that might look something like this:

Singles = .057FB + .217GB + .516LD + .017PU

However, if you believe that you have gleaned some other insights into the relationship between events that could improve your metric (such as strikeout pitchers having lower HR/FB rates) , you could still build that in to your formula for estimated home runs, and plug those into the run estimator. It’s more difficult than running a regression, and a more delicate balancing act (at least in terms of developing the formula), but it allows you to stay grounded in a model that estimates runs by taking a first step of, well, estimating runs.

Again, I want to make it clear that I was attempting to explain where I’m coming from when I examine metrics of this type. There is room for legitimate philosophical differences and I’m not trying to state that sabermetricians who deviate from the way I’d do it are engaging in poor practice. It would certainly be possible to develop a lousy metric based on a run estimator and following some of the other suggestions.

Tuesday, July 19, 2011

Scoring Self-Indulgence, pt. 4: Reaching Base

Before I begin demonstrating how plays that result in a batter reaching base are scored, I need to make clear exactly how I divide the scorebox. It’s nothing special; the box is divided into quadrants, one for each base, with first base beginning in the lower right, and the trip around the bases is recorded counter-clockwise from that point (just as in the game itself). The areas for balls and strikes (as well as two-strike fouls, which are not included in the diagram) are ignored if not needed, as are the base quadrants--there are no actual lines in the scorebox, it’s just a way to organize the way the boxes are filled in:



I’ll begin with the on base events that are very simple to score--those where the ball is not put into play. My favorite baseball event, and the reason for the silly name of this blog:



If it happens to be an intentional walk, then I circle the walk symbol (this matches how the ball symbol is circled for an intentional ball):



The close cousin of the walk is the hit batter, which I record so:



Their distant and often overlooked cousin is catcher’s interference. I simply score that play as “INT”:



This is as good of a time as any to discuss on of the minor tenets of my scoring philosophy. As you know, catcher’s interference is also scored as an error on the catcher, which I do not make note of on my sheet. I do not generally see the need to take up space repeating information that can be inferred from other markings. Interference is always an E2, and so interference suffices for me.

Now that stance can definitely be a pain in the butt if you want to go back through the scoresheet and count errors, and in doing so you might overlook the “INT”. But my concern is not in data compilation after the game. If it was, I would use a completely different system of scoring than this one.

I use one of the most common symbolic means of recording hits--the use of dashes in proportion to the number of bases the hit is worth. Thus, the base symbol for a single is a simple dash. I complicate matters a bit by including a hit location code and a symbol for trajectory after the hit; I won’t discuss those here just yet. Suffice it to say that the following is a flyball single to right field:



I use a slightly different symbol for an infield hit; it looks like a plus sign, but really it’s supposed to be the standard horizontal dash for a single with a vertical line of equal length running through it. I use this vertical line to modify the other hit symbols for special cases, as you’ll see below. This is an infield hit on a groundball in the vicinity of the second baseman:



Standard doubles feature two horizontal dashes. This one happens to be a flyball to right-center field:



A vertical dash through the standard double symbol indicates that it is a ground-rule double. This one came on a flyball to left field:



If the reason for the batter being awarded second base was fan interference, I draw a little flag at the top of the ground-rule double symbol, creating a “F” for fan interference; this example is on a fly ball down the left field line:



You can figure out the symbol for triple; this one is on a flyball to center-left:



For the very rare occasion on which an automatic triple occurs, I’d draw a vertical line through the three horizontal lines, but that’s not even worth rendering. Moving on to home runs, they feature four horizontal lines. Since a home run means there won’t be any stops at the bases, the symbol is written large enough to take up the whole box. I denote a run scored by boxing the event that allows the runner to score in his box, so the home run is boxed. I also denote a RBI with an empty circle, so we’ll assume this is a two-run homer on a flyball to right:



A vertical line added to the home run symbol indicates an inside-the-park home run. This example is a solo inside-the-parker on a flyball to right field:



The other main way to reach base is on errors. My basic symbol for an error is the letter “E”, preceded by one of four letter codes: “F” for fielding, “T” for throwing, “C” for catching and “R” for receiving. The quadrant in which the error is recorded is the one for the base on which the batter-runner ends up. A fielding error by the first baseman that results in the batter-runner stopping at first is marked as:



A throwing error by the third baseman which allows the batter to reach second base:



If there is no indication to the contrary, you can assume that the throw was intended for first base. However, sometimes, a batter will reach on a throwing error when the intent of the fielder was to make a play on some other runner. In such a case, I use an arrow and the number of the base (2, 3, or H for home) that the fielder was trying to throw to. In this case a third baseman tried for a force at second, but threw the ball away instead. The batter may have reached anyway, and technically he is considered to have reached on a fielder’s choice, but this is a perfect example of the scoring legalese that I endeavor to avoid:



A catching error by the center field which allows the batter-runner to advance to third base:



A receiving error occurs when a fielder mishandles a throw from another. When allowing a batter to reach base, this almost always means that the fielder who made the throw is given credit for an assist. I note this by recording his position number first, then the position number of the player who (literally) dropped the ball. In this case, the shortstop gets credit for an assist and the first baseman is charged with an error:



In the rare event of a four-base error, it would be written across the scorebox and boxed in a similar fashion as the home run.

I will now look at the miscellaneous means of reaching base. One is a strikeout plus a wild pitch or passed ball. While such strikeouts are almost always swinging, it is possible to have a passed ball on a called strike three, in which case the K is backwards:





If a batter reaches on a fielder’s choice, I use the obvious code “FC”. Some people make scoring legalese distinctions between fielder’s choices and forceouts, but as you can guess by now, I don’t consider that necessary. It’s helpful to record the initial fielder, since that indicates where the ball was hit. This example is a fielder’s choice initiated by the shortstop:



If appropriate, a hit trajectory modifier (like bunt or chop) can be added to the fielder’s choice code above the fielder’s number.

A similar case is the rare double play that allows a batter to reach base. The most common type of this play is an failed attempt to turn a triple play on a groundball to third. If the third baseman tags the bag, throws to second for the force, and the batter still reaches at first, you could have:



Sacrifice hits and sacrifice flies can also occur in tandem with a runner reaching base, sometimes without an error in the case of a sacrifice hit. Suppose the pitcher makes an unsuccessful attempt at retiring the runner at second on a bunt attempt, but no error is charged and the scorer credits a sacrifice:



There could be an error as well; suppose that the catcher attempts to make a play on the lead runner and throws the ball into center field, with an error charged for allowing the batter to reach second and the runner to reach third, but the SH credited as well:



Finally, a batter might get credit for a sacrifice fly and reach safely when an outfielder fails to make a catch. Suppose that happened with the right fielder:

Sunday, July 17, 2011

Matt Angle, #51

The Orioles beat the Indians 8-3 today, but overall the game was great for me as Buckeye product Matt Angle made his major league debut, leading off and playing left field. Angle grounded out three times against Jeanmar Gomez, then drew a walk against Joe Smith. Angle is now the fifty-first OSU product to play in the majors, although the unconfirmed list I maintain is now up to sixty. Angle played at OSU from 2005-2007 and was a seventh round pick in '07 by the Orioles.

Unfortunately, Angle's upside is probably fifth outfielder. At OSU, he was a good center fielder and leadoff hitter, getting on base a ton but not hitting for much power. In the minors, he has been a similar type of player with a career .285/.372/.350 line. Angle can certainly help a team as a pinch-runner/defensive replacement, but he's yet to display a consistent ability to get on base at the highest levels of the minors (his AAA OBA is .336 in 765 PA).

Whether he has much of a career or not, he's in the encyclopedia forever now, and that's an awesome thing. Jack Shuck might be the next best hope for a Buckeye in the majors, but his AAA line is similar to Angle's without the speed (.267/.375/.321). Of course, in the Astros system...

Tuesday, July 12, 2011

Crude Team Ratings at the All-Star Break

Crude Team Ratings are a system I put together last year to adjust team records for strength of schedule. The resulting value is expressed on a scale where an average team gets 100, and the numbers themselves can be plugged directly into an odds ratio calculation. If a team with a rating of 120 plays a team with a rating of 90, they should win about 120/(120 + 90) = 57% of the time. Because of the way the ratings are calculated (explained in the linked article), a rating of 100 does not mean a .500 team--a .500 team will actually be a shade below 100 in a normal league.

The ratings are similar in theory to those published elsewhere, and so there’s nothing particularly unique or interesting about them. But I felt that the All-Star break was a logical point to stop and take a look at the ratings as they stand, both because interleague play is now complete and we can get a better read on the difference between the leagues, and because having some idea about strength of schedule to date (and in the future, although I haven’t figured that here) is helpful when handicapping the pennant races.

I will run through three sets of CTRs--one based on win/loss record (CTR), one based on R/RA (eCTR), and one based on RC/RC Allowed (pCTR). I prefer the latter two, especially at this point in the season, but you could also do a combination or factor in projections. I slapped the “crude” label on them in the name for a reason.

First, here are the CTRs based on actual win/loss record:





The league ratings (which are simply the average rating of the division or league’s members) show the AL with a much smaller advantage over the NL than in recent years. However, as you’ll see, the AL advantage grows as we move further away from actual record towards component record.
CTRs based on expected record (runs scored and allowed):



The top three teams remain the same for the three approaches, but each time a different club is ranked #1. Houston actually starts to look a little better as you go and only shares last place on the predicted list:





Boston’s component record has easily been the most impressive in MLB to date when adjusted for schedule. The Giants have played the weakest schedule by any measure and here only appear to be an average club. Pittsburgh has both exceeded its component record and benefitted from a weak schedule. Cleveland comes out better, as essentially an average team, and I was surprised to see that the Tribe has actually played a tough schedule.

Actual record gave the NL East the distinction of best division, but here the AL East returns to its customary position. The Centrals and the NL West are the weak divisions, the most notable element of which is that the NL Central is not alone at the bottom of the barrel as they were in 2010.

Finally, here is a freak show way of comparing the performances of teams so far in 2011 to what they did in 2010. The first column shows each team’s 2011 pCTR to date; the second column is their 2010 pCTR; and the third column is the implied winning percentage of the 2011 team against their 2010 predecessors. Of course, I’m comparing full seasons to (slightly more than) half seasons, not applying any regression, and presenting it as a W% is just a cute trick device. (Doing so if one takes the result seriously also implies that an average team is equally good in 2010 and 2011):



The Pirates and Indians being near the top of the list won’t surprise anyone, but the Red Sox while really good last year have been great so far. The range (if not the standard deviation; I’m not going to bother) of theoretical this year v. last year W% is pretty close to what you’d expect for a range of team W% in the current season.