Run expectancy
also: RE · run expectancy matrix · RE24 matrix
The average number of runs a team scores from a given base-out state to the end of the inning.
RE(outs, runners) = mean(runs from that state to the end of the half-inning)Bases empty with nobody out is worth about half a run; bases loaded with nobody out, more than two. The 24 numbers that cover every base-out state are the run expectancy matrix, and they change with the scoring environment of the season.
We build the matrix for each season from that season's plate appearances in the first eight innings. Later innings are left out because walk-offs and skipped bottom halves cut them short.
The matrix is a league average. A great hitter at the plate makes every state worth more than the table says, and a bad one less.
The data behind it
Run expectancy comes from MLB pitch-by-pitch data and MLB spray chart data. MLB pitch-by-pitch since 2015 (about 98% of games to 2017, all from 2018): pitch type, velocity, location and the count, with the plate appearance. REST or MCP.
Where to get it
Related
Run expectancy from the API
500 free credits every month, no card. REST or MCP.
curl -X POST https://mcp.fastballapi.com/v1/get_plate_appearances \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"game_id": "401569531",
"limit": 3
}'get_plate_appearances: every parameter and the full response.
Also from FastballAPI: player props history by sportsbook · today's props board · every dataset
Get a free key