Skip to content

cbwinslow/No-hitter-analysis

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published