Giter Site home page Giter Site logo

sta365-final-project's Introduction

Hot Hand Fallacy Analysis Using Bayesian Inference

In this project, we aim to analyze the "Hot Hand Fallacy" in basketball using Bayesian inference. This file the variables we used in our analysis. The dataset was originally taken from Kaggle. It details every single shot taken by NBA players in the 2014-15 season until March 04, 2015. We added additional data from another Kaggle dataset. We added extra variables that were calculated by iterating over this dataset (for full explanation, see 'data_scripts/readme.md').

List of Variables Used in Analysis

Here is a list of all the variables included in our models (full list of all variables examined or used throughout the course of this project can be found further below).

  • LOCATION: Is the game being played at that player's team's arena (home), or in the other team's arena (Away)? "H" for home, "A" for away.
  • SHOT_CLOCK: Time left in the shot clock (each team has a maximum of 24 seconds to score in a possession).
  • SHOT_DIST: Distance from basket when shooting in feet.
  • DEFENDER_HEIGHT_CM: Height of defender in cm.
  • CLOSE_DEF_DIST: Distance from closest defender in feet.
  • PLAYER_HEIGHT: Height of the player in cm.
  • HOT_HAND_SHOT_STREAK3: Do they have a streak of at least 3 shots before the current one?

In our models, we also used the following variable to only select the shots taken by the 15 players who went on a "hot hand streak" the most throughout that season:

  • num_HHS: Number of shots taken by player in the dataset where the player was on a "hot hand" (previously made three consecutive shots)

sta365-final-project's People

Contributors

kagrawal7 avatar j-milando-10 avatar vinayakmaharaj avatar junhao-saw avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.