Data Study on The Changing Landscape in the NBA

Posted on May 7, 2018
The skills the author demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

Motivation

As an avid fan of the NBA and NBA technology, one can argue that the landscape of the NBA has transformed in many areas of the sport. From broadcasting to players, to the science of ankle injuries, the NBA is moving into the era of data.

Seeing the growth of the NBA, I wondered how previous generations of NBA players stacked up against current players in terms of birthplaces. As technology brings different parts of the world closer together, I would like to see how this trend would affect the way NBA scouts recruit players from places outside the U.S. My research began looking at how the NBA landscape altered itself from a U.S. oriented player to a larger international presence.

Data Set

From Kaggle, I acquired two datasets. The first dataset included the names of every player that competed in the NBA, along with their birthplace. For this dataset, I removed all the NaN birthplaces to clean the data.

The second dataset included player stats per season. I merged the two datasets, where I left joined on the first dataset with the second dataset. In performing the join, I was able to calculate the average career length of a player, to be 5 seasons (5 years). I used this new information to group every 5 years of players as a generation.

To see how the landscape of the NBA altered itself from U.S. dominate players to a larger diverse crowd, I calculated the percent difference between U.S. born players and those born outside the U.S.

To review my code:  GitHub

Data Insights

In my research, I used the percent difference of U.S. born players against international born players from 1942 to 1997. The players born in 1997 are either rookies or second-year players in the NBA. In calculating the percent difference, you can see in the graph below, there’s a clear trend of overseas players increasing year over year. The graph shows the U.S. isn’t the only place to recruit top-tier talent anymore. In an NBA that values players that can do a little of everything, expanding an NBA scout’s overall candidate pool can give any team the edge they need.

Data Study on The Changing Landscape in the NBA

After visualizing the increasing presence of international players in the NBA, I was interested in seeing where these players are coming from. In the graph below, you can see the total number of players that come from each state outside of the U.S. The top country that produces NBA players, outside the U.S., comes from Canada, Serbia following closely.

Data Study on The Changing Landscape in the NBA

What’s interesting to see here is that first world countries are not at the top of the list. You would expect the powerhouse countries to produce the most NBA ready players, but above shows, this is not the case. Another interesting outcome of this graph, it shows smaller countries produce NBA players, unlike India or China. To view my analysis, please click on my shiny app link:  ShinyApp.io

Future Work

There are a few routes I can take to expand my analysis, but I think an interesting route would be looking at Nike and Adidas revenue sets or store locations in each country outside of the U.S.

Nike and Adidas spend a fortune on their marketing budget. The research involved in their marketing strategy should include some sort of analysis as to where each company should open a new store. Maybe, from scrapping store locations, I will be able to see a trend or a correlation between the store location and the number of players that come from those countries. Taking a look at each country’s population, relative to the number of stores, can be an interesting insight as well.

I could also look at each both companies in each country. For example, it would be interesting to see Serbian citizens spending a significant amount of money on shoes and NBA products compared to other countries.

Goal

My goal for this project is to come up with some predictive model that enables scouts to locate NBA ready players with the use of data and enable an easier and more cost-efficient way to find and recruit players.

About Author

Emanuel Kamali

In addition to machine learning, he loves the AHA! moments, storytelling, and the creative aspects of data science
View all posts by Emanuel Kamali >

Related Articles

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 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