← Projectswrite-up
What Drives a Pitcher's ERA?
A solo STAT 325 project that uses multiple linear regression on 2026 MLB data to find which pitching skills explain a pitcher's ERA.

What Drives a Pitcher's ERA? is my solo final project for STAT 325, Data Analysis and Linear Models, at Case Western Reserve University (Fall 2026). It uses multiple linear regression to find out which pitching skills explain how many runs a pitcher allows, and how much each one matters.
The project is still in progress, so the findings below are preliminary.
- Source code and data: github.com/rcorrie325/Stat_Project
The question
Which pitching skills best explain a pitcher's ERA (earned runs allowed per nine innings)? The candidate predictors are:
- strikeouts per nine innings (K/9)
- walks per nine (BB/9)
- home runs per nine (HR/9)
- hit batters per nine (HBP/9)
- ground-out to air-out ratio
- throwing hand
- starter vs. reliever
The data
- 2026 regular-season pitching statistics from the MLB Stats API: 868 pitchers.
- Only pitchers with at least 40 innings are kept, which leaves 389.
Methods
- Model selection: partial F-tests and AIC selection to decide which predictors and interactions to keep.
- Transformation: a Box-Cox analysis, which led to modeling √ERA instead of ERA.
- Diagnostics: residual plots, normality, constant variance and influence checks.
- Validation: a 70/30 train/test split.

Figure 1: residual diagnostics before (top) and after (bottom) the square-root transformation.
Preliminary findings
- The final model explains about 55% of the variation in ERA (R² ≈ 0.55).
- Home runs matter most: about +1.5 ERA for each extra home run per nine innings. Hit batters, walks and strikeouts come next. For a pitcher at the median ERA of 3.86, one more HBP/9 adds about 0.49, one more BB/9 adds about 0.38, and one more K/9 takes off about 0.16.
- Ground-ball ratio and throwing hand add little once those rates are in the model. That is consistent with the idea behind FIP (Fielding Independent Pitching).
- Validation: on the held-out 30%, the test RMSE was 0.88 runs, against 1.20 for predicting the mean.
Status
The research question, introduction, methods and results are complete. The discussion and the final report are in progress.
What's next
- The discussion and limitations.
- The final paper.
- Possibly a selection-honest validation and a bias-corrected back-transform from √ERA to ERA.
Tools
R (tidyverse, MASS, car) and R Markdown.