Git Product home page Git Product logo

nba-trades's Introduction

Do NBA Teams Avoid Trading within Their Own Division?

Data, code and paper (currently under review).

  • jimi adams (@jimiadams)
  • Michał Bojanowski (@mbojan)

Abstract:

Within US professional sports, trades within one's own division are often perceived to be disadvantageous. We ask how common this practice is. To examine this question, we construct a date-stamped network of all trades in the NBA between June 1976 and May 2019. We then use yearly weighted exponential random graph models to estimate the likelihood of teams avoiding within-division trade partners, and whether that pattern changes through time. In addition to the empirical question, this analysis serves to demonstrate the necessity and difficulty of constructing the proper baseline for statistical comparison. We find limited-to-no support for the popular perception.

Draft is at https://mbojan.github.io/nba-trades/.

Building

The repository uses GNU make for reproducibility. Wherever random number generation is performed the seed is set so the results should reproduce.

All the artifacts (data, estimated models, and figures) are committed to the repository. This facilitates editing the manuscript without rerunning any part of the analysis. Simply Knit the document in RStudio or use make just-render.

  1. To see defined phony targets run:
make help
  1. To render the manuscript without touching any other parts: knit it in RStudio or execute
make just-render
  1. To render the manuscript (re)running some other parts if necessary:
make paper
  1. To "publish" the manuscript to /docs/ execute:
make publish

nba-trades's People

Contributors

mbojan avatar z-richardson avatar jimiadams avatar

Watchers

 avatar

Forkers

jimiadams

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.