Looking at Spacings to Assess Streakiness

Similar documents
Journal of Quantitative Analysis in Sports

One of the most-celebrated feats

Draft - 4/17/2004. A Batting Average: Does It Represent Ability or Luck?

Lesson 2 Pre-Visit Slugging Percentage

NUMB3RS Activity: Is It for Real? Episode: Hardball

CHAPTER 2 Modeling Distributions of Data

Clutch Hitters Revisited Pete Palmer and Dick Cramer National SABR Convention June 30, 2008

Which On-Base Percentage Shows. the Highest True Ability of a. Baseball Player?

Simulating Major League Baseball Games

hot hands in hockey are they real? does it matter? Namita Nandakumar Wharton School, University of

Professional athletes naturally experience hot and

5.1A Introduction, The Idea of Probability, Myths about Randomness

Do Clutch Hitters Exist?

Running head: DATA ANALYSIS AND INTERPRETATION 1

TOPIC 10: BASIC PROBABILITY AND THE HOT HAND

Hitting with Runners in Scoring Position

Organizing Quantitative Data

DO YOU KNOW WHO THE BEST BASEBALL HITTER OF ALL TIMES IS?...YOUR JOB IS TO FIND OUT.

The Intrinsic Value of a Batted Ball Technical Details

1 Streaks of Successes in Sports

IHS AP Statistics Chapter 2 Modeling Distributions of Data MP1

The pth percentile of a distribution is the value with p percent of the observations less than it.

Rating Player Performance - The Old Argument of Who is Bes

Lesson 3 Pre-Visit Teams & Players by the Numbers

AP Statistics Midterm Exam 2 hours

5.1 Introduction. Learning Objectives

First-Server Advantage in Tennis Matches

BABE: THE SULTAN OF PITCHING STATS? by. August 2010 MIDDLEBURY COLLEGE ECONOMICS DISCUSSION PAPER NO

Quasigeometric Distributions and Extra Inning Baseball Games

March Madness Basketball Tournament

Chapter 3.4. Measures of position and outliers. Julian Chan. September 11, Department of Mathematics Weber State University

Calculation of Trail Usage from Counter Data

March Madness Basketball Tournament

The difference between a statistic and a parameter is that statistics describe a sample. A parameter describes an entire population.

Extreme Shooters in the NBA

Quiz 1.1A AP Statistics Name:

Chapter 5 ATE: Probability: What Are the Chances? Alternate Activities and Examples

Chapter 5 - Probability Section 1: Randomness, Probability, and Simulation

1. The data below gives the eye colors of 20 students in a Statistics class. Make a frequency table for the data.

Lesson 2.1 Frequency Tables and Graphs Notes Stats Page 1 of 5

Bayesian Methods: Naïve Bayes

5.1. Data Displays Batter Up. My Notes ACTIVITY

Chapter 2: Modeling Distributions of Data

Fundamentals of Machine Learning for Predictive Data Analytics

A PRIMER ON BAYESIAN STATISTICS BY T. S. MEANS

Analysis of Highland Lakes Inflows Using Process Behavior Charts Dr. William McNeese, Ph.D. Revised: Sept. 4,

Algebra I: A Fresh Approach. By Christy Walters

The Project The project involved developing a simulation model that determines outcome probabilities in professional golf tournaments.

NUMB3RS Activity: Walkabout. Episode: Mind Games

To find their sum, you could simply add from left to right, or you could pair the numbers as illustrated and add each pair.

PLEASE MARK YOUR ANSWERS WITH AN X, not a circle! 1. (a) (b) (c) (d) (e) 2. (a) (b) (c) (d) (e) (a) (b) (c) (d) (e) 4. (a) (b) (c) (d) (e)...

A point-based Bayesian hierarchical model to predict the outcome of tennis matches

Math 4. Unit 1: Conic Sections Lesson 1.1: What Is a Conic Section?

Additional On-base Worth 3x Additional Slugging?

How Well They Play the Game. Ken Cale

Section 5.1 Randomness, Probability, and Simulation

PGA Tour Scores as a Gaussian Random Variable

Minimum Mean-Square Error (MMSE) and Linear MMSE (LMMSE) Estimation

