Dynamic Bradley-Terry modelling of sports tournaments.
M. Cattelan, C. Varin and D. Firth.


############################################################
Data
###########################################################

1) File "NBA09_10.txt" contains the results of the 2009-2010 season of the National Basketball Football Association. The data set includes five columns:
"HomeTeam": the team playing at home;
"AwayTeam": the opponent visiting team;
"ScoreHome": the score of the home team;
"ScoreAway": the score of the visiting team;
"Date": the day in which the match was played.


2) File "football08_09.txt" contains the data set of the Serie A football matches. There are five columns:
"HomeTeam": the team playing at home;
"AwayTeam": the opponent visiting team;
"ScoreHome": the score of the home team;
"ScoreAway": the score of the visiting team;
"Date": the day in which the match was played.


############################################################################
Programs
############################################################################

1) File "NBA_analyses.r" contains the R code written to implement the analyses of the NBA 2009-2010 season, including commands for the graphs.

2) File "football_analyses.r" contains the R code written for the analyses of the Serie A football data.

############################################################################

Manuela Cattelan, 
Department of Statistical Sciences 
University of Padova 
via C. Battisti 241, 35121 Padova (Italy)
e-email: manuela.cattelan@unipd.it



