kobe

Hot Hands


Overview

Data from the five games the Los Angeles Lakers played against the Orlando Magic in the 2009 NBA finals. Each row represents a shot Kobe Bryant took during these games. Kobe Bryant's performance against the Orlando Magic in the 2009 NBA finals earned him the title of Most Valuable Player and many spectators commented on how he appeared to show a hot hand.


Variables

  • vs: A categorical vector, ORL if the Los Angeles Lakers played against Orlando.
  • game: A numerical vector, game in the 2009 NBA finals.
  • quarter: A categorical vector, quarter in the game, OT stands for overtime.
  • time: A categorical vector, time at which Kobe took a shot.
  • description: A categorical vector, description of the shot.
  • basket: A categorical vector, H if the shot was a hit, M if the shot was a miss.


Loading Data

CSV Download

To access the data in R, type

download.file("http://www.openintro.org/books/statdata/kobe.RData",
              destfile = "kobe.RData")
load("kobe.RData")

To access the data in SAS, type

filename kobe url 'http://www.openintro.org/books/statdata/kobe.csv'