Skip to content

weiyueli7/NBA-3Pointers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NBA Players Salaries: The Impact of 3-Point Shooting

Explore the presentation here. The final paper is selected as a standout research paper from prior years and is accessible at here.

Introduction

This project examines the influence of 3-point shooting abilities on NBA players' salaries. We delve into whether excelling in 3-pointers correlates with higher salaries, considering various factors and statistical models.

Getting Started

Prerequisites

For a seamless experience, it's advisable to use a conda environment. You can create and activate a conda environment named nba3 with Python 3.9 by following these commands:

conda create -n nba3 python=3.9
conda activate nba3
pip install -r requirements.txt

Deployment

To execute the regression models and generate visualizations, use:

python main.py

For a detailed guide on main.py, including available arguments, use:

python main.py -h

To incorporate ESPN salary data:

python3 main.py --salary_source espn

Configuration adjustments can be made in the model_configs files. The results from the Ordinary Least Squares (OLS) models and related figures will be stored in the results folder.

Author

Acknowledgments

Special thanks to Professor Julie Cullen and Professor Emanuel Vespa for their invaluable guidance and support in this research.