« Homework | Main | Homework »

January 31, 2005

Basketball Data Source

In class, we will be using data on last season's UNC ACC basketball games. You will want to get a copy of this data and study its statistical properties because it might be on the final exam.

Last year, UNC played 16 ACC games. We played each of the other 8 schools twice, once at home and once away. We won 8 of these contests. The dataset has the scores for each of the 20 minute periods (2 per game).

basketball data

Variable Definitions:

n = game number. game = opponent. at = (0 for home game, 1 for away game). nc1 / nc2 = points scored by UNC in the first and second halves. opp1 / opp2 = points scored by the opponent in the first and second halves.

Variables Created In Class:

generate nc = nc1 + nc2 (total UNC points)
generate opp = opp1 + opp2
generate win = nc > opp

generate diff1 = nc1 - opp1
generate diff2 = nc2 - opp2
generate diff = nc - opp

Sharp observers might wonder about defining "win" in terms of the score after two halves. In fact, three games were tied at that point and went into overtime. Unfortunately, UNC lost all three games, making the definition of "win" appropriate.

Posted by bparke at January 31, 2005 11:24 PM

Comments