Data analysis for class