When you enroll in this course, you'll also be enrolled in this Specialization.
Learn new concepts from industry experts
Gain a foundational understanding of a subject or tool
Develop job-relevant skills with hands-on projects
Earn a shareable career certificate
There are 6 modules in this course
This course provides an introduction to using Python to analyze team performance in sports. Learners will discover a variety of techniques that can be used to represent sports data and how to extract narratives based on these analytical techniques. The main focus of the introduction will be on the use of regression analysis to analyze team and player performance data, using examples drawn from the National Football League (NFL), the National Basketball Association (NBA), the National Hockey League (NHL), the English Premier LEague (EPL, soccer) and the Indian Premier League (IPL, cricket).
This course does not simply explain methods and techniques, it enables the learner to apply them to sports datasets of interest so that they can generate their own results, rather than relying on the data processing performed by others. As a consequence the learning will be empowered to explore their own ideas about sports team performance, test them out using the data, and so become a producer of sports analytics rather than a consumer.
While the course materials have been developed using Python, code has also been produced to derive all of the results in R, for those who prefer that environment.
This week introduces a simple example of sports analytics in practice - the calculation of the Pythagorean expectation to model winning in team sports. This can also be used for the purposes of prediction. Examples are developed for five different sports leagues, Major League Baseball (MLB), the National Basketball Association (NBA), the National Hockey League (NHL), the English Premier League (EPL-soccer) and the Indian Premier League (IPL-cricket).
What's included
8 videos6 readings1 assignment7 ungraded labs
Show info about module content
8 videos•Total 78 minutes
Introduction to Foundations and Instructor Stefan Szymanski•6 minutes
Faculty Introduction: Wenche Wang•1 minute
Pythagorean Expectation & Baseball Part 1 •19 minutes
Pythagorean Expectation & Baseball Part 2•12 minutes
Pythagorean Expectation & the IPL•12 minutes
Pythagorean Expectation & the NBA•6 minutes
Pythagorean Expectation & English Football•9 minutes
Pythagorean Expectation as a Predictor in the MLB•13 minutes
6 readings•Total 55 minutes
Course Syllabus•10 minutes
Help Us Learn More About You•5 minutes
A Note on Notebooks•10 minutes
Assignment Overview•10 minutes
Week 1 - Sample Notebook•10 minutes
Week 1 R Content•10 minutes
1 assignment•Total 30 minutes
Week 1 Quiz•30 minutes
7 ungraded labs•Total 420 minutes
Pythagorean expectation and MLB•60 minutes
Pythagorean expectation and MLB - Self Test Solutions•60 minutes
Pythagorean expectation and the IPL•60 minutes
Pythagorean expectation and the NBA•60 minutes
Pythagorean expectation and English Football•60 minutes
Pythagorean expectation as a Predictor in MLB•60 minutes
Assignment 1 Workspace•60 minutes
Introduction to Data Sources
Module 2•9 hours to complete
Module details
This week will use NBA data to introduce basic and important Python codes to conduct data cleaning and data preparation. This week also discusses summary and descriptive analyses with statistics and graphs to understand the distribution of data, the characteristics and pattern of variables as well as the relationship between two variables. At the end of this week, we will introduce correlation coefficients to summarize the linear relationship between two variables.
What's included
6 videos6 readings3 assignments5 ungraded labs
Show info about module content
6 videos•Total 67 minutes
Accessing Data in Python I•13 minutes
Accessing Data in Python II•12 minutes
Data Exploration•10 minutes
Summary Statistics•8 minutes
More on Summary Statistics•11 minutes
Correlation Analysis•13 minutes
6 readings•Total 60 minutes
Assignment Overview•10 minutes
Assignment Instructions- Part 1•10 minutes
Assignment Instructions- Part 2•10 minutes
Assignment Instructions- Part 3•10 minutes
Week 2 - Sample Notebook•10 minutes
Week 2 R Content•10 minutes
3 assignments•Total 90 minutes
Week 2 - Quiz 1•30 minutes
Week 2 - Quiz 2•30 minutes
Week 2 - Quiz 3•30 minutes
5 ungraded labs•Total 300 minutes
Accessing Data Using Python•60 minutes
Data Exploration and Summary Statistics•60 minutes
Summary Statistics and Correlation Analysis•60 minutes
Week 2 - Self Test Solutions•60 minutes
Assignment 2 Workspace•60 minutes
Introduction to Sports Data and Plots in Python
Module 3•8 hours to complete
Module details
This module introduces some ways of representing data using examples from MLB, the NBA and Indian Premier League. MLB data is used to analyze the spatial distribution of different hits. NBA data is used to generate heatmaps to illustrate the different ways in which players contribute. IPL data is used to show how team performances can be compared graphically.
What's included
4 videos6 readings2 assignments5 ungraded labs
Show info about module content
4 videos•Total 52 minutes
Data Representation: Cricket Pt. 1•12 minutes
Data Representation: Cricket Pt. 2•14 minutes
Data Representation: Baseball•13 minutes
Data Representation: Basketball•14 minutes
6 readings•Total 60 minutes
Assignment Overview•10 minutes
Assignment Instructions - Part 1•10 minutes
Week 3 - Part 1 - Sample Notebooks•10 minutes
Assignment Instructions - Part 2•10 minutes
Week 3 - Part 2 - Sample Notebook•10 minutes
Week 3 R Content•10 minutes
2 assignments•Total 60 minutes
Week 3 - Quiz 1•30 minutes
Week 3 - Quiz 2•30 minutes
5 ungraded labs•Total 300 minutes
Basketball Heatmap•60 minutes
Indian Premier League Graphs•60 minutes
Simple Heatmaps Baseball•60 minutes
Week 3 Assignment - Part 1 - Workspace•60 minutes
Week 3 Assignment - Part 2 - Workspace•60 minutes
Introduction to Sports Data and Regression Using Python
Module 4•7 hours to complete
Module details
This week introduces the fundamentals of regression analysis. We will discuss how to perform regression analysis using Python and how to interpret regression output. We will use NHL data to estimate multiple regression models to identify the team level performance factors that affect the team's winning percentage. We will also use cricket data from the Indian Premier League to run regression analyses to examine whether player performance impacts player salary.
What's included
6 videos6 readings3 assignments4 ungraded labs
Show info about module content
6 videos•Total 55 minutes
Introduction to Regression Analysis •10 minutes
Interpreting Regression Results•8 minutes
More on Regressions•9 minutes
Regression Analysis - Intro to Cricket Data•11 minutes
Regression Analysis - Batsman's performance and salary•8 minutes
Regression Analysis - Bowler's performance and salary•9 minutes
6 readings•Total 60 minutes
Assignment Overview•10 minutes
Assignment Instructions - Part 1•10 minutes
Assignment Instructions- Part 2•10 minutes
Assignment Instructions- Part 3•10 minutes
Week 4 - Sample Notebook•10 minutes
Week 4 R Content•10 minutes
3 assignments•Total 90 minutes
Week 4 - Quiz 1•30 minutes
Week 4 - Quiz 2•30 minutes
Week 4 - Quiz 3•30 minutes
4 ungraded labs•Total 240 minutes
Introduction to Regression Analysis•60 minutes
Introduction to Regression Analysis - Self Test Solutions•60 minutes
Regression Analysis with Cricket Data•60 minutes
Week 4 - Assignment Workspace•60 minutes
More on Regressions
Module 5•7 hours to complete
Module details
This module uses regression analysis to investigate the relationship between team salary spending and team performance in the NBA, NHL, EPL and IPL. The module explores different ways of defining the regression model, and how to interpret competing regression model results.
What's included
4 videos4 readings1 assignment5 ungraded labs
Show info about module content
4 videos•Total 54 minutes
Using regression analysis - an example with NBA data•15 minutes
Using regression analysis - an example with EPL data•19 minutes
Using regression analysis - an example with MLB data•9 minutes
Using regression analysis - an example with NHL data•11 minutes
4 readings•Total 40 minutes
Assignment Overview•10 minutes
Assignment Instructions•10 minutes
Week 5 - Sample Notebook•10 minutes
Week 5 R Content•10 minutes
1 assignment•Total 30 minutes
Week 5 Quiz•30 minutes
5 ungraded labs•Total 300 minutes
EPL•60 minutes
Hockey•60 minutes
MLB•60 minutes
NBA•60 minutes
Week 5 - Assignment Workspace•60 minutes
Is There a Hot Hand in Basketball?
Module 6•9 hours to complete
Module details
This week studies an interesting topic in sport, the hot hand. We will introduce the concept of hot hand and discuss the academic research that examines whether the hot hand is a phenomenon or a fallacy. We will demonstrate how to analytically test the hot hand using the NBA shot log data. We will test whether NBA players have hot hand by computing conditional probabilities and autocorrelation coefficients as well as performing regression analyses.
What's included
8 videos7 readings3 assignments5 ungraded labs
Show info about module content
8 videos•Total 68 minutes
Hot Hand: Phenomenon or Fallacy?•10 minutes
NBA Shot Log Data Preparation I •8 minutes
NBA Shot Log Data Preparation II•6 minutes
Conditional Probability •7 minutes
Conditional and Unconditional Probabilities•5 minutes
Autocorrelation•11 minutes
Regression Analysis on Hot Hand I•9 minutes
Regression Analysis on Hot Hand II•12 minutes
7 readings•Total 65 minutes
Assignment Overview•10 minutes
Assignment Instructions - Part 1•10 minutes
Assignment Instructions - Part 2•10 minutes
Assignment Instructions - Part 3•10 minutes
Week 6 - Sample Notebook•10 minutes
Post-Course Survey•5 minutes
Week 6 R Content•10 minutes
3 assignments•Total 90 minutes
Week 6 - Quiz 1•30 minutes
Week 6 - Quiz 2•30 minutes
Week 6 - Quiz 3•30 minutes
5 ungraded labs•Total 300 minutes
Understanding and Cleaning the NBA Shot Log Data•60 minutes
Using Summary Statistics to Examine the Hot Hand•60 minutes
Using Regression Analysis to Test the Hot Hand•60 minutes
Using Regression Analysis to Test the Hot Hand - Self Test Solutions•60 minutes
Week 6 - Assignment Workspace•60 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructors
Instructor ratings
Instructor ratings
We asked all learners to give feedback on our instructors based on the quality of their teaching style.
The mission of the University of Michigan is to serve the people of Michigan and the world through preeminence in creating, communicating, preserving and applying knowledge, art, and academic values, and in developing leaders and citizens who will challenge the present and enrich the future.
When will I have access to the lectures and assignments?
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
What will I get if I subscribe to this Specialization?
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Is financial aid available?
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.