Abstract
This project aims to determine what stats to focus on for bastketball teams in order to achieve the most amount of wins possible through the method of multiple linear regression. Specificly, we are looking on what to focus on during offenese, so only offensive stats will be studied in this project.knitr::opts_chunk$set(echo = TRUE, comment = "AL")
When the coronavirus spread to the USA, the National Basketball Association (NBA) was in the middle of it’s 2019-2020 season. The season was immediately suspended until further notice when Rudy Gobert, a player for the Salt Lake City NBA team, tested positive for Covid-19. However, talks surfaced about a potential “bubble environment” that could completely isolate the teams to continue to play without having to worry about the possibility of being infected. So on July 7th, 22 teams were invited to participate to continue playing against each other in DisneyWorld and resulted in one of the most magical seasons ever played.
Even though there were many top teams playing, only 1 can be crowned champion at the end of the season, but is there a way that we can somehow predict who will be the champion based off of how well/bad a team performed in the regular season? Therefore, this project will attempt to look at a model with variables to see what variables can best be used to model how well a team will succeed.
First let’s read in the data to see what variables we will be working with. More specifically, we will be looking at the variables that are taken from game to game for each individual team and that are recorded when a team is on OFFENCE.
#reading in the data
library(readxl)
NBA = read_xlsx("C:/OU/Math 4773/Projects/Project 2/NBA team stat.xlsx")
names(NBA)
AL [1] "Team" "FG" "3P" "2P" "2PA" "FT" "ORB" "AST" "STL" "W"
The variables that we will be looking at closely are:
Team: the name of the NBA team you are looking at. (qualitative)
The NBA teams
3P: The total number of 3 pointers made by a team per game, a successful shot that is shot behind an arc called the “3 point line.” (quantitative)
Jeremy Lin scoring a 3 pointer
2P: The total number of 2 pointers made by a team per game, any successful shot inside the 3 point line (can be a shot or a dunk). (quantitative)
{ width=30% }
FT: The total number of Free throws made by a team per game, a 1 point shot that is given to a player after being fouled. A free throw is taken at the “free throw line” located 15-feet (4.572 meters). (quantitative)
ORB The total number of offensive rebounds by a team per game. An offensive rebound occurs when an offensive player grabs the basketball off of a missed shot by himself or a teammate and has possession. (quantitative)