Analysis of basketball data