9.3 Histograms and Box Plots

Chapter 5: Methods and Philosophy of Statistical Process Control

Building an NFL performance metric

Psychology - Mr. Callaway/Mundy s Mill HS Unit Research Methods - Statistics

Section I: Multiple Choice Select the best answer for each problem.

The Reliability of Intrinsic Batted Ball Statistics Appendix

Quantitative Literacy: Thinking Between the Lines

Chapter 12 Practice Test

STANDARD SCORES AND THE NORMAL DISTRIBUTION

Gas Pressure and Volume Relationships *

Exploring Measures of Central Tendency (mean, median and mode) Exploring range as a measure of dispersion

download.file(" destfile = "kobe.rdata")

MoLE Gas Laws Activities

MoLE Gas Laws Activities

Math 1040 Exam 2 - Spring Instructor: Ruth Trygstad Time Limit: 90 minutes

Lab 2: Probability. Hot Hands. Template for lab report. Saving your code

Background Information. Project Instructions. Problem Statement. EXAM REVIEW PROJECT Microsoft Excel Review Baseball Hall of Fame Problem

The Math and Science of Bowling

A Monte Carlo Approach to Joe DiMaggio and Streaks in Baseball 1

Note that all proportions are between 0 and 1. at risk. How to construct a sentence describing a. proportion:

b. Graphs provide a means of quickly comparing data sets. Concepts: a. A graph can be used to identify statistical trends

4-3 Rate of Change and Slope. Warm Up. 1. Find the x- and y-intercepts of 2x 5y = 20. Describe the correlation shown by the scatter plot. 2.

Figure 1. Winning percentage when leading by indicated margin after each inning,

Table 1. Average runs in each inning for home and road teams,

NCAA March Madness Statistics 2018

Chasing Hank Aaron s Home Run Record. Steven P. Bisgaier, Benjamin S. Bradley, Peter D. Harwood and Paul M. Sommers. June, 2002

Skills Practice Skills Practice for Lesson 17.1

Jefferson Township Public Schools Mathematics Department

STAT 155 Introductory Statistics. Lecture 2-2: Displaying Distributions with Graphs

How are the values related to each other? Are there values that are General Education Statistics

2017 AMC 12B. 2. Real numbers,, and satisfy the inequalities,, and. Which of the following numbers is necessarily positive?

An average pitcher's PG = 50. Higher numbers are worse, and lower are better. Great seasons will have negative PG ratings.

Machine Learning an American Pastime

Furman University Wylie Mathematics Tournament Ciphering Competition. March 11, 2006

!!!!!!!!!!!!! One Score All or All Score One? Points Scored Inequality and NBA Team Performance Patryk Perkowski Fall 2013 Professor Ryan Edwards!

Chapter 1 Test B. 4. What are two advantages of using simulation techniques instead of actual situations?

AP Stats Chapter 2 Notes

Regression to the Mean at The Masters Golf Tournament A comparative analysis of regression to the mean on the PGA tour and at the Masters Tournament

Bivariate Data. Frequency Table Line Plot Box and Whisker Plot

Failure Data Analysis for Aircraft Maintenance Planning

Algebra I: A Fresh Approach. By Christy Walters

Home Team Advantage in English Premier League

Transcription:

Looking at Spacings to Assess Streakiness Jim Albert Department of Mathematics and Statistics Bowling Green State University September 2013 September 2013 1 / 43

The Problem Collect hitting data for all players in a season. Focus on patterns of hot and cold hitting for all players. Is there evidence that players are truly streaky? Or maybe players are not truly streaky... Patterns we see are similar to the patterns one would observe by flipping a collection of coins. September 2013 2 / 43

Binary Sequence Observe sequence of hitting data for a particular baseball player. For each opportunity, observe a hit (1) or a out (0). Interested in the pattern of streaks and slumps Often interested in the spacings, the number of failures between consecutive successes. The media reports large values of these spacings. In 2012 season, Josh Reddick had a 0 for 30 streak. September 2013 3 / 43

Simple example Observe the following data for a player in 15 at-bats: 0 0 1 1 1 0 0 0 0 1 0 1 0 0 1 Spacings are 2, 0, 0, 4, 1, 2 The values of these spacings are informative about the player s success probabilities. September 2013 4 / 43

How to Measure Streakiness? Long runs of successes or long runs of failures. Permutation test measure deviation from randomness by a p value Focus here is on a Bayes test statistic compare two models September 2013 5 / 43

A Geometric Model Let y 1,..., y n denote observed spacings for a particular player Assume {y i } independent, where y j is Geometric (p j ): f (y j p j ) = p j (1 p j ) y j, y j = 0, 1, 2,... Talk about true streakiness by considering models on probabilities p 1,..., p n. September 2013 6 / 43

The Consistent Model: Model M If hitter is not streaky or truly consistent, one believes hitting probabilities are constant: p 1 =... = p n = p. Assume we have little information about location of p. Assign p a noninformative prior g(p) = 1 p(1 p). September 2013 7 / 43

The Streaky Model: Model M K If hitter is truly streaky, one believes hitting probabilities vary across the season. Assume p 1,..., p n is distributed according to a beta density g(p) p a 1 (1 p) b 1, 0 < p < 1. Parameterize in terms of mean and precision η = a a + b, K = a + b. Fix value of K and assign η noninformative prior g(η) = 1 η(1 η). September 2013 8 / 43

A Test Statistic A Bayes factor. Ratio of the marginal probabilities of the observed data y under the two models M K and M: Bayes factor in support of true streakiness is BF K = f (y M K) f (y M). Values of BF K > 1 support the streaky model, and values BF K < 1 support the consistent model. September 2013 9 / 43

Use a Subjective Approach for Obtaining K Think about the variability of success probabilities {p j } if the player was truly streaky. Specify a standard deviation of the probabilities. This can be used to assess a value of K. September 2013 10 / 43

Look at All Players in the 2012 Season Consider all players with at least 200 at-bats. (Want to exclude pitchers.) For each player, use Bayes factor with log K = 5 to test for streakiness. Measure Bayes factor on log scale (positive values of log BF K support streakiness) Plot log Bayes factors against the sample size (number of at-bats). September 2013 11 / 43

Bayes Factors for all 2012 Players September 2013 12 / 43

Label 2 Interesting Outliers September 2013 13 / 43

A Geometric Plot Tally spacings - get {y, f y } Plot log f j (vertical) against j (horizontal) If geometric, plot will be linear Graph shows deviations from geometric September 2013 14 / 43

Geometric Plot for Reddick September 2013 15 / 43

Geometric Plot for Headley September 2013 16 / 43

Back to 2012 Data Evidence for streakiness (log BF > 0) for 120 (38%) of the players. Observe a very streaky player (Reddick) and a very consistent hitter (Headley) But maybe players are truly consistent and we are observing streakiness due to multiplicity. Are these streaky outcomes a result of a reasonable consistent model for hitting for all players? September 2013 17 / 43

An Exchangeable Consistent Model for Hitting Observe data {(y j, n j )}, where y j is the number of hits in n j at-bats for jth player. Assume y j is binomial(n j, P j ) (consistent model) Assume success probabilities P 1,..., P N are exchangeable. Posterior estimate of P j shrinks (adjusts) observed batting average y j /n j towards the overall average. September 2013 18 / 43

What Streaky Data Do We See from a Consistent Model? Estimate hitting probabilities P 1,..., P N from the exchangeable model Simulate individual at-bat results {w 1,..., w nj } from independent Bernoulli distributions with constant probability ˆP j. For each sequence of hitting data, compute Bayes test in support of streakiness log BF K. Find the number of players where there is support for streakiness (log BF K > 0). Repeat this process 200 times September 2013 19 / 43

Predictive Distribution of Number of Streaky Players September 2013 20 / 43

Summing Up... Consistent model (one hitting probability for each player) seems useful in predicting pattern of streakiness of all players in a season. Players may exhibit streakiness for a particular season, but little evidence to suggest that players have streaky tendencies End of story? September 2013 21 / 43

But There are Other Definitions of Success Different definitions of batting success, such as hit, strikeout, home run. Strikeout and home run rates are more informative about the player abilities See this by fitting a random effects model. September 2013 22 / 43

A Random Effects Model Observe success rates y 1 /n 1,..., y N /n N of N players. Give p 1,..., p N a distribution g(p) (random effects distribution) Estimate g(p) from the data. Learn about the fraction of the variability in the rates that is due to (1) variation between player abilities (the p j ), and (2) binomial variation (luck). On this scale, strikeout rates exceed home run rates which exceed batting averages September 2013 23 / 43

Look at 53 Seasons of Batting Data Looked at batting sequences for all players with at least 200 AB for seasons 1960 through 2012 Considered three definitions of success, strikeout, home run, and hit For each season, performed the same predictive analysis simulated predictive distribution of the number of streaky hitters (log BF > 0) assuming consistent model Focused on predictive p-value of observed number of streaky hitters September 2013 24 / 43

Histogram of Predictive P-Values for H, HR, SO September 2013 25 / 43

This is Interesting For home run rates and strikeout rates, there is more observed season streakiness among players that one would predict based on a consistent model There is a long right-tail in the streakiness distribution So there are interesting patterns of streakiness Focus on home run hitting do there exist streaky home run hitters? September 2013 26 / 43

What Were the Streakiest Seasons of Home Run Hitting? 1998 Ivan Rodriguez, 1967 Lou Brock, 1965 Paul Schaal, 2007 Rickie Weeks What do these streaky seasons look like? Focus on the 1998 Ivan Rodriquez September 2013 27 / 43

Graph of 1998 Ivan s Home Runs September 2013 28 / 43

Are There Players Who Tend to Be Streaky? Suppose one is streaky if log LBF > 0.5 Focus on the players who had the most streaky seasons Carl Yastrzemski had six streaky seasons in his career (1961-1983) Occurred in seasons 1963, 1968, 1972, 1973, 1974, 1976 September 2013 29 / 43

Carl Yastrzemski Streaky Measures September 2013 30 / 43

What Were the Streakiest Hitters Among the Sluggers (40+ HR)? 2002 Shawn Green, 2009 Albert Pujols, 1962 Willie Mays Focus on the 2002 Shawn Green September 2013 31 / 43

2002 Shawn Green September 2013 32 / 43

Geometric Plot for Green September 2013 33 / 43

What Was the Most Consistent Hitter/Season Among the Sluggers (40+ HR)? 1963 Hank Aaron In fact, for practically all of Aaron s seasons, log BF < 0 Aaron was a remarkably consistent home run hitter Was it due to his style of hitting? September 2013 34 / 43

1963 Hank Aaron September 2013 35 / 43

Career Hank Aaron September 2013 36 / 43

Mike Schmidt Great slugger for the Phillies Wrote a paper some years ago exploring timing of his 548 home runs Looked at spacings Mike was streaky early, but more consistent pattern of home run hitting later in his career Confirmed his patterns using this approach September 2013 37 / 43

Career Mike Schmidt September 2013 38 / 43

Closing Comments Bayes factor is a useful measure of streakiness Posterior predictive analysis helpful for seeing if there is interesting streakiness Hit/out is a different story than HR or Strikeout sequences Some players have interesting patterns of streakiness or consistency September 2013 39 / 43

Joe DiMaggio September 2013 40 / 43

The Great Streak in 1941 56-game hitting streak Recently, Retrosheet has some play-by-play records available for 1941 season Obtain DiMaggio s sequence of hits and outs for all at-bats Is there evidence that Joe was streaky in the 1941 season? September 2013 41 / 43

Was Joe Streaky in 41? No... log BF 0 No evidence to support streaky or consistent model What does this mean? Actually, great hitters are unlikely to be streaky during a season September 2013 42 / 43

References / Software Albert, J. (2008), Streaky Hitting in Baseball, Journal of Quantitative Analysis of Sports, vol. 4. Albert, J. (2013), Looking at Spacings to Assess Streakiness, Journal of Quantitative Analysis of Sports, vol. 9. Albert, J. (2013), Was Joe DiMaggio Streaky?, Baseball Prospectus website R package BayesTestSpacings, http://bayes.bgsu.edu/spacings (download package and look at examples) September 2013 43 / 43