putting the r in sports

20
Putting the R in Sports By: Daniel Willis

Upload: john-willis

Post on 06-Aug-2015

797 views

Category:

Education


1 download

TRANSCRIPT

Page 1: Putting the R in Sports

Putting the R in SportsBy: Daniel Willis

Page 2: Putting the R in Sports

Installing R Easy

Page 3: Putting the R in Sports

Type in R to start R

Page 4: Putting the R in Sports

I Learned R Variables

Page 5: Putting the R in Sports

Let’s Look at an Example

Page 6: Putting the R in Sports

You can read files with R

Page 7: Putting the R in Sports

Explaining Standard Deviation is Hard

http://www.isixsigma.com/tools-templates/variation/variation-root-all-process-evil/

Page 8: Putting the R in Sports

We put the Pizza into Vectors

Page 9: Putting the R in Sports

Let’s go back to the earlier ERA Plot

Page 10: Putting the R in Sports

How Many People Have Seen Moneyball?

Page 11: Putting the R in Sports

Sabermetrics

• Society for American Baseball Research • Bill James is the father of Sabermetrics • He joined the Redsox in 2003 • In 2004 Redsox broke the curse

Page 12: Putting the R in Sports

My Dad and I Found This Book

Page 13: Putting the R in Sports

Lahman Baseball Database

Page 14: Putting the R in Sports

The Lahman Database Has Great Examples

Page 15: Putting the R in Sports

In this example we load 5 players all time career hits

Page 16: Putting the R in Sports

In this example we only take years where they had at least 300 AB’s

Page 17: Putting the R in Sports

On Base Percentage

Page 18: Putting the R in Sports

We took 5 great players and looked at their career OBP’s

Page 19: Putting the R in Sports

Moneyball in R

Page 20: Putting the R in Sports

New Stuff

• More work with Baseball and R • Fantasy Football Analytics • Stocks and R