![]() Here is a scatterplot of the miss rates and longest contact streaks for all players in the 2021 season with at least 500 swings, labeling the points for hitters who had a streak of at least 50. Using the map_dfr() function from the purrr package, I run the swing_miss() function for all players in the 2021 season, collecting the results in a data frame. We see that Freeman had 916 swings in the 2021 season with a miss rates of 19% - he had a streak of 66 swings where he made contact with the pitch. Swing_miss("Freeman, Freddie", statcast2021) The inputs are the name of the player and the Statcast dataset. Here’s an example of using this function for Freddie Freeman for the 2021 season (through August 5). The output of the function is a data frame containing (1) the player name, (2) the number of swings, (3) the overall miss rate and (4) the length of the longest contact streak and.The rle() function will find the lengths of all streaks of misses and lengths of all streaks of contact.The outcome of the swing is whether the hitter missed or not (made some contact).I sort the data by Game_Date, game_pk (game id), at_bat_number, and pitch_number.Using the filter() function from the dplyr package, I consider only the swings for the hitter.To begin this exploration, I wrote a single R function swing_miss() that finds the maximum streak length for a specific hitter. Given Statcast data for a particular season, I am interested in finding all of the streaks of making contact for all hitters. In the sequence of batter swings, what are extreme streaks of making contact (not missing) with the pitch? R Work ![]() I think it makes more sense to consider only the pitches where the batter swings. I imagine there are some batters who are reluctant swingers, so I don’t think the number of pitches is the right context for this streak study. What is a reasonable thing to consider in this study: The Audacy Sports article mentioned the long streak of plate appearances by Freeman without a whiff. ![]() Correct Denominator?ĭuring the Phillies game, the announcer talked about the number of consecutive pitches Freeman had faced without whiffing on a swing. We will see that one remarkable hitter did indeed have a sequence of 87 swings without a whiff. Given the current high “swing and miss” environment in baseball, I thought I would explore Statcast data and find the players in recent baseball history who have had unusually high streaks of “making contact” on swings. This article mentions that Freeman hadn’t swung and missed on 23 plate appearances (and counting). The announcer commented about a remarkable statistic - Freddie Freeman hadn’t whiffed on a swing for a long sequence of pitches. I was watching a recent game (maybe July 23?) between the Phillies and Braves.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |