Statcast Searches: Four Core Components

This post shows how to use Statcast Search to do these investigations:

1. Find pitching data for all the pitchers in a league (National or American or both) in a year (limited by Statcast Search’s years of data)

2. Get the number of pitches each league pitcher threw to another pitcher in the same league.

3. Find how many pitches a specific pitcher threw to other pitchers.

4. Discover how many pitches a pitcher threw to every batter regardless of position.

When conducting a Statcast Search, four components are especially useful. One is Player Type. It contains 10 items: Pitcher, Batter, Catcher, 1st, 2nd, 3rd, SS, LF, CF, RF. The default value in Player Type is “Pitcher.”

The other three core items are Position, Batters, and Pitchers.

If you want to find pitching data for all the pitchers in the National League in 2019, use these four settings:

– Player Type: Pitcher
– Team: NL
– Season: 2019
– Season Type: Regular Season

If you search using those values, you will get data for 426 NL pitchers, starting with Stephen Strasburg, who threw the most pitches: 3,384.

The search results https://tinyurl.com/yawcthuu include these columns sorted by Pitches from a pitcher’s perspective: Pitches, Total, Pitch %, AB, Hits, BB, BA, SLG, EV(MPH),LA(°), Dist (ft). Pitches is the number of pitches thrown by the pitcher during all his mound appearances.

If instead of finding pitching data for all the pitchers in the National League in 2019, you want the number of pitches each NL pitcher threw to another pitcher you need to change the Position setting (second column) from the default of any position to “P” (Pitcher). https://tinyurl.com/ybwcxo3e

That reduces the number of results from 3,384 to 300. Those results show the number of pitches each NL pitcher threw to another pitcher. What is not immediately obvious is whether all the other pitchers were also in the National League though that appears to be the case. It is true.

Jacob deGrom heads the list. In 2019, with only pitchers in the batters box, he threw 220 pitches, holding those hitters to a .120 batting average.

Let’s make another setting change. This time in the Pitchers box (third column), Stephen Strasburg will be selected. (Position still is “P.”) Those results show how many pitches Strasburg threw to other pitchers: 208. By clicking his name, a pitch breakdown appears. https://tinyurl.com/ybxooty7

If Position is not set to a position, the results show how many pitches Strasburg threw to every batter regardless of position (3,384) and gives a pitch-by-pitch breakdown. https://tinyurl.com/y8aefb8u

But what if in the Batters box (third column), Stephen Strasburg was entered with nothing selected in Position? Then, the results show his hitting data for the 38 NL pitchers that he hit against. He was in the batters box against Sandy Alcantara for 22 pitches, the most, including one eight pitch at-bat that ended in a groundout. Strasburg has the most success at the plate against Braves pitcher, Touki Toussaint, getting a single and a homer in his two at-bat against Toussaint. Toussaint also was the only pitcher Strasburg got more than one hit against. The homer was both his only homer in 2019 and only the fourth in his 10-year career. Note: Setting the Position to “P” does not make any difference. https://tinyurl.com/ybnxnefa

And if there is a “P” in Position? The results are the same. https://tinyurl.com/yb8ao6v6

Free Baseball Book Not Just for Yankees Fans

I like to read books, especially baseball books, and today I found one that appears to be a standout. I say standout though I have only read about 8% of the book — according to the Kindle app — but at least I’m not judging it just by its cover. In fact, I don’t even remember what the cover looks like.

It’s written by Phil Pepe, a long-time sportswriter who covered the Yankees beat. He wrote for the World-Telegram and Sun, a New York newspaper that I once delivered by bicycle and the New York Daily News, a paper that had a great sports department until 2018 it downsized it from 30 to 9 and then in 2019 had the chutzpah to write a story headlined “The Sports Illustrated layoffs are disgraceful.”

But this post is not a bearer of bad news. Instead, it is about a company that deserves a shoutout: Sports Publishing.

Today, while browsing through Amazon’s baseball books I found Phil Pepe’s Yankee Doodles: Inside the Locker Room with Mickey, Yogi, Reggie, and Derek. Though published in 2015, the book is not dated. It’s about Yankees like Yogi Berra and Mickey Mantle, Yankee greats who played the game when baseball was still America’s pastime.

On its Amazon page, the book’s print list price of $24.99 is crossed out. Its Kindle price is not. It is $0.00.

That is not a typo.

I don’t know for how long it has been free nor for how long it will continue to be. What I do know is that it appears to be a great read. So even if you are not a Yankees fan, just being a sports fan is a good enough reason to treat yourself to this Sports Publishing giveaway.

Thank you Sports Publishing.

Cy Young Lives On

For more than 60 years, baseball has recognized its mound stars with a plaque that memorializes the achievements of a man whose 22-year career began in 1890.

When he retired at age 45, Denton True “Cy” Young had won 511 games and, until his next-to-last year in 1910, never lost more games in a season than he won.

Young’s greatest achievement may have come on May 5, 1904, when at the age of 37 he pitched the first perfect game in American League history – just the third in the major leagues and the first from the 60-foot-6-inch pitching distance. 

https://sabr.org/bioproj/person/dae2fb8a

Young died in 1955. A year later Major League Baseball awarded the first Cy Young Award, to Don Newcombe, who got 10 of the 16 first-place votes.

Since Newcombe, 117 more pitchers have won the prize.

During those first 11 years, just one pitcher won it more than once. Sandy Koufax won it three times. While others won it three times, only Roger Clemens (7), Randy Johnson (5), Greg Maddox (4), and Steve Carlton (4) won it more than three times.

Koufax was also one of five winners who pitched for the Los Angeles Dodgers, the Dodgers winning the prize five years in a row.

Further, five of the first 11 winners made it to the Hall of Fame: Warren Spahn, Early Wynn, Whitey Ford, Don Drysdale, and Sandy Koufax.

In 1966, Koufax was the last sole winner in a season. After his final receipt of the award, it was given to the best pitcher in each league.

Cy Young won 477 complete games, fully 60 more than Walter Johnson. Only five times did he win a game that he had started but not completed.

https://sabr.org/bioproj/person/dae2fb8a

At first, those winning it were starters who had won at least 20 games. That ended in 1973 when members of the Baseball Writers’ Association of America awarded it to Tom Seaver though he had a 19-10 record.

A year later, the first reliever won the Cy Young. Mike Marshall, pitching for the Los Angeles Dodgers, finished the 1974 season with a 15-12 record. He stood on the mound in 106 games, 30 more than Rollie Fingers, and pitched in 208.1 innings, starter’s numbers. So he averaged just under two innings a game. Despite all those appearances, his ERA was just 2.42.

Though Marshall had 21 saves, he did not lead the lead in that category, coming in second to Terry Forster who had 24 in 59 games. Despite being the runner-up in saves, Marshall was named the The Sporting News’ Fireman of the Year. 

After Marshall, eight other relievers have won the Cy Young, but none since another Dodger, Eric Gagne, received it in 2003.

Among all pitchers, both starters and relievers, only 11 have won the award in back-to-back seasons. Among them is Jacob deGrom, Mets standout, who received it in both 2018 and 2019, winning 21 games. However, unlike Gaylord Perry, those wins were not in one season but two, 10 in 2018 and 11 in 2019. Those two win totals were the lowest ever for a Cy Young Award winner who was a starter.

Cy Young threw a baseball until his right arm could no longer obey his mind’s commands.

“All us Youngs could throw,” he said. “I used to kill squirrels with a stone when I was a kid, and my granddad once killed a turkey buzzard on the fly with a rock.”

https://www.baseball-almanac.com/quotes/quoyung.shtml

He was inducted into baseball’s Hall of Fame in 1937.

On his tombstone, above his name and that of his wife, is a winged baseball.

Dodgers hammer Diaz despite his “excellent pitches”

During yesterday’s ninth inning loss, the Mets’ closer, Edwin Diaz, pitched batting practice for the Dodgers. As a result, his ERA in away games jumped to 4.50. At home, it is 2.19.

When he entered the game in the bottom of the ninth, the Dodgers had a 3.4% chance of winning, according to FanGraphs. Then, seven batters and one out later, the Dodgers won the game 9-8.

The graphic below shows how the game’s Win Expectancy shifted in the bottom of the ninth.

Source: FanGraphs

Five of the seven batters that Diaz faced had batted balls: two homers, two doubles, an intentional walk, a single, and a sacrifice fly. The chart below shows the pitch location of five of the six batted balls. (Justin Turner’s double is shown. Cody Bellinger’s is not.)

Source: Baseball Savant

Here are Diaz’s pitches the Dodgers hit (data from Baseball Savant):
– Home run: Slider (Pederson)
– Home run: Four-seam fastball (Muncy)
– Double: Slider (Turner)
– Double: Four-seam fastball (Bellinger)
– Single: Two-seam fastball (Beaty)
– Sacrifice fly: Slider

Diaz threw 30 pitches, but only four- and two-seam fastballs and sliders. Three of the nine sliders were batted balls, but only three of the 21 fastballs were. Further, while 11 fastballs were fouled off only one slider was. But the average exit velocity of the fastballs was 100.1 mph, four mph faster than for the sliders.

Only 43.3% of the pitchers were in the zone; however, the Dodgers swung at 84.6% of them, showing excellent plate discipline: They made contact with 81.8 % of them.

Source: Baseball Savant

The next chart, a spray chart shows how spread out the Dodgers’ batted balls were.

Source: Baseball Savant

After the game, Diaz said,

“Today was easily the worst day of my career, the worst game of my career, the worst game of the season for me,” Diaz said through an interpreter. “I thought I threw excellent pitches.”

Anthony DiComo — Edwin Diaz blows save against Dodgers | New York Mets

What makes yesterday’s outing particularly surprising is that, after it, left-handed hitters are batting .188/.250/.531 against Diaz; whereas, right-handed batters are hitting .286/.344/.429. Six of the seven Dodger batters that Diaz faced were left-handed.

As, if not more, surprising is that in away games, batters are now hitting .310 against him versus only .196 in home games.

Yesterday, while Diaz was on the mound, Wilson Ramos was behind the plate.