<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jacob Danovitch on Medium]]></title>
        <description><![CDATA[Stories by Jacob Danovitch on Medium]]></description>
        <link>https://medium.com/@danolytics?source=rss-bbef2d10b679------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8aurVAx42p2DYTnMKsX6-g.jpeg</url>
            <title>Stories by Jacob Danovitch on Medium</title>
            <link>https://medium.com/@danolytics?source=rss-bbef2d10b679------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 11:36:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@danolytics/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Pythagoras and WAR in the NBA]]></title>
            <link>https://medium.com/danolytics/pythagoras-and-war-in-the-nba-81309c827b45?source=rss-bbef2d10b679------2</link>
            <guid isPermaLink="false">https://medium.com/p/81309c827b45</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[basketball]]></category>
            <category><![CDATA[sports]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[visualization]]></category>
            <dc:creator><![CDATA[Jacob Danovitch]]></dc:creator>
            <pubDate>Mon, 17 Jul 2017 19:30:30 GMT</pubDate>
            <atom:updated>2017-07-17T19:31:46.678Z</atom:updated>
            <content:encoded><![CDATA[<h4>Transferring common team and player evaluation methods from baseball to the NBA.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-gm3gZqtVEbJm4BucDuPIQ.png" /></figure><p>Baseball has set a strong example for the crowd in evaluating players and teams, retrospectively and predicatively. <strong>W</strong>ins <strong>A</strong>bove <strong>R</strong>eplacement, or <strong>WAR, </strong>is the intuitive concept of comparing a player’s production to the kind of player who would replace him if he was ever injured, traded, or otherwise replaced. Not only is this useful for individual evaluation; Accumulating each player’s WAR and adding a baseline of what a team full of replacement players would win has given us a strong predictor of a team’s win total.</p><p>Another way to predict a team’s win total is using Pythagorean Win/Loss. This is another concept popularized by baseball, even making an appearance in the Moneyball movie.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/1*CjrGUKQsRlhtiIitrbANcg.jpeg" /><figcaption>Not just for right-angle triangles</figcaption></figure><p>Pythagoras is also fairly intuitive; it makes good sense that a comparison of a team’s <em>“points” </em>for and against gives us a strong idea of the quality of the team. From sport-to-sport, the exponent in the function changes. In hockey, soccer, and baseball, a squared exponent is effective; however, sports like football and basketball, a different exponent is necessary. This is due to the impact of skill versus luck on the outcome of the game; a higher exponent is reserved for sports whose outcomes are more skill based.</p><p>I solved for the appropriate exponent by cheating, a bit. With my data in excel <em>(groan)</em>, I set up two equations: one for the Pythagorean expectation for each team (linked to a separate static cell holding the value of the exponent), and one with the R-squared value comparing my Pythagoras value to the observed wins value. I used the goal-seek function in Excel to set the value of my R-squared to 1 (or as close to it as possible) by changing the value of my exponent, and Excel cycled through all values and found that the value of approximately 16 creates a strong relationship. This corroborates with <a href="http://www.rawbw.com/~deano/methdesc.html#pyth">Dean Oliver’s finding</a> of 16.5 as the ideal exponent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4EsX7czEukhJCT1o4wh3KQ.png" /><figcaption>There’s a strong, statistically significant relationship; Pythagoras explains 93% of the variation in observed wins.</figcaption></figure><p>I also wanted to formulate estimates of individual player talent. I don’t have my own points added model, but I frequently use <a href="http://nbamath.com/tpa-database/nba-2016-17-tpa-scores/">NBAMath’s TPA model</a>, which is extremely well done. Until I compile my own model, I used their points added model and converted points to wins.</p><p>In order to do this, I used the method of <a href="http://www.fangraphs.com/library/misc/war/converting-runs-to-wins/">Pythagpat found on Fangraphs’ site</a> (adapted to basketball). I found that one win is worth about 34.5 points added. This gave me an idea of how many wins above average a player contributed. However, I then had to evaluate replacement level. Following <a href="http://tangotiger.com/index.php/site/comments/what-is-a-replacement-level-nba-player">Tom Tango’s example</a>, I compared the wins above average of the top 270 players (therefore assuming 9 man rotations per team) to the remaining in the dataset. I found that the remainder of the dataset (our replacement players) would win about 14 games less than average. An average NBA team wins (82*0.5) 41 games, so our replacement team wins 27 games per year.</p><p>My initial sense is that this number is slightly high; in baseball, a replacement team wins just under 30% of their games, whereas 27 games in basketball is about 33%. My initial attempt to explain the slight discrepancy is that baseball, on the whole, tends to be much more efficient in playing the best players the most minutes. Baseball teams have little incentive to intentionally fail, as the reward for losing (the draft) is still largely random. However, basketball is undergoing something of a tanking epidemic, wherein teams are heavily incentivized with the idea of a superstar talent to lose more games. It’s not too far of a stretch to imagine that teams are playing worse talent than readily available in free agency, especially with a robust European basketball system. Basketball teams may also simply not be as efficient in identifying and maximizing the minutes of quality players, even when trying to win.</p><p>With 27 wins per season over a 9-man rotation, this allowed me to credit each player a replacement level value of 3 wins per 82 games (which I converted to a per-minute basis and prorated). This finally gave me a WAR value for each player.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XlfrUjkgO9Z-ejz0mOiF4Q.png" /><figcaption>Converting NBAMath’s OPA and DPS to wins and adding replacement level gives us WAR.</figcaption></figure><p>There are some interesting players on the top end. In the MVP race, we see…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U07ijYNDle6kAjj6uLTa2w.png" /><figcaption>Kawhi Leonard just missed the cut</figcaption></figure><p>Russell Westbrook dominates both offensive and defensive WAR. Westbrook, having a reputation for being a bad defender, is an interesting case. His rebounding may contribute to points saved on the defensive end, or perhaps some randomness in his opponents’ perimeter shooting. Unfortunately, as is the case with more meta-estimates, we don’t have the components to add together. To see the worst players, you can visit the link at the end of the article.</p><p>Adding together the WAR for each team’s players shows a strong predictive relationship as well. I’m fairly sure that the reason that the R-squared is slightly lower than with Pythagoras is because the team sums are slightly inaccurate; I did not go through each player who switched teams and compile their stats for each team, instead simply assigning as many as I could to the team with which they played the majority of their minutes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t_UI12y3_xmoc4VARLFtAg.png" /><figcaption>Another statistically significant and strong relationship, where WAR explains 89% of the variance in win totals.</figcaption></figure><p>While points added gives us an interesting idea of player impact, WAR allows us a tangible, concrete evaluation of player impact. WAR also allows us to create a financial framework with which to value players. Again using Tango’s process, I found the cost of an additional win added to be approximately $3.1 million. <strong>The values for each player can be found at </strong><a href="https://public.tableau.com/profile/jacob.danovitch#!/vizhome/NBAPlayerWAR/NBAPlayerWAR?publish=yes"><strong>my interactive visualization here.</strong></a></p><p>As well, you can find my <a href="https://public.tableau.com/profile/jacob.danovitch#!/vizhome/NBAPythagoras/Dashboard1?publish=yes"><strong>team Pythagoras and WAR totals here.</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81309c827b45" width="1" height="1" alt=""><hr><p><a href="https://medium.com/danolytics/pythagoras-and-war-in-the-nba-81309c827b45">Pythagoras and WAR in the NBA</a> was originally published in <a href="https://medium.com/danolytics">Danolytics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pitch-Level Win Expectancy]]></title>
            <link>https://medium.com/danolytics/pitch-level-win-expectancy-274ea9d3b7ad?source=rss-bbef2d10b679------2</link>
            <guid isPermaLink="false">https://medium.com/p/274ea9d3b7ad</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[baseball]]></category>
            <category><![CDATA[sports]]></category>
            <dc:creator><![CDATA[Jacob Danovitch]]></dc:creator>
            <pubDate>Wed, 08 Feb 2017 03:02:59 GMT</pubDate>
            <atom:updated>2017-07-10T03:14:07.604Z</atom:updated>
            <content:encoded><![CDATA[<p>Following Sunday’s annual “Tom Brady is <em>actually </em>the greatest”-fest, win expectancy has been under the microscope. The Falcons topped out at about a 99.8% to win the Super Bowl, and ended up losing.</p><p>There are many who decry win expectancy as being “wrong,” given that an extremely unlikely event occurred. People tend to be poor at differentiating, say, 0.2% from 0%. This post won’t debate the merits of win expectancy; it’s written under the operating assumption that the reader is familiar with it, and finds it useful to know that in a particular situation, there is approximately an <em>x% </em>chance of winning. I also don’t particularly care for football. This is a baseball blog. There’s even a big baseball player in the top left and everything.</p><p>In fact, it’s entirely circumstantial that win expectancy is a popular topic right now. For the last month, I’ve been working on finding the win expectancy for any given “state” in baseball. An example of a “state” would be (from the perspective of the home team):</p><blockquote><em>Top 7, 1 out</em></blockquote><blockquote><em>2–2 count</em></blockquote><blockquote><em>Bases loaded</em></blockquote><blockquote><em>Up by 5</em></blockquote><p>So I want to be able to say what the win expectancy was in this situation.</p><p>To begin, I scraped all pitch f/x data from the 2010–2016 seasons. You could say this took a while. I encoded the base-states to be binary (they originally contained the ID of the player on that base), and made a minor alteration to the game table to be able to join it to the pitch and atbat tables.</p><p>The biggest problem I experienced during this project was that the atbat table’s score values (the score of the game for each at bat) only existed every time the score <em>changed.</em> So a game would start NULL NULL NULL … until the first run, where it would be 1–0… and then back to NULL NULL NULL. I set the score for each game to be 0–0 where it was the first at bat of the game, and filled every NULL value with the previous non-NULL value.</p><p>Following that, the project got a lot easier. I grouped my data by the state outlined previously, and calculated the win expectancy. As well, I included the number of occurrences in my query. Many of the tail-end states (bottom 1, score is 10–0 … you get the idea) had occurrences as small as having happened just once in 6 years of data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*xILxVhY8CSHN7NnM." /></figure><p>The black lines indicate two things. Firstly, the lateness of the situation within the game For example, at 2, there is a fairly long black line. Around 50% win expectancy, we can assume that the game is still a toss up, so it’s likely an early game. As the win expectancy surpasses it, we can assume that the game is getting later, as the importance of the lead grows; or, vice versa.</p><p>Secondly, a denser line indicates a higher number of observations. Clearly, on the tail ends, there aren’t many observations.</p><p>Obviously, plotting multi-level data as this isn’t exactly representative of any new information. But this helps to visualize the problem; on the tail ends, there is very little information, and if Sunday is any indication, people pretty much only care about the tail ends! To combat this, I used a logistic regression on my collection of states, weighted by the number of occurrences.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*OAKSRd7EwKkokylV." /></figure><p>Much nicer. Again, a graph here isn’t super representative- but shows how having an estimate from a model helps us with the tail ends.</p><p>Some of you may wonder why I included 2016, as that would normally be reserved for out-of-sample testing. I included 2016 data for two reasons:</p><p><strong>1. There is a limited quantity of data that I can use.</strong></p><p>When dealing with run-environment, it can be a little suspect to go too far back in your data. For example, it is much easier to come back from an 8 run deficit at the heart of the steroid era, where runs are plentiful, than it would be several years ago, when scoring was down across the board.</p><p>This further limits the data we’re working with here. It’s already pretty limited; there are 4,860 games per year, but we’re working with a very constrained analysis here. There already many states that have between 1–10 times occurred (41 556, actually). An extra year of data is extremely useful in combating this.</p><p><strong>2.</strong> <strong>I can’t really out-of-sample test, anyway.</strong></p><p>Continuing the theme of “give me more data,” there will be many states that simply never occurred in 2016. After all, with so many that didn’t occur more than 10 times in 6 years, it’s likely that a big chunk of the database won’t even exist from 2016. Seriously, give me more data.</p><p>As well, to be fully forthcoming: my calculus class just started derivatives, and my data class just did z-scores. Even if I did out-of-sample testing, I wouldn’t know how to evaluate the accuracy of the model. (R² need not apply; it can’t be used for logistic regression)</p><p>Medium unfortunately does not support Tableau embedding. <a href="https://public.tableau.com/views/WinExpectancy/WinExpectancyGraph?:embed=y&amp;:display_count=yes">You can, however, see it here (link).</a></p><p>Thanks for reading! This was my first somewhat large-scale baseball study. There’s a very real chance that parts of this data are inaccurate due to coding/logic/general errors; the code will be on <a href="https://github.com/jacobdanovitch">my Github</a> shortly in case. This is only the first part of this project; there are lots of ways this information itself can be applied.</p><p><em>Note: The initial publication of this data contained small errors in the count information. This likely did not affect results significantly, but has since been updated regardless.</em></p><p><em>Originally published at </em><a href="https://danolytics.wordpress.com/2017/02/08/pitch-level-win-expectancy/"><em>danolytics.wordpress.com</em></a><em> on February 8, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=274ea9d3b7ad" width="1" height="1" alt=""><hr><p><a href="https://medium.com/danolytics/pitch-level-win-expectancy-274ea9d3b7ad">Pitch-Level Win Expectancy</a> was originally published in <a href="https://medium.com/danolytics">Danolytics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What was Marco Estrada’s monthly spin rate in 2015?]]></title>
            <link>https://medium.com/danolytics/what-was-marco-estradas-monthly-spin-rate-in-2015-ecb6403991fe?source=rss-bbef2d10b679------2</link>
            <guid isPermaLink="false">https://medium.com/p/ecb6403991fe</guid>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[sports]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[baseball]]></category>
            <dc:creator><![CDATA[Jacob Danovitch]]></dc:creator>
            <pubDate>Mon, 19 Sep 2016 00:01:44 GMT</pubDate>
            <atom:updated>2017-07-10T03:06:07.571Z</atom:updated>
            <content:encoded><![CDATA[<p>Finally got around to creating a full Pitch F/X database, at least for the 2015 season.</p><p>Decided to mess around with something small and look at Marco Estrada’s average FB spin rate by month in 2015. First I joined the pitch and atbats table and then filtered to Estrada. Then I made a function to calculate the average spin rate for a given start/end.</p><blockquote><em>#function to calculate avg spin for given start/end<br> avgspin &lt;- function(start, end){</em></blockquote><blockquote><em>filt = filter(estrada15, date &gt;= start, date &lt;= end) #filters to date range mean(filt$spin_rate) #averages</em></blockquote><blockquote><em>}</em></blockquote><p>Then I applied that to every month.</p><blockquote>#monthly spins<br>spins &lt;- c(<br>avgspin(“2015_04_1″,”2015_04_31”),<br>avgspin(“2015_05_1″,”2015_05_31”),<br>avgspin(“2015_06_1″,”2015_06_31”),<br>avgspin(“2015_07_1″,”2015_07_31”),<br>avgspin(“2015_08_1″,”2015_08_31”),<br>avgspin(“2015_09_1″,”2015_09_31”),<br>avgspin(“2015_09_31″,”2015_10_31”)<br>)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*GYqVC39P50OUym7Kf-_Iuw.png" /><figcaption>Marco Estrada monthly spin rate 2015</figcaption></figure><p><em>Originally published at </em><a href="https://danolytics.wordpress.com/2016/09/19/estrada-spin-rate/"><em>danolytics.wordpress.com</em></a><em> on September 19, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ecb6403991fe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/danolytics/what-was-marco-estradas-monthly-spin-rate-in-2015-ecb6403991fe">What was Marco Estrada’s monthly spin rate in 2015?</a> was originally published in <a href="https://medium.com/danolytics">Danolytics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Creates Perceived Velocity?]]></title>
            <link>https://medium.com/danolytics/what-creates-perceived-velocity-5df8dfde8bf?source=rss-bbef2d10b679------2</link>
            <guid isPermaLink="false">https://medium.com/p/5df8dfde8bf</guid>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Jacob Danovitch]]></dc:creator>
            <pubDate>Fri, 19 Aug 2016 01:48:42 GMT</pubDate>
            <atom:updated>2017-07-10T02:58:55.276Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="http://www.fangraphs.com/fantasy/the-change-secretly-bad-fastballs/">Eno Sarris recently posted an article</a> about a topic I’m very interested in. He discusses the pitchers that have the biggest differences between their recorded velocity and perceived velocity. They do so using a pitcher’s extension, or how close to home they release the baseball. I decided to graph the effects of this with R, using just the starting pitchers (and Trevor May who really should be a starter) as an exercise in data visualization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*gjn34am-5ffUROd9." /></figure><p>I used ggplot2 to create the plot, ggrepel to apply the labels, and grid to apply the R² text. Obviously the R² is meaningless (perceived FBv is created from extension; this is not new) but it was an extra challenge/thing to learn so why not.</p><blockquote><em>data &lt;- read.csv(“file”)</em></blockquote><blockquote><em>model &lt;- lm(Diff ~ Extension, data = data)</em></blockquote><blockquote><em>library(ggplot2)</em></blockquote><blockquote><em>p1 &lt;- ggplot(data=data, aes(x=Extension,</em></blockquote><blockquote><em>y=Diff))</em></blockquote><p><em>Originally published at </em><a href="https://danolytics.wordpress.com/2016/08/19/what-creates-perceived-velocity/"><em>danolytics.wordpress.com</em></a><em> on August 19, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5df8dfde8bf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/danolytics/what-creates-perceived-velocity-5df8dfde8bf">What Creates Perceived Velocity?</a> was originally published in <a href="https://medium.com/danolytics">Danolytics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Graphing Predicted Velocity, or xMPH]]></title>
            <link>https://medium.com/danolytics/graphing-predicted-velocity-or-xmph-2e00023c06ed?source=rss-bbef2d10b679------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e00023c06ed</guid>
            <category><![CDATA[baseball]]></category>
            <category><![CDATA[sports]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Jacob Danovitch]]></dc:creator>
            <pubDate>Tue, 16 Aug 2016 05:49:29 GMT</pubDate>
            <atom:updated>2017-07-10T03:10:06.650Z</atom:updated>
            <content:encoded><![CDATA[<p>Today I reached the section of Analyzing Baseball Data with R, in which traditional graphing was covered. The section taught bar graphs, line graphs, scatter plots, boxplots, stripcharts and the like. It ended in several activities, such as this comparison of the cumulative sum of home runs of four pretty decent hitters:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*4AEplwIEXqeu9Z1lMBIozw.png" /><figcaption>what am i doing</figcaption></figure><p>Not sure if that’s how the legend is supposed to appear.</p><p>Having learned (?) this, I decided to prepare several graphs of the data I analyzed from Driveline. There’s nothing new here, just a representation of my research.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*OUU8XT-1PRdsAjYDYPNgVw.png" /><figcaption>boxplot for each athlete</figcaption></figure><p>I started off with a boxplot. This shows the velo range for each athlete, 1 through 5. As you can see, athlete 3 was expected to have thrown the hardest, projected between 79 and 84.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*hwzXFfu-AC9hyxs2Y5IE8g.png" /></figure><p>The second graph I created was made with plotrix and plotCI(). I plotted the upper and lower fits as error bars as well as the predicted fit (xMPH). Each athlete got 20 throws, so each denomination of 20 is a new athlete as shown by their grouping on the graph. Athlete #2 had a good deal of variation in his throws relative to others.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*ASykXmVmSBsfUlzGSJtVqQ.png" /></figure><p>This is just a basic plot showing the xMPH by throw. As we can see, there are small spikes here and there but all in all, there’s nothing to suggest any fatigue after the 20 pitches.</p><p><em>Originally published at </em><a href="https://danolytics.wordpress.com/2016/08/16/graphing-predicted-velocity-or-xmph/"><em>danolytics.wordpress.com</em></a><em> on August 16, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e00023c06ed" width="1" height="1" alt=""><hr><p><a href="https://medium.com/danolytics/graphing-predicted-velocity-or-xmph-2e00023c06ed">Graphing Predicted Velocity, or xMPH</a> was originally published in <a href="https://medium.com/danolytics">Danolytics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Can Velocity Be Predicted With Biomechanics?]]></title>
            <link>https://medium.com/danolytics/can-velocity-be-predicted-with-biomechanics-91f4cf0bee98?source=rss-bbef2d10b679------2</link>
            <guid isPermaLink="false">https://medium.com/p/91f4cf0bee98</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[sports]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[baseball]]></category>
            <dc:creator><![CDATA[Jacob Danovitch]]></dc:creator>
            <pubDate>Fri, 12 Aug 2016 06:02:37 GMT</pubDate>
            <atom:updated>2017-07-10T02:53:40.790Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*2jxqhV-wJK2pl0Kn." /></figure><p>Using Kyle Boddy and Driveline’s <a href="https://www.drivelinebaseball.com/2016/07/27/pitching-velocity-and-its-effect-on-ucl-stress-using-the-motus-sleeve/">MOTUS data</a>, I thought I would take a look at something that’s probably only useful to me. I might purchase the sleeve but I certainly don’t have a radar gun handy, so i wondered if it would be possible to project an MPH reading with the MOTUS data. There’s gotta be some info from what goes on in your arm to help figure out how hard you throw, right?</p><p>I took Boddy’s data and “formatted” it into something R could read. Didn’t go particularly well. Made such a mess that I ended up reformatting it after a few hours of trying. I didn’t want to reformat earlier, though, because trying to decipher the hundreds of error messages R spat at me (highlight: “You have 19 warnings”) actually taught me quite a lot about how R works.</p><p>Once I got the data in it was obviously straightforward. I used leaps’ regsubsets to narrow down my variables (and then took another one out later), but with no predict() I had to also make a lm(). My model uses the arm slot of the release and the stress on the elbow, or the valgus torque, measured in Newton metres (nm). Both had extremely strong p-values below 0.05, meaning that their relationship was unlikely to have been a product of variance and is statistically significant. The model showed a strong .8756 adjusted r-squared and had an RMSE of 1.51. In conclusion, this means that the arm slot on release and valgus torque on the elbow are significant predictors of velocity; this model explained 87.56% of the variance in velocity in the sample, and was, on average, within 1.51 MPH of accuracy.</p><p>This model has not been tested out of sample. Hopefully, I will be able to do my own out of sample testing if I can get my hands on a radar gun and MOTUS.</p><p>This is definitely irrelevant to most people. But it should help people like me (especially me!) who might have a MOTUS for monitoring an arm injury or just general progression, and do not have a radar gun handy. Obviously this could never replace a radar gun, but it could be useful for getting a general sense of velocity. It could be used to notice larger changes in velocity over time (such as month to month progress, assuming there is progress!), but would likely not be effective day to day as velocity is unlikely to vary by more than 1.51 mph that quickly.</p><p><em>Originally published at </em><a href="https://danolytics.wordpress.com/2016/08/12/can-velocity-be-predicted-with-biomechanics/"><em>danolytics.wordpress.com</em></a><em> on August 12, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91f4cf0bee98" width="1" height="1" alt=""><hr><p><a href="https://medium.com/danolytics/can-velocity-be-predicted-with-biomechanics-91f4cf0bee98">Can Velocity Be Predicted With Biomechanics?</a> was originally published in <a href="https://medium.com/danolytics">Danolytics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Archive: The Implications of Re-Signing David Price (11/04/2015)]]></title>
            <link>https://medium.com/danolytics/archive-the-implications-of-re-signing-david-price-11-04-2015-238eb7a2b47c?source=rss-bbef2d10b679------2</link>
            <guid isPermaLink="false">https://medium.com/p/238eb7a2b47c</guid>
            <category><![CDATA[sports]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[baseball]]></category>
            <dc:creator><![CDATA[Jacob Danovitch]]></dc:creator>
            <pubDate>Wed, 04 Nov 2015 12:00:00 GMT</pubDate>
            <atom:updated>2017-07-10T02:51:44.062Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>The following article appeared on BreakingBlue.ca on November 04, 2015, published under my name. You can find the original article </strong><a href="http://www.breakingblue.ca/2015/11/04/the-implications-of-re-signing-david-price/"><strong>here (link).</strong></a></p><p>Alex Anthopoulos rocked the baseball world on July 30th, 2015, acquiring ace David Price from the Tigers in exchange for top prospect Daniel Norris, Matt Boyd, and Jairo Labourt, officially cementing the Blue Jays as contenders and AL East favorites. While the value of the deal was questionable, it sent ripples throughout the league, and sent Blue Jays fans into a state of frenzied excitement.</p><p>Fast forward three months. After posting 2.7 WAR for the Blue Jays in 11 crucial starts for the Jays down the stretch, Price endured a rocky postseason with a 6.17 ERA that gave him the label of a playoff choker (despite his advanced metrics all suggesting he was the same old David Price). He was asked to pitch out of the bullpen, and the organization was widely criticized for his handling. Now, with Alex Anthopoulos moving on to greater other? unknown opportunities, and new management being brought in, the biggest question that looms over the organization at the moment is what will happen with David Price.</p><p>The common consensus among the fan base seems to be a strong urge to bring back Price. Seemingly fitting in with the culture of the clubhouse perfectly, Price is a true ace in all aspects of the word, something the Blue Jays have lacked since the days of Roy Halladay. With word breaking that the budget is <a href="https://twitter.com/rwesthead/status/660203182405132288">expected to come in at $140 million,</a> fans are clamoring that with the $32 million the Jays have found in budget room (with roughly $108m filed away between guaranteed salary and arbitration projections), it should be used to bring back the new-found clubhouse favorite and ace.</p><p>That’s a large financial commitment to be making, though. Price will command hundreds of millions of dollars! Let’s take a look at just what it might take.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/0*LUwiFY0AcbLFfwHF.jpg" /></figure><p>(Nathan Denette / The Canadian Press)</p><h3>Re-Signing David Price</h3><p>Looking at the players comparable to Price who have signed extensions in recent years, we’ve seen Max Scherzer and Clayton Kershaw get average annual values of over $30 million per year, while pitchers like Justin Verlander, Jon Lester, Felix Hernandez, and Zack Greinke have gotten amounts nearing or over $25 million. As well, there’s the question of whether or not it’s even a sound investment. While I’m sure we can debate over how many years Price is going to get, a reasonable ballpark is probably within the realm of 8 years. Price just turned 30 and is likely the leading starting pitching candidate on the market, with the age advantage on Greinke and the performance advantage on Cueto. With Scherzer garnering $30 million per year, that seems like a reasonable comparison to Price, which would make the contract something like 8 years, $240 million.</p><p>Over the course of the contract, with the price of a win inflating at a conservative estimate of 5%, Price would need to post approximately 24 WAR over the 8 years of the contract. This averages out to 3.0 WAR per year, and would provide market-priced (hah) production. With Price’s 3.9 WAR/180 mark over his career, this seems like a reasonable enough expectation. With Price projected for 5.1 WAR next year, if he declined at a reasonable rate of 0.5 WAR/annum, he could end up with somewhere around 27 WAR, giving him a rough value of $258 million. That’s $18 million above his contract, or a slight asset. This is represented in the following table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*D_mS3AS4NSpQQBEv." /></figure><p>*Break-even is the WAR figure required to match market value on the year’s salary</p><p>So as we can see, it looks like your typical big-money contract, maybe a little better. The last year of the deal is really ugly, but looking at the sum of the parts, it looks like a fair deal. However, Price’s production relative to his contract isn’t the only consideration in re-signing him. Far from it.</p><p>(Fred Thornhill / Canadian Press)</p><h3>The Problem With Re-Signing David Price</h3><p>While Price might be the biggest question for the Blue Jays this offseason, he’s not the only question. The only pitchers currently slotted into the rotation next year are Marcus Stroman and R.A. Dickey. Mark Buehrle is retiring, more than likely; Drew Hutchison is coming off of a disastrous year in which he lost his spot in the rotation; and it’s looking unlikely that the price tag will align itself with Marco Estrada, especially with a DIPS-conscious president in Mark Shapiro. With that leaving Stroman and Dickey as the only two starters, that leaves 3 rotation spots open. As well, the club will be investigating potential contract extensions for playoff heroes Jose Bautista and Edwin Encarnacion, and, perhaps, for MVP candidate Josh Donaldson. That’s quite the number of potential expenses coming up, and it’s not like they can simply be ignored.</p><p>The Blue Jays already have long-term contracts committed to Troy Tulowitzki and Russell Martin worth $20 million each for 2017. When you consider that Bautista, Encarnacion, and Donaldson will all almost certainly make $20 million or more, that’s more than $100 million committed to just 5 players, or 12.5% of the 40-man roster. With Price, that could mean as much as an extra $30 million, making $130 million committed to just 6 players in 2017. Keep in mind, these players will all be over 30 years old. If you’re wondering where you’ve seen this movie before, it’s the Philadelphia Phillies; the Phillies had $134,735,722 committed to 9 players in 2012, with $41.5 million committed between Roy Halladay and Cliff Lee. This has ended in the albatross given to Ryan Howard being immovable (which is saying something, considering Vernon Wells found a new home, as did Matt Kemp), and the Phillies being completely devoid of young talent, saddled for years with large contracts. Their General Manager, Ruben Amaro Jr., has recently found a new home as the Red Sox first base coach.</p><p>The new President of your Toronto Blue Jays, Mark Shapiro, doesn’t exactly seem like the type to have a nucleus of expensive veterans, and one must wonder if, beyond considering re-signing Price, he’s even considering moving one or both of Edwin or Bautista before they decline. Shapiro has had a great deal of success with this before, trading Cliff Lee for a package including Carlos Carrasco, and C.C. Sabathia in a deal that brought in Michael Brantley.</p><p>As well, there’s the inherent risk that Price either declines prematurely or fades altogether due to injury. Ask how the Phillies have felt about paying Cliff Lee lately, or the Tigers for paying Justin Verlander. Perhaps the Giants with Tim Lincecum and Matt Cain. Pitchers are notoriously volatile when it comes to health and all it takes is one pitch for Price’s UCL to go boom, leaving a $30m sunk cost. That’s a massive amount of dead money on the budget in any given year.</p><p>While a Price deal could make sense in isolation, for the Blue Jays, it might not be the deal route to take. The combination of a very expensive, aging core, coupled with other areas to spend money on and the risk that Price explodes is a very valid set of reasons that you’d want a Price contract to be a mistake for another team to make. So what else can the Blue Jays do?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/0*9LOvaQ0Kl0WI0Acc.jpg" /></figure><p>(Charles LeClaire / USA TODAY Sports)</p><h3>Alternatives</h3><p>Well, the Blue Jays DO have some cash available this year, so might as well do something with it, right?</p><h3>Josh Donaldson</h3><p>MVP! MVP! MVP! Donaldson was an incredible bargain this year for the Blue Jays, both in terms of what was given up to acquire him and his salary. Entering his 2nd year of arbitration, Donaldson could be due for a contract extension — he’s certainly earned one after the year he had. He also has 3 years of arbitration left including this year, with said current year projected to grab him $12 million or so. Donaldson will almost certainly end up earning nearly $20 million in the near future.</p><p>A potential extension could look like the following, based off of Donaldson’s 5.9 projected WAR, and a conservative $5m inflation rate for the $/WAR:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*HqNVzpoTKvLy9mSS." /></figure><p>The contract comes out to a total of 9 years, with a bill of $200 million, for a $22.22 million average annual value. It takes Donaldson into his age 38 season. Donaldson’s free agent value would likely be suppressed by the fact that he doesn’t hit free agency until the age of 33, and it could be appealing for him to guarantee himself a life-changing amount of money in a city he just had a career-high amount of success in, making it a mutually beneficial contract.</p><h3>Jason Heyward or Alex Gordon</h3><p>Instead of shelling out the big bucks to David Price, a feasible alternative would be to allocate the resources slightly differently. Signing Heyward and Gordon both come with different caveats, but are probably similarly beneficial at the end of the day. A strong pro to this is that hitters, especially such consistent hitters such as Heyward and Gordon, are generally far less risky than pitchers, and it’s much less likely you see them lost for the year. As well, the Blue Jays have strong outfield depth; signing Heyward or Gordon would allow the team to trade one or two of guys like Anthony Alford, Dalton Pompey or Kevin Pillar for pitching help, addressing several needs at once.</p><p>The caveats that come with Heyward and Gordon are very different, though. Heyward is one of the most underrated young players in the game, but that won’t stop him from grabbing a massive contract from a team that appreciates his defense. However, defensive skill declines fairly sharply with age (you didn’t think these alternatives would be flawless, did you?), giving Heyward albatross potential down the road. That’s mitigated heavily by his skill as a hitter, but it’s something to keep in mind, which could lead to a mutually beneficial opt-out option after 4 years or so. Heyward could pursue an even larger deal as he’d be just 30 years old, typical free agent age, with a 4 year opt out. This would benefit the team as well, mitigating the risk that his defense falls off a cliff. A mutual option would likely be better, but an ETO would be a great add to the contract regardless, and might be easier to negotiate.</p><p>Alternatively, Gordon is getting up there in terms of age, as he turns 32 shortly. He’s a consistently well above average hitter along the lines of Heyward, and his defense hasn’t fallen off… yet. He’s gold-glove caliber in left field, and would add another threat to an already ridiculous offense. Although Gordon’s age and the fact that a lot of his value is derived from the underrated area of defense are likely to suppress his value on the market, it seems more likely that Shapiro would look to a player like Heyward than an aging and potentially risky deal like Alex Gordon.</p><h3>Mid-Market Pitchers</h3><p>This is where I expect the Blue Jays to make their mark this offseason. The market is rife with lots of mid-tier options below the aces on the market, making it one of the most appealing years ever for free agent pitching (and possibly free agents as a whole). There are the higher-end pitchers coming off of a poor season, such as Jordan Zimmermann and Jeff Samardzija, or lower-cost and highly durable options like Mike Leake, Bartolo Colon, and Wei-Yin Chen. As well, there are older pitchers with a great deal of upside, such as Hisashi Iwakuma and John Lackey, injury-prone pitchers with upside such as Scott Kazmir, Brandon Morrow, and Brett Anderson, and old-broken down veterans like Doug Fister and Kyle Lohse. There are also interesting fliers, such as Joe Blanton, Rich Hill, and JA Happ. And whatever Mat Latos is. There’s just about every single kind of pitcher available on the market, and the Blue Jays should be able to sign at least 2 of them with $30+ million in budget room. This route would be especially effective as most of these pitchers will command around 3 years, and the risk is lessened greatly by spreading the investments.</p><p>That would leave the rotation as Stroman, FA, FA, Dickey, ?. Between Liam Hendriks (Intriguing option with his velocity increase), Roberto Osuna (Does he have the mechanics to start? He’s got the pitch mix), and Aaron Sanchez (let’s not go there), at least one of them should impress the organization enough to be a starter out of spring training, forming a reasonably strong rotation to go with a ridiculously potent offense.</p><h3>Conclusion</h3><p>The Blue Jays have assembled a formidable core, with perhaps one of the best offenses the league has ever seen. However, it’s getting older. We’ve seen this movie with the Phillies (albeit, they were more pitching-slanted). The Jays also have several holes in the pitching staff next year beyond Price’s potential departure. It doesn’t seem to be realistic to expect Price to make anything less than $25–30 million next year, and when you combine that with the looming expenses upcoming for the Blue Jays, a Price extension starts to seem untenable for Toronto. As well, Price has over 1400 innings taxed on his arm, and is now on the wrong side of 30. There are a number of alternative ways to invest the money in a way that will improve the situation the team is in, and hopefully lead the team to a state of perpetual contention.</p><p><em>Originally published at </em><a href="https://danolytics.wordpress.com/2015/11/04/27/"><em>danolytics.wordpress.com</em></a><em> on November 4, 2015.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=238eb7a2b47c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/danolytics/archive-the-implications-of-re-signing-david-price-11-04-2015-238eb7a2b47c">Archive: The Implications of Re-Signing David Price (11/04/2015)</a> was originally published in <a href="https://medium.com/danolytics">Danolytics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Archive: Down On the Farm — Daniel Norris With an Encouraging Start]]></title>
            <link>https://medium.com/danolytics/down-on-the-farm-daniel-norris-with-an-encouraging-start-43147bb9f9b2?source=rss-bbef2d10b679------2</link>
            <guid isPermaLink="false">https://medium.com/p/43147bb9f9b2</guid>
            <category><![CDATA[sports]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[baseball]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Jacob Danovitch]]></dc:creator>
            <pubDate>Thu, 25 Jun 2015 00:00:00 GMT</pubDate>
            <atom:updated>2017-07-10T02:52:13.994Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>The following article appeared on Breakingblue.ca on June 25, 2015, published under my name. You can find the original article </strong><a href="http://www.breakingblue.ca/2015/06/25/down-on-the-farm-daniel-norris-with-an-encouraging-start/"><strong>here (link).</strong></a></p><p>Top prospect Daniel Norris was on the mound for the Buffalo Bisons yesterday, facing off against 2014’s 7th overall selection in the Amateur Draft, young right-hander Aaron Nola of the Lehigh Valley Iron Pigs. As of 06/18/15, Norris had struck out batters at a very good rate of 21.8% so far this year for the Bisons, while walking 11.9%, a touch high. This has culminated in a SIERA of 4.16, which is only alright, so Norris’ next start looked to be very important for him.</p><p>Opposing him, Nola was coming off an excellent performance at the AA level, striking out 20.6% of his batters faced while walking an astonishingly low 3.1% of his batters faced, resulting in a SIERA of just 3.33. Nola was taken 7th overall by the Phillies in the 2014 draft and is their second highest ranking prospect, behind shortstop J.P. Crawford.</p><p>Norris looked good out the gate, starting off with a scoreless first. Nola countered with a scoreless first as well. However, after grabbing a run off of Norris in the second, Lehigh Valley scored another 3 off of Norris in the 5th on a bases-clearing triple from former Jays farmhand Russ Canzler. The score ended up 5–4 in favor of Lehigh, after Buffalo’s attempted comeback sprung by a rather comical error in right field. The save was credited to another former Jays farmhand, and quite the story himself, lefty Adam Loewen; Loewen was a highly regarded pitching prospect who couldn’t get his walks under control, and switched to hitting. He hit his first MLB home run with the Blue Jays, but did not stick, and has now converted back to pitching. The final score of this game, however, is not an indication of Norris’ pitching.</p><p>It’s fair to say that Norris was sitting between 91–93 while touching roughly 95 today, while Nola sat low 90’s as well. However, the radar gun told a different story; Buffalo’s notoriously bad radar gun had Norris and Nola’s fastballs sitting at just 86–87. Ignoring the faulty gun, Norris and Nola both sat at good velocities. Norris’ curveball flashed brilliance. Sitting between 78–82 (as well as one in the 60’s), the curve garnered lots of swinging strikes. He relied on that curve as well as his changeup, sitting at similar which also garnered swinging strikes; in fact, just about everything Norris threw today resulted in a swinging strike. Admittedly, I stopped counting the massive amounts of swinging strikes Norris got, as he overpowered the Lehigh Valley hitters. If I had to estimate, I would guess that Norris got between 20–25 swinging strikes on about 90 pitches.</p><p>In all, Norris spotted his pitches well and overpowered Lehigh Valley hitters with a good 3 pitch mix. Unfortunately, when he did get hit, the ball went a long way, giving up a double and triple into the gap. Norris’ defense was alright but less than stellar, and while the umpire was giving both him and Nola a rather low zone (that neither seemed to need), during the disastrous 5th inning Norris did seem to get squeezed on the outer edges of the zone just a little bit. This start can only be considered encouraging for the young Jays prospect.</p><p>On the other side of the ball, Nola worked with mainly a two pitch mix featuring his fastball and a power breaking pitch sitting mid-high 80’s. Nola, as he tends to do, made his living on the outer edges of the plate, spotting his pitches with elite effectiveness. He has some funky arm action in his delivery, but it does not appear to affect him whatsoever. Nola had 69 strikes on 96 pitches, spotting the corners very well. In 7 and 2/3 innings, Nola had seven strikeouts to just one walk, completely shutting down the Bisons.</p><p>On one final note, Devon Travis was down in Buffalo rehabbing before he rejoins the Blue Jays. In the previous video, you can see Travis running to first base in the beginning. He ran very well, grounding out 3 times to the shortstop and looking good defensively, showcasing some impressive range.</p><p><em>Originally published at </em><a href="http://www.breakingblue.ca/2015/06/25/down-on-the-farm-daniel-norris-with-an-encouraging-start/"><em>www.breakingblue.ca</em></a><em> on June 25, 2015.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=43147bb9f9b2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/danolytics/down-on-the-farm-daniel-norris-with-an-encouraging-start-43147bb9f9b2">Archive: Down On the Farm — Daniel Norris With an Encouraging Start</a> was originally published in <a href="https://medium.com/danolytics">Danolytics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Archive: How Accurately Can We Predict a Hitter’s Strikeout and Walk Rates?]]></title>
            <link>https://medium.com/danolytics/how-accurately-can-we-predict-a-hitters-strikeout-and-walk-rates-19946bdfc11d?source=rss-bbef2d10b679------2</link>
            <guid isPermaLink="false">https://medium.com/p/19946bdfc11d</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[sports]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[baseball]]></category>
            <dc:creator><![CDATA[Jacob Danovitch]]></dc:creator>
            <pubDate>Fri, 19 Jun 2015 00:00:00 GMT</pubDate>
            <atom:updated>2017-07-10T02:52:24.845Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>The following article appeared on Breakingblue.ca on June 19, 2015, published under my name. You can find the original article </strong><a href="http://www.breakingblue.ca/2015/06/19/how-accurately-can-we-predict-a-hitters-strikeout-and-walk-rates/"><strong>here (link).</strong></a></p><p>Plate discipline is a crucial skill for every single major league player. Being able to lay off of bad pitches, make contact, and control the strike zone are skills that provide the foundation for some of the game’s best players to be great. These skills manifest themselves through important stats like strikeout and walk rate. If we could predict, with a reasonable degree of accuracy, how often a hitter walks or strikes out as the product of skill-based rates, we would open another window into player talent.</p><p>This article is my first attempt at mathematical analysis, and I would appreciate constructive criticism in the comments. Data used includes seasons with the minimum number of PA for the modeled statistic to stabilize <a href="http://www.fangraphs.com/library/principles/sample-size/">(Reference: Rate at which K% and BB% stabilize)</a> from 2002–2014 from all non-pitchers. With the size of this data, the possibility of overfitting is reduced. All statistics are through June 18, 2015.</p><p>Before we begin, I would like to briefly explain terminology: O-Swing% is the rate at which hitters swing at pitches outside of the strike zone as defined by Pitch-F/X; SwStr% is the rate at which hitters swing and miss; F-Strike% is the percentage of first strikes a hitter sees in his at bats.</p><p>To begin, I looked at expected strikeout rate. My model uses main effects for O-Swing%, SwStr%, and F-Strike%, as well as interaction effects between SwStr% and F-Strike%, O-Swing% and F-Strike%, and O-Swing% and SwStr%.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/0*LPCaG-cu1bxtJCwN.png" /></figure><p>At first glance, the chart seems to produce a fairly reasonable result; if you don’t swing at bad pitches and make contact, you’re less likely to strike out.</p><p>Next up, we can tackle BB%. To define terminology once again: Z-Contact% is the rate at which a hitter makes contact on pitches inside the strike zone; Swing% is the rate at which a hitter swings at pitches.</p><p>My model uses main effects for Z-Contact%, Swing%, and F-Strike%, as well as interaction effects between Swing% and F-Strike%, Z-Contact% and Swing%, and Z-Contact% and F-Strike%. As a fair warning, the data may be unreliable as of right now; walk rate takes 120 PA to stabilize, and not all hitters in the sample have reached that yet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/0*C3QV3itbqJ5Awxnq.png" /></figure><p>Again, fairly reasonable. If you can control the strike zone by fighting off pitches and being disciplined with when you swing, you’ll walk more.</p><p>This data has shown that in the past, players who excel in these plate discipline statistics boast better walk and strikeout rates. If this information proves to be predicted, we can believe that players with xK% higher than their actual K% are likely to strike out more, and vice versa based on these underlying statistics remaining similar, and players with xBB% higher than their actual BB% can expect to walk more, with the opposite being true as well. Here is my full set of data:</p><p>Name</p><p>xK%</p><p>K%</p><p>∆K%</p><p>xBB%</p><p>BB%</p><p>∆BB%</p><p>Ben Zobrist9.938.6–1.3314.4911.4–3.09 Nick Markakis9.3812.53.1211.3212.91.58 Alberto Callaspo10.0710.40.3311.9611.6–0.36 Shane Victorino13.1613.60.4415.4813.6–1.88 Carlos Santana12.4815.63.1214.5619.14.54 Angel Pagan9.5414.65.0610.695–5.69 Michael Brantley8.586.6–1.989.5711.92.33 Brayan Pena9.177.7–1.4710.179.3–0.87 Sandy Leon9.5513.43.8510.27.5–2.7 Brett Gardner13.8519.85.9514.599.3–5.29 Jayson Werth13.39217.6114.0110.1–3.91 Ichiro Suzuki8.3910.31.917.917.7–0.21 Cliff Pennington15.814.4–1.414.6913.3–1.39 Sam Fuld12.0615.63.5411.029.8–1.22 Chase Utley10.9212.71.789.828.9–0.92 Stephen Vogt13.54206.4611.9114.62.69 Ben Revere9.5910.71.118.384.8–3.58 Denard Span9.738.7–1.038.437.3–1.13 Josh Reddick12.449.1–3.3410.039.5–0.53 Logan Forsythe12.9215.82.8810.28.5–1.7 Dustin Ackley12.6518.76.059.897.1–2.79 Brock Holt12.83207.171011.71.7 Eric Sogard10.5913.93.318.245.1–3.14 Anthony Rizzo14.7612.4–2.3611.2612.10.84 Dustin Pedroia12.0112.20.199.158.8–0.35 Matt Carpenter13.9419.75.7610.5712.11.53 Jake Elmore12.714.11.49.515.9–3.61 Jose Ramirez13.0414.11.069.557.6–1.95 Brian McCann13.4818.14.629.866.9–2.96 Curtis Granderson15.4323.47.9711.1912.10.91 Mookie Betts11.3120.78.157.3–0.85 Paul Goldschmidt17.8818.80.9212.7818.55.72 David DeJesus10.3913.83.417.426.6–0.82 Yasmani Grandal14.5818.43.8210.3315.75.37 Jose Bautista16.1816–0.1811.3217.66.28 Roberto Perez19.230.311.113.4184.6 Desmond Jennings13.9612.5–1.469.749.7–0.04 Martin Prado10.5412.21.667.294.4–2.89 Mike Aviles12.4210.6–1.828.57.8–0.7 Jonny Gomes19.3932.413.0113.29.6–3.6 Adam Eaton13.6716.22.539.117.3–1.81 James Loney11.098.5–2.597.346.8–0.54 Joey Votto17.1218.61.4811.313.92.6 Joe Panik12.0411.8–0.247.918.80.89 Nori Aoki9.916.1–3.816.58.21.7 DJ LeMahieu14.2116.32.099.326.8–2.52 Ryan Raburn16.8116.5–0.3110.979.2–1.77 Kurt Suzuki11.7510.6–1.157.617.1–0.51 Mike Trout15.5622.16.5410.07110.93 Joe Mauer13.3116.43.098.588.60.02 Shin-Soo Choo19.8923.83.9112.729.4–3.32 Manny Machado15.39171.619.838.7–1.13 Elvis Andrus12.2214.21.987.758.20.45 J.J. Hardy14.1421.67.468.963–5.96 Jason Kipnis13.413.50.18.489.81.32 Seth Smith20.8423.82.9613.119.4–3.71 Charlie Blackmon14.3118.84.498.966.9–2.06 Russell Martin14.6319.95.279.1410.41.26 Carlos Ruiz11.7113.92.197.28.71.5 Delino Deshields Jr.17.3123.25.8910.5111.91.39 Dilson Herrera17.6623.45.7410.687.8–2.88 J.B. Shuck10.865.5–5.366.528.21.68 Daniel Nava15.421.96.59.199.60.41 Justin Smoak21.1228.47.2812.4211.9–0.52 Geovany Soto21.633311.3712.676.2–6.47 Jose Iglesias9.628.8–0.825.625.90.28 Jason Heyward15.8618.52.649.255.6–3.65 Martin Maldonado19.2625.46.1411.228.5–2.72 A.J. Ellis1416.22.28.112.24.1 Gregory Polanco15.9419.93.969.218.3–0.91 Victor Martinez12.410–2.47.1510.83.65 Ian Kinsler11.2912.61.316.5110.13.59 Michael McKenry19.7825.96.1211.3414.12.76 Stephen Drew13.6817.43.727.838.20.37 Mike Napoli20.9325.34.3711.86120.14 Alexi Amarista13.4215.62.187.589.51.92 Lucas Duda18.0822.24.1210.1711.10.93 Dexter Fowler18.0121.73.6910.110.30.2 Jimmy Rollins17.0816.9–0.189.517.9–1.61 Marcus Semien17.2220.63.389.567.4–2.16 Robinson Chirinos17.35224.659.5910.71.11 Ike Davis12.8813.91.027.19.62.5 Christian Colon13.9313–0.937.689.11.42 Michael Bourn18.521.32.810.169–1.16 Jonathan Lucroy11.6913.72.016.396–0.39 Melky Cabrera11.6111.1–0.516.345.2–1.14 Alex Avila23.7628.44.6412.9317.64.67 Adam Rosales20.4123.12.6911.088.8–2.28 Gordon Beckham12.5813.20.626.88.82 Austin Jackson15.7520.24.458.55.2–3.3 Max Muncy19.2626.26.9410.389.5–0.88 Jace Peterson18.8217.3–1.5210.1210–0.12 Mark Teixeira16.6914.6–2.098.9614.25.24 Jake Lamb18.3915.4–2.999.8612.32.44 Jacoby Ellsbury12.6313.50.876.7611.24.44 Jordy Mercer16.6115.4–1.218.875.1–3.77 David Ortiz18.9115.7–3.2110.111.21.1 Ryan Hanigan9.7717.98.135.2113.48.19 Jonathan Herrera10.838.3–2.535.741.7–4.04 Jason Rogers19.0918.5–0.5910.14.9–5.2 Edwin Encarnacion19.920.80.910.511.20.7 Tuffy Gosewisch15.6316.71.078.225.8–2.42 David Murphy12.59.2–3.36.575.7–0.87 Mark Canha19.2419.80.5610.118–2.11 Brian Dozier17.57191.439.29.90.7 Adam LaRoche20.8229.48.5810.913.42.5 Mike Moustakas12.6311.1–1.536.595.5–1.09 Micah Johnson17.1320.53.378.926–2.92 Kyle Seager14.4813.6–0.887.547.2–0.34 Jake Smolinski20.14265.8610.3815.14.72 Jung-ho Kang20.8420.5–0.3410.748.2–2.54 Bryce Harper19.4419.90.4610.0119.99.89 Cesar Hernandez14.4716.31.837.4313.25.77 Jose Lobaton22.4927.75.2111.5212.30.78 Buster Posey12.949.2–3.746.62103.38 Alex Gordon17.3819.62.228.8711.52.63 Eric Hosmer18.6217.9–0.729.489.90.42 Dan Uggla19.4823.54.029.8912.32.41 Rickie Weeks22.9326.33.3711.599.5–2.09 Kelly Johnson15.4117.11.697.786.3–1.48 Andrelton Simmons10.986.7–4.285.536.30.77 Daniel Murphy10.27.4–2.85.171.9 Jon Jay12.1614.62.446.0570.95 Johnny Giavotella14.814.5–0.37.347.90.56 Chase Headley17.0920.83.718.455.7–2.75 Chris Stewart13.0912.1–0.996.473–3.47 Nick Swisher21.6621.6–0.0610.687.2–3.48 Cameron Maybin16.4619.12.648.059.51.45 Ender Inciarte11.1811.20.025.463–2.46 Devon Travis15.7918.52.717.657.5–0.15 Yonder Alonso15.7412.2–3.547.62113.38 Carlos Peguero29.3841.111.7214.1414.40.26 Adam Lind18.7219.91.189101 Jed Lowrie18.5320.31.778.9216.27.28 Chris Coghlan17.8817.1–0.788.56101.44 Enrique Hernandez21.8720–1.8710.465–5.46 Chris Iannetta22.327.55.210.6512.11.45 Wilmer Flores12.5712.3–0.275.993.4–2.59 Eric Campbell17.9918.40.418.5610.31.74 Yangervis Solarte13.8611.6–2.266.566.90.34 Trevor Plouffe16.6321.64.977.8191.19 Skip Schumaker14.6115.10.496.8511.34.45 Christian Yelich19.9524.14.159.348.5–0.84 Jarrod Saltalamacchia28.9936.57.5113.510.8–2.7 Zack Cozart14.1713.6–0.576.596.5–0.09 Francisco Cervelli16.8119.12.297.819.51.69 Josh Donaldson21.718.2–3.510.067.7–2.36 Rafael Ynoa14.3723.38.936.624.1–2.52 JR Murphy18.2128.310.098.366.7–1.66 Andrew McCutchen19.5414–5.548.9710.31.33 Jordan Pacheco12.9917.94.915.9411.55.56 Ryan Zimmerman15.2317.11.876.967.30.34 Aaron Hill14.5216.21.686.637.81.17 Jay Bruce20.9623.72.749.55144.45 Andrew Susac22.5625.42.8410.2514.13.85 Albert Pujols14.269.9–4.366.466.1–0.36 Gregor Blanco19.9520.80.858.9810.81.82 Shane Robinson12.3214.72.385.546.40.86 Billy Hamilton14.5115.91.396.495.7–0.79 Luis Valbuena19.3221.52.188.528.1–0.42 Steve Pearce19.3722.22.838.527.2–1.32 Joc Pederson26.6128.92.2911.6716.75.03 George Springer26.4926.3–0.1911.6213.51.88 A.J. Pollock15.39171.616.736.3–0.43 Rougned Odor19.0222.73.688.296.4–1.89 Andre Ethier16.8514.4–2.457.3310.12.77 John Mayberry25.2625–0.2610.969.2–1.76 Justin Turner16.4814–2.487.117.30.19 Tyler Moore2022.62.68.616–2.61 Alex Rodriguez24.6121.7–2.9110.49132.51 Rajai Davis12.1116.64.495.148.33.16 Eduardo Nunez15.9114.3–1.616.735.7–1.03 Billy Butler15.7715.6–0.176.667.30.64 Matt Joyce21.7323.21.479.129.40.28 Ruben Tejada17.6716.5–1.177.389.92.52 Justin Ruggiano26.9133.36.3911.2113.62.39 Hanser Alberto11.5711.70.134.813.3–1.51 Clint Robinson16.3213.7–2.626.787.40.62 Jason Castro24.2925.41.1110.048.5–1.54 Ryan Flaherty19.8427.47.568.189.41.22 David Freese18.6521.32.657.675.9–1.77 Logan Morrison17.7415.8–1.947.268.51.24 Neil Walker17.16202.847.025.6–1.42 Ryan Goins14.7318.53.776.025.6–0.42 Evan Longoria19.719.90.28.0610.32.24 Nick Ahmed19.7623.73.948.0610.12.04 David Peralta18.8119.80.997.658.81.15 Jarrod Dyson13.3715.21.835.412.5–2.91 Miguel Montero20.7221.30.588.3814.86.42 Pedro Alvarez20.8623.62.748.4110.41.99 Xander Bogaerts16.7414.4–2.346.665.3–1.36 Kole Calhoun18.2820.21.927.267.2–0.06 Aaron Hicks18.1117.2–0.917.186.1–1.08 Darin Ruf21.7222.50.788.555.4–3.15 Maikel Franco17.2614.1–3.166.784.7–2.08 Mitch Moreland20.5921.20.618.097.1–0.99 Emilio Bonifacio18.9734.815.837.412.9–4.51 Miguel Cabrera17.316.4–0.96.7615.48.64 Hanley Ramirez17.3513.9–3.456.776–0.77 Travis Snider20.6221.50.888.0410.42.36 Derek Norris18.14223.867.076.3–0.77 Caleb Joseph18.422.13.77.159.32.15 Chris Davis26.4732.35.8310.2711.51.23 Jordan Schafer19.8231.111.287.674.1–3.57 Eric Young19.85200.157.667.1–0.56 Kevin Kiermaier17.8617.8–0.066.894.2–2.69 Jose Reyes14.6114.5–0.115.624.8–0.82 Justin Bour23.9521.9–2.059.210.51.3 Colby Rasmus27.9133.55.5910.7110.1–0.61 Giancarlo Stanton27.8630.12.2410.6811.20.52 Will Middlebrooks21.3522.71.358.194.5–3.69 Brad Miller22.7322.3–0.438.7110.21.49 J.T. Realmuto13.1313.40.275.024.1–0.92 Ezequiel Carrera22.0520.9–1.158.415.5–2.91 Khris Davis25.924.3–1.69.8311.21.37 Troy Tulowitzki19.4721.31.837.344.8–2.54 Freddie Freeman22.1122.30.198.339.20.87 Adrian Beltre14.949.5–5.445.624.5–1.12 Prince Fielder15.4911.2–4.295.817.31.49 Carlos Sanchez20.6524.53.857.733.9–3.83 Starlin Castro18.6117.2–1.416.944.1–2.84 Alex Rios17.2118.31.096.362.4–3.96 Freddy Galvis13.7715.31.535.075.10.03 Kolten Wong17.214.4–2.86.316.80.49 Kevin Plawecki19.7325.45.677.235.7–1.53 Travis d’Arnaud16.6614.3–2.366.072.9–3.17 Jedd Gyorko21.1426.75.567.697.6–0.09 Justin Upton24.5925.61.018.9510.51.55 Chris Carter28.0433.35.2610.1914.34.11 Nelson Cruz24.6425.30.668.938.2–0.73 Brandon Belt23.7226.72.988.579.30.73 Matt Holliday19.7617.9–1.867.1215.17.98 Tucker Barnhart17.1123.46.296.167.81.64 Dee Gordon13.4315.31.874.833.5–1.33 Steven Souza22.3933.711.318.04123.96 Preston Tucker22.6120.7–1.918.0890.92 Carlos Beltran17.2418.71.466.135.1–1.03 Will Venable20.8254.27.377.60.23 Todd Cunningham13.7418.24.464.855.20.35 Wil Myers20.1719.5–0.677.076.3–0.77 Hank Conger18.6827.18.426.5314.17.57 Dalton Pompey27.9224.2–3.729.766.6–3.16 Blake Swihart18.0426.98.866.35.9–0.4 Marcell Ozuna2120–17.297.2–0.09 Everth Cabrera20.51210.497.124.8–2.32 Jose Altuve11.769.8–1.964.075.81.73 Junior Lake28.5632.33.749.856.5–3.35 Carlos Perez19.4820.71.226.692.3–4.39 Matt Duffy16.95181.055.815.2–0.61 David Ross27.0231.44.389.2614.35.04 Alejandro De Aza20.1928.17.916.915.8–1.11 Yasiel Puig20.6717.2–3.477.069.72.64 Elian Herrera17.5323.15.575.956.50.55 Cody Asche20.0524.74.656.715.1–1.61 Daniel Descalso17.6722.54.835.96.70.8 Gerardo Parra16.71192.295.554.9–0.65 Leonys Martin19.6418–1.646.515–1.51 Todd Frazier20.5818.2–2.386.817.91.09 Yoenis Cespedes19.8121.61.796.555.2–1.35 Robinson Cano16.717.20.55.55.1–0.4 Kris Bryant26.4729.32.838.713.44.7 Jonathan Villar20.6125.75.096.777.60.83 Howie Kendrick18.7618.1–0.666.157.31.15 Kristopher Negron20.49210.516.698.61.91 Collin Cowgill24.7624.2–0.568.086.1–1.98 Jean Segura14.6715.71.034.782.9–1.88 Adrian Gonzalez17.4715.4–2.075.6710.34.63 Eduardo Escobar19.7423.84.066.342.8–3.54 Adeiny Hechavarria15.8915.8–0.095.14.5–0.6 Mark Reynolds25.329.64.38.089.51.42 Odubel Herrera19.5625.76.146.214.1–2.11 C.J. Cron16.6520.23.555.251.8–3.45 Kirk Nieuwenhuis28.5140.612.098.976.3–2.67 Hunter Pence25.8718.4–7.478.136.6–1.53 Ryan Braun17.11213.895.379.13.73 Asdrubal Cabrera21.1231.96.626.70.08 Kennys Vargas23.6429.65.967.45.2–2.2 Lorenzo Cain16.73181.275.236.10.87 Rusney Castillo18.6519.20.555.84.1–1.7 Nick Franklin28.3727.5–0.878.838.7–0.13 Carlos Gonzalez24.819.3–5.57.7191.29 Casey McGehee21.1220.6–0.526.547.61.06 Nick Hundley21.36231.646.565.9–0.66 Jorge Soler26.6832.25.528.197.2–0.99 Didi Gregorius19.1416.8–2.345.875.8–0.07 Erick Aybar14.2214.2–0.024.335.20.87 Yadier Molina16.1212.8–3.324.96.81.9 Brandon Moss24.2226.92.687.369.92.54 Scott Van Slyke23.2721–2.277.016–1.01 Brandon Guyer19.7816.6–3.185.945.5–0.44 Omar Infante17.3415.3–2.045.21.4–3.8 Cory Spangenberg17.9922.24.215.387.21.82 Juan Lagares17.9119.41.495.353.9–1.45 Conor Gillaspie19.0219.60.585.674.3–1.37 Brett Lawrie23.1326.93.776.854–2.85 Kevin Pillar16.815.7–1.14.944.6–0.34 Jake Marisnick21.0825.54.426.164.6–1.56 Lonnie Chisenhall14.9616.91.944.373.7–0.67 Tim Beckham26.4229.53.087.76.7–1 Yunel Escobar15.7213.8–1.924.576.72.13 Juan Uribe19.9614.5–5.465.797.31.51 Matt Kemp23.7923.4–0.396.884.6–2.28 Garrett Jones25.5827.92.327.397–0.39 Jose Abreu22.5718.6–3.976.515.5–1.01 Matt Adams19.0522.93.855.485.2–0.28 Addison Russell23.7831.47.626.836.90.07 Alexei Ramirez17.1513.3–3.854.92.8–2.1 Jhonny Peralta20.4918.4–2.095.858.62.75 Kendrys Morales20.715.3–5.45.917.61.69 Alcides Escobar15.5610.4–5.164.442.9–1.54 Torii Hunter19.4216.3–3.125.517.72.19 Billy Burns15.0815.60.524.215.20.99 Michael Cuddyer21.8723.31.436.086.50.42 Michael Taylor26.6832.15.427.397.70.31 Welington Castillo22.9723.80.836.336.70.37 Yan Gomes18.3326.17.775.032.2–2.83 Chris Taylor23.1127.94.796.347.41.06 Chris Young21.7223.11.385.945.6–0.34 David Lough18.5921.63.015.071.4–3.67 Mike Zunino29.1836.27.027.946.5–1.44 Cameron Rupp21.3427.56.165.8104.2 Grady Sizemore19.6522.12.455.335.80.47 Anthony Gose21.1526.25.055.735.6–0.13 Chris Johnson26.8927.80.917.217.60.39 A.J. Pierzynski16.6810.2–6.484.455.40.95 Salvador Perez18.2413.7–4.544.761.8–2.96 Peter Bourjos19.5720.20.635.0810.15.02 Brandon Crawford23.920–3.96.27.10.9 Willie Bloomquist19.3920.30.915.021.6–3.42 Mark Trumbo24.6523.1–1.556.364.4–1.96 Danny Espinosa21.0421.50.465.4104.6 Aramis Ramirez17.1715.8–1.374.44–0.4 Carlos Corporan24.4634.39.846.234.9–1.33 Chris Colabello22.91252.095.75.5–0.2 Josh Harrison18.0914.4–3.694.493.9–0.59 Justin Morneau17.19.6–7.54.232.9–1.33 Jeff Francoeur16.87170.134.174.60.43 Paulo Orlando19.9417.1–2.844.913.4–1.51 Marwin Gonzalez20.622.31.75.032–3.03 James McCann22.1522.1–0.055.354.3–1.05 Kyle Blanks22.8228.25.385.55.60.1 Josh Phegley18.1412.2–5.944.326.72.38 Brandon Phillips16.7112.1–4.613.925.21.28 Ian Desmond20.6628.17.444.854.7–0.15 Tyler Flowers22.5133.110.595.224.2–1.02 Justin Maxwell27.0823.7–3.386.225.8–0.42 Luis Sardinas17.8819.71.824.092.8–1.29 Wilson Ramos20.8416–4.844.753.4–1.35 Pablo Sandoval17.5814.2–3.383.995.21.21 Danny Valencia19.8321.21.374.394–0.39 Brandon Barnes22.8522.7–0.154.934.5–0.43 Corey Dickerson22.9924.11.114.944.5–0.44 J.D. Martinez25.7926.81.015.547.41.86 Nick Castellanos24.4324.80.375.226.41.18 Michael Morse25.5828.32.725.395.80.41 Rene Rivera23.9425.11.164.973.8–1.17 Wilin Rosario26.6923.2–3.495.541.8–3.74 Evan Gattis2524–14.974–0.97 Ben Paulsen24.8322.5–2.334.937.92.97 Yasmany Tomas21.7921.90.114.24.90.7 Joey Butler26.2426.80.564.972.9–2.07 Nolan Arenado20.0914.6–5.493.744.20.46 Marlon Byrd25.4124.9–0.514.648.63.96 Starling Marte23.123.20.14.175.21.03 Carlos Gomez22.9322.9–0.034.143.6–0.54 Scooter Gennett18.4623.24.743.253.2–0.05 Chris Owings22.8625.22.3442.6–1.4 Ryan Howard29.1929.1–0.095.114.6–0.51 Clint Barmes24.9530.85.854.314.40.09 Danny Santana21.6926.14.413.741.1–2.64 Alex Guerrero21.6824.62.923.673.80.13 Eddie Rosario26.1325.2–0.934.384.3–0.08 Hector Gomez26.1229.63.484.292.6–1.69 Adam Jones19.114–5.13.14.71.6 Randal Grichuk29.930.10.24.442.7–1.74 Jimmy Paredes30.5125.5–5.014.313.9–0.41 Sean Rodriguez26.1925.3–0.893.571.1–2.47 Avisail Garcia28.6425.3–3.343.755.82.05 Oswaldo Arcia30.0423.1–6.943.896.22.31 Christian Bethancourt25.7217.3–8.423.22.9–0.3 Delmon Young25.6716.4–9.272.972.4–0.57</p><p>As we can see, some prominent MLB hitters could be looking at an uptick in strikeouts, such as Hunter Pence and Justin Morneau. As well, former Blue Jay Emilio Bonifacio and Tampa Bay Rays slugger Steven Souza have been getting “unlucky” with their strikeouts, and could see a decrease in the near future. Meanwhile, xBB% is not buying into two of the better hitters in the league right now, predicting Bryce Harper and Miguel Cabrera for sharp downticks in walk rate, whereas it predicts Geovany Soto and JJ Hardy to be among the players who could see a few more walks come their way.</p><p>Next up, Breaking Blue will take a look at xBABIP.</p><p><em>Originally published at </em><a href="http://www.breakingblue.ca/2015/06/19/how-accurately-can-we-predict-a-hitters-strikeout-and-walk-rates/"><em>www.breakingblue.ca</em></a><em> on June 19, 2015.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19946bdfc11d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/danolytics/how-accurately-can-we-predict-a-hitters-strikeout-and-walk-rates-19946bdfc11d">Archive: How Accurately Can We Predict a Hitter’s Strikeout and Walk Rates?</a> was originally published in <a href="https://medium.com/danolytics">Danolytics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Archive: On Framing, Platoons, and Regression to the Mean (07/30/2014)]]></title>
            <link>https://medium.com/danolytics/archive-on-framing-platoons-and-regression-to-the-mean-07-30-2014-b585aafcc3a2?source=rss-bbef2d10b679------2</link>
            <guid isPermaLink="false">https://medium.com/p/b585aafcc3a2</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[baseball]]></category>
            <category><![CDATA[sports]]></category>
            <dc:creator><![CDATA[Jacob Danovitch]]></dc:creator>
            <pubDate>Wed, 30 Jul 2014 09:30:00 GMT</pubDate>
            <atom:updated>2017-07-10T01:35:50.621Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>The following article appeared on Breakingblue.ca on July 30, 2014, published under my name. You can find the original article </strong><a href="http://www.breakingblue.ca/2014/07/30/on-framing-platoons-and-regression-to-the-mean/"><strong>here (link).</strong></a></p><p>As you might have heard, the Toronto Blue Jays and Kansas City Royals completed a seemingly inconsequential trade. Third string catcher and Erik Kratz and starter Liam Hendriks, buried so far on the depth chart you can’t even see him, were told to pack their bags and head for Kansas City. In return, the Blue Jays received noted lefty masher Danny Valencia. On the surface, this was a trade that filled needs for both teams and was even if not unimportant. But let’s go a little deeper.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/396/0*txUJVZG3lQSJsWjb.jpg" /></figure><p>Starting off with likely the least important piece in the trade, Liam Hendriks has managed to acquire the journeyman tag despite being just 25. As he heads to his third organization, he brings with him unremarkable stats that you would really only deem acceptable from someone as far down the depth chart as he was with Toronto. Your typical Quad-A player, Hendriks started the International League All-Star Game this year, but in the majors, he posted a 5.37 xFIP, translating to a 138 xFIP- in 13.1 IP. That’s more of the same for Hendriks, who has pitched to the tune of a 115 xFIP- in his career. Despite being a former top prospect in the Twins organization, he is now more than likely to be inconsequential in this trade.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/0*5d6mQnOVzXl9pogt.jpg" /></figure><p>Next up is the player being brought back to the Blue Jays. Danny Valencia is a third baseman (albeit, not a particularly good one) who has honed his craft with the Twins, Orioles, Red Sox and Royals before arriving in Toronto. You won’t mistake him for Brett Lawrie at third. In exactly 2584 innings at the hot corner, he owns a -5.2 UZR/150 mark. Also, 6 random games at second base. Ryan Goins replacement?</p><p>Valencia owns a 93 wRC+ at the plate on his career, but his lefty-mashing is really why he was acquired. If you look at his platoon splits, he has a MASSIVE preference to hitting lefties. In 882 career PA against righties, he’s hit for just a 67 wRC+. However, in 498 career PA against lefties, he’s absolutely destroyed lefties for a 140 wRC+. That’s a pretty solid sample, isn’t it? It would appear that Valencia could be inserted into the lineup against lefties, which the team has struggled with, and absolutely destroy them. Possibly a very useful acquisition.</p><p>Hold on a minute. <a href="http://www.breakingblue.ca/2014/01/16/blue-jays-true-talent-offensive-platoon-splits/">Our good friend Nik wrote about true talent platoon splits before the season.</a></p><blockquote><em>One of the most common sabermetric faux pas is the misinterpretation of a player’s platoon splits. It is very common for fans to simply look at a player’s splits from last season, or the last couple of seasons, and form an opinion on that player’s platoon skills based on that information.</em></blockquote><p>So what is Nik saying? That we can’t take one season’s worth of PA (say … 498 PA?) against a certain handed pitcher at face value? Well, that’s exactly what Nik is saying.</p><p>The Book: Playing the Percentages in Baseball is a phenomenal book written by Tom Tango, Andrew Dolphin, and Mitchel Lichtman that more or less revolutionized advanced stats in baseball by touching on concepts such as clutch hitting and pitching, weighted on base average, and the very relevant to the topic at hand platoon splits, among other topics. So what does The Book have to say on platoon splits? Well, luckily for us, at the end of each section is a quick snippet summarizing the section. The following can be found on page 163 of The Book:</p><blockquote><em>The Book Says: </em><strong><em>A right-handed hitter needs around 2,000 appearances against left-handed pitchers before his measured platoon split can be considered reliable</em></strong><em> (in other words, using the measured platoon split is more accurate than assuming the player has an average split). From a practical standpoint, right-handers are best assumed to have average platoon skills, unless one is willing to make the calculations needed to accurately estimate a player’s platoon skill. For lefties, the number is 1,000, which means that only veteran starters have reliable platoon splits.</em></blockquote><p>The actual number is 2200. 2200 appearances?! Well, Valencia’s 498 appearances aren’t looking so good now. That’s a 1702 PA difference. He’s just 22.6% of the way there. So what do we need to do to accurately be able to estimate how Valencia will hit lefties?</p><p><strong>Regression towards the mean </strong>is the statistical phenomenon of “averaging out,” so to speak. <a href="http://www.businessdictionary.com/definition/regression-towards-the-mean.html">The technical definition</a> is the tendency of data to gravitate towards the center of a distribution if given enough sample. Pretend the league batting average is .250. If Player A starts off a season hot, going 5–10 in his first 3 games, is he likely to continue batting .500? Likewise, if Player B starts off 2–10, is he likely to continue hitting .200? The short answer is no, probably not. Over a large enough sample size, extreme data points in a set tend to move toward the average. So we could very well see Player A could go 0–10 in his next few games, and Player B go 3–10 in his next few games. Both of these players will end with a batting average of .250, having regressed towards the mean after their respective hot and cold starts. Regression isn’t quite an exact science; I just used exact numbers to illustrate the example. However, the general concept is there: extreme data points like .400 hitters and .200 hitters generally get closer to the league average over time. This is why players don’t hit .450 over an entire season.</p><p>There are many ways that we can predict regression in baseball. Useful stats such as BABIP, or batting average on balls in play, and HR/FB%, or Home Runs per Fly Ball (as a percentage) generally regress towards the mean. So if a player is hitting .380 with 17 home runs, but with a .415 BABIP (league average is around .300) and 26.0% HR/FB% (league average is around 10%), we can safely assume that he isn’t likely to continue performing as such. ERA estimators, such as xFIP, SIERA, and our own <a href="http://www.breakingblue.ca/2014/04/03/2014-tips-and-xxfip-leaderboard/">Chris Carruthers’ xxFIP and TIPS</a>, are useful indicators that pitchers may be due for regression.</p><p>So how is any of this relevant? How does this help us identify how well Danny Valencia will perform versus left handers in the future? Well, we are going to regress his platoon splits, that’s how. We will follow Nik’s example outlined in his post.</p><p>First, we must identify his measured platoon split. Danny Valencia has posted a .381 wOBA against left handed pitching in 498 PA compared to a .273 wOBA against right handed pitching in 882 PA, coming out to a .312 wOBA. So, if we subtract .273 from .381 and divide that by .312, we find his split as a percentage: 34.6% (!). This means that in his career, Valencia has been 34.6% better against lefties than he has righties. Wowie. Valencia has just 498 career PA against lefties, so we regress his batting batting split 66.7% (roughly) towards the mean, as 1000/(1000+498) is equal to 66.7% (again, roughly).</p><p>Next, we plug in our numbers! Caution: These numbers are subject to rounding errors.</p><blockquote><em>0.165 * .332 + 0.086 * .667 = .172</em></blockquote><p>There’s our number! So we have found that Danny Valencia can be expected to hit 17.2% better against lefties than righties. That’s pretty solid, but how does it compare to what we were previously expecting? Well, it’s just under half as good as what we were originally expecting (34.6%). Ouch. So exactly how well can we expect Valencia to hit against lefties?</p><p>Steamer has projected Valencia for a .310 wOBA for the rest of the season, just .002 off of his career mark. Seems reasonable. So, when we apply the platoon split of 17.2%, we get… a .344 wOBA. That’s more Yan Gomes than it is Miguel Cabrera. Sure, it’s solid, but will he live up to his expectations of being a lefty <em>masher</em>? Probably not, unfortunately.</p><p>So maybe, just maybe, we need to hamper our expectations of Danny Valencia versus left handed pitching.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/0*1jymOx0JyCA6DqUB.jpg" /></figure><p>So we’ve established that Hendriks is pretty inconsequential and that Valencia can be a useful piece but honestly isn’t worth giving up much for. So, to find out if this was actually a good deal, we must find the value of the final piece to see if we did indeed get Valencia on the cheap. The final piece of this deal is Erik Kratz.</p><p>Erik Kratz is not a household name, and now, as he goes to Kansas City to serve as Salvy Perez’s backup, it is unlikely that he will ever become one. The 34 year old is the owner of a 78 wRC+ over 501 career PA. However, he owns just a .228 BABIP in his career. He posted 1.3 fWAR in just 157 PA in 2012, translating to about 3.7 fWAR over a full season, including a 112 wRC+. Steamer thinks he’s around an 87 wRC+ in terms of talent.</p><p>So, that’s your standard backup catcher, right? Well, no. No, it isn’t.</p><p>Let’s start off with Kratz’s defense. <a href="http://www.baseballprospectus.com/sortable/index.php?cid=1668575">According to Baseball Prospectus</a>, Kratz has provided the 12th most runs from blocking pitches. However, when you scale him to an average amount of playing time, that jumps to 4th overall in 2014. Kratz’s defense passes the eye test as well, and we can pretty safely say he’s above average.</p><p>Now let’s move to the area of pitch framing. This is a fun one. In 2013, Matt Carruth’s pitch framing numbers had Kratz ranked 17th in the league in pitch framing with 6.8 RAA, which equates to roughly .74 WAR, nearly a full win. Now, fast forward to 2014. Baseball prospectus releases their pitch framing data based on probability. Kratz ranks 24th overall in framing runs added by call. However, of the entire top 24, Kratz has the fewest framing chances of any of them! So, we must scale him to average playing time, and when we do that, we find that he jumps all the way up to 8th with 8.3 RAA! That’s right in between noted framers Russell Martin and Brian McCann, for those of you keeping track.</p><p>Now, some of you must be thinking, pitch framing? What are these new fangled numbers? How reliable are they really? Well, our good friend Chris tested this himself.</p><blockquote><a href="https://twitter.com/CCBreakingBlue"><strong><em>Chris Carruthers</em></strong><em>‏@CCBreakingBlue</em></a></blockquote><blockquote><em>Compared ’14 framing data from </em><a href="https://twitter.com/brooksbaseball"><em>@brooksbaseball</em></a><em> </em><a href="https://twitter.com/harrypav"><em>@harrypav</em></a><em> to ’13 data. R² through 3 games blows your mind.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/417/0*6u3wzYh97GdRUEfy.png" /></figure><p>Wow. WOW. After just 3 games, the data becomes reliable. This is even better than BP expected, stating that 290 chances (roughly 6 games) was the point of reliability for the data. But what about the eye test? Any excuse to use GIFs is a good one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/0*kxWafIjLV2GKfZvb.gif" /></figure><p>Here, we have Kratz while he was still with the Phillies. As you can see, Papelbon throws one well outside here. Well outside. FoxTrax makes that abundantly clear. Kratz, however, manages to pull this back into the zone ever so quietly and pick up the extra strike.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*8Yl6razi4z-FLC10.gif" /></figure><p>Again with the Phillies. This pitch is low, and unfortunately, there’s no pitch tracker. However, it’s pretty apparent that the pitch is low. If you watch closely, you can see Kratz flick his glove right back into the zone to steal the extra strike.</p><p>Unfortunately, those were the only two GIFs I could find. However, Kratz passes the eye test AND the data test. He appears to be a genuinely above average framer.</p><p>So, let’s put everything together and attempt to discern Kratz’s value. In 2013, players average 3.2 PA/G. This will be important later. His baserunning is negligible. -0.5 in his career over 163 games which is basically a full season. Next up, his fielding. Kratz has posted 6.2 Fld in his 163 games. If we’re keeping track, we’re at 5.7 runs above average. On to the bat. Steamer, ZiPS, and Oliver all place him around a .304 wOBA. If we turn that into wRAA, we get -4.8 runs per 150 games. So, adjusting everything to 150 games, we’re left at +0.4 RAA. Now, we need to calculate his framing runs above average. Over his career, Kratz has been worth a total of 28.9 runs above average. Scaled to 150 games, that’s 26.6 runs! So we’re left at exactly 27 runs per 150 games.</p><p>But we aren’t done yet. We need to calculate replacement level runs so that we’re calculating runs above <strong>replacement. </strong>Fangraphs places replacement level as 17.5 runs per 600 PA. To turn that into games, we simply find the runs/PA, which is a number with a lot of decimals, and multiply it by 3.2, and then by 150. We’re left with 14 runs. Added on to our previous total of 27 is 41 runs above average! On to our last component: positional adjustment. Being a catcher is worth 12.5 runs per 162 games. So, adjusted to 150 games is 11.6 runs above average. We end up with 52.6 runs above average! For Erik Kratz!</p><p>However, we need to adjust this again. 150 games is nice for normal players, but catchers are under tons of physical wear and tear and stress. The league leaders in catcher games played last year were all around 100. That’s a nice round number. So we end up with 35.0 runs. If we now adjust this based on 2014’s runs per win figure, 9.175, we come out to <strong>3.8 wins above replacement level per 100 games. </strong>Wow! All this for a (supposed) backup catcher!</p><p><a href="http://www.breakingblue.ca/2013/12/01/a-primer-and-review-on-value-calculations-part-1/">Now, let’s check out Nik’s post on the value of replacement level.</a></p><blockquote><em>Let’s assume that $/WAR growth this year has been the same as the mean per annum increase across our entire sample, +9.81%. This gives us a current cost per win of $7.72M. We will drop this to a nice, round figure of $7.5M. For subsequent seasons of long term contracts, we will apply $/WAR growth of +9% per annum.</em></blockquote><blockquote><strong><em>These will be the value calculation figures that we will use at Breaking Blue for all transaction analysis: $7.5M $/WAR in 2014 with 9% $/WAR growth per future season.</em></strong></blockquote><p>So we can see in this excellent piece that the value of a win is about $7.5M. If we take Kratz’s 3.8 wins, that gives us a whopping $28.5M in value! According to fangraphs, he’s making $500k this year, so we can say that Kratz’s surplus value is about $28M! Now, if we take 0.5 wins off of Kratz each of the years that he’s controllable for, we get 3.8 wins for this year, 3.3 wins for the year after, 2.7, and then 2.2. When you total this, multiply by the $7.5M figure, and subtract the league minimum salary for every year, you get…</p><p><strong>$89.5 million.</strong></p><p>He is 34 though. So maybe the aging curve should be steeper. Take off 0.6 wins per year? $85M value. 0.7? $80.5M. Take off an entire win? $67M. What if we take off 1.5 wins per year? $44.5M. In fact, you have to go all the way down to taking off <em>2.5 wins per year to dip into negative surplus value. </em>And even then, it’s only $-500k in surplus value. That’s just insanity.</p><p>So … Erik Kratz, huh?</p><p>This isn’t the first time we’ve heard about Kratz’s skill, either. <a href="http://www.breakingblue.ca/2014/03/20/the-case-for-kratz/">Chris wrote about him on March 20th.</a> He noted that Kratz’s framing and blocking needed more recognition. But credit for identifying the backstop <a href="http://www.fangraphs.com/blogs/erik-kratz-the-all-star/">must go to Marc Hulet of Fangraphs.com.</a> He identified Kratz’s defense as above average on July 16, 2009, five full years earlier.</p><p>For whatever it’s worth, Kratz’s regressed platoon split against lefties comes out to a .317 wOBA, a league average bat that would have worked in a platoon with Lind and Navarro that had Kratz at C and Navarro at DH versus lefties. When you factor in framing, this may have been every bit as valuable as Valencia.</p><p>Erik Kratz isn’t your typical catcher. Standing massively at 6’4″, 255, you’d expect to see him at first base. But Kratz is a catcher. A good one, too. Hopefully, one day, a team will realize.</p><p><em>Originally published at </em><a href="https://danolytics.wordpress.com/2014/07/30/archive-on-framing-platoons-and-regression-to-the-mean-07302014/"><em>danolytics.wordpress.com</em></a><em> on July 30, 2014.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b585aafcc3a2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/danolytics/archive-on-framing-platoons-and-regression-to-the-mean-07-30-2014-b585aafcc3a2">Archive: On Framing, Platoons, and Regression to the Mean (07/30/2014)</a> was originally published in <a href="https://medium.com/danolytics">Danolytics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>