Sports Analytics and Data Science: Winning the Game with Methods and ModelsSports Performance Measurement and Analytics: The Science of Assessing Performance, Predicting Future Outcomes, Interpreting Statistical Models, and Evaluating the Market Value of Athletes
By Lorena Martin

 
Programs and Data to Accompany "Sports Performance Measurement and Analytics: The Science of Assessing Performance, Predicting Future Outcomes, Interpreting Statistical Models, and Evaluating the Market Value of Athletes" Martin (2016).

Note that many R programs contain library commands for bringing in R functions included in packages. To run these programs, the user needs to first install the packages in his/her R environment.

R programs were tested under R 3.2.3 on Mac OS 10.9.5.


Book Location Description of Directory or File File Name
SPMA Chapter 5 National Football League Combine Data NFLcombine.csv
  National Football League Team Performance NFLteam.csv
  National Football League AFC and NFC Conferences NFLafcnfc.csv
  National Football League Combine Performance and Player Position (R) spma_exhibit_5_1.R
  National Football League Team Analyses (R) spma_exhibit_5_2.R
     
SPMA Chapter 6 National Basketball Association Draft Data nbadraft.csv
  NBA Basketball Player Gametime Performance BasketballDatasetAnalysis.csv
  National Basketball Association Draft Performance and Player Position (R) spma_exhibit_6_1.R
  NBA Basketball Player Gametime Performance (R) spma_exhibit_6_2.R
     
SPMA Chapter 7 Major League Baseball Performance Measures Data MLBdata.csv
  Major League Baseball Performance and Player Position (R) spma_exhibit_7_1.R
  Major League Baseball Batting Performance by Player Position (R) spma_exhibit_7_2.R
     
SPMA Chapter 8 Union of European Football Associations Assists Data goalassist.csv
  Union of European Football Associations Goals Scored Data goalscored.csv
  Union of European Football Associations Passes Attempted and Completed by Defenders UEFAdefense.csv
  Union of European Football Associations Passes Attempted and Completed by Goalies UEFAgoalies.csv
  Union of European Football Associations Passes Attempted and Completed by Midfielders UEFAmidfielder.csv
  UEFA Champions League Leaders in Assists and Goals Scored by Player Position (R) spma_exhibit_8_1.R
  UEFA Champions League Passes Attempted and Completed by Player Position (R) spma_exhibit_8_2.R
     
SPMA Chapter 9 Association of Tennis Professionals (ATP-Mens Professional Tennis) Data ATPearnings.csv
  Womens Tennis Association (WTA-Womens Professional Tennis) Data WTAearnings.csv
  Association of Tennis Professionals (ATP - Mens Professional Tennis Ranking) Top#100 Data ATPtop100earnings.csv
  Womens Tennis Association (WTA - Womens Professional Tennis Ranking) Top#100 Data WTAtop100earnings.csv
  ATP and WTA Overall Earnings by Country (R) spma_exhibit_9_1.R
  ATP and WTA Top #100 Earnings by Rank and Sex (R) spma_exhibit_9_2.R