Data Analysis on Sports Betting

Posted on Feb 27, 2020
The skills the author demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

The purpose of this project/app is to look into and analyze the data trends that exist in sports betting. Betting is a popular investment that takes place on a frequent basis in the world of sports. It makes the game more interesting, and can help bring popularity to sports that are less marketable in the world.

I did my project based on this because I was curious to see how accurate or inaccurate betting trends can be in the sports world, I wondered if there was a particular key component to how betting worked, and if that affected where people would place there money and end up benefiting from it, or regretting it entirely.

I decided to look at one of my favorite sports for the interest of this project/app: Tennis.

For your information: 

-Data can be found through kaggle and the betting website used. 

-You can go to the APP here.

-The Github used to code the data here

-You can follow me through my Linkedin here


For the project the data I acquired includes:

  • Tournament data for all Grand Slams for men singles from 2000-2019
    • Match times
    • Total points won
    • Service points won
    • Return points won
    • Break points saved
    • Break points faced
    • Total sets played
    • Winning Player
    • Losing Player
    • Round
    • Date of Match
    • Average minutes per game
    • Rank of player
    • Birth date of player
    • Country origin of player
  • I also collected tournament betting data for all Grand Slams for men singles from 2003-2019
    • The data was not fully there to stretch back to 2000, so 2000-2002 is not among the data used.
    • The betting data was from Bet365, one of the more popular sports betting sites.


Things to keep in mind regarding the data:

-The app is still a work in progress, for now it shows the average statistical relations between Grand Slams and each round they correlate to.

For example: The average winning betting odds for players in the First round of the United States Open, compared to say the average losing betting odds for players in the Semifinals of the French open. Each of these categories are split up into tabs to compare the trends accordingly.

Data Analysis on Sports Betting

Data Analysis on Sports Betting


Further data analysis:

-Along with the betting trends, I also wanted to take a deeper nose dive to observe the variance between players and how experience plays a role in the level of consistency and success.

My logic there is that every player learns at their own pace, and the more they learn the more they will improve. So it would be helpful for coaches to understand the flow on how much experience (such as matches played) is needed in order to start generating consistency on a more frequent basis. This would not only generate more success for the player, but also increase the popularity of the sport because they are more successful, causing market value of the sport to go up. This type of study can easily be applied to other sports as well, not just Tennis.

Data Analysis on Sports Betting


Future Work on Data

-Future work will be to look at the lengths in which matches go per round and per tournament, my thoughts here are: do longer more rigorous matches help improve consistency of play for a player? Does it increase their odds (betting) of winning in the next round? The next tournament? Does it affect them negatively? Does a 6 hour match increase popularity for the sport, or does it lower it? These are just some of the questions I have at the moment. The list will surely increase based on how much more constructive this app becomes.



-I also plan to look into further tournaments outside of grand slams to see how different those tournaments are compared to that of the grand slam level (grand slam tournaments are much longer, and matches take twice as much time) there is definitely more analysis to look at there.

-Once I have all the data and analysis needed to answer all my questions so far, I plan to move beyond just tennis and examine other sports with popular betting trends as well. Such sports include: NFL, NBA, MLB, etc.

About Author

Jason Hoffmeier

Jason Hoffmeier is a NYC Data Science fellow that currently resides in New York City. He has a Masters Degree in Systems Engineering from SUNY Binghamton, and has recently earned his Lean Six Sigma Black Belt for quality...
View all posts by Jason Hoffmeier >

Leave a Comment

No comments found.

View Posts by Categories

Our Recent Popular Posts

View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI