Analysing class data and Summary of regression