Skip to content

A set of simple analyses looking at various facets of no-hitters

Notifications You must be signed in to change notification settings

mattbbernstein/no-hitter-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

No Hitter Analysis

1. Historical Probability

Using historical no-hitter and "near" no-hitter data, what is the probability that any given start by a pitcher would result in a no-hitter, based on current inning and outs.

Requirements:

  • Python 3.X
  • numpy
  • SciPy

Execution:

$ python3 nohitteranalysis.py 

Discussion:

Reddit: When should we start caring about a No-Hit Bid

2. xBA Likeliness

Using expected batting average (xBA) from MLB's Baseball Savant, what was the likeliness of a given no-hitter being a no-hitter based on the expectation of all batted balls in the game

Requirements:

Note: Scripts will install the required packages

Execution

  • NoHitterDataCollection.R: Download and save the data
  • LikelinessAnalysis.R: Perform analysis. Sorted table saved in table nh_data_index

Discussion

Reddit: No-Hitter Luck: A Quick xBA Analysis

About

A set of simple analyses looking at various facets of no-hitters

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published