Anova, F Test, Analysis Of Variance, Data Analysis, Anova Python.
df_students[df_students.Country == i].Results.mean() sqr_mean_diff = (group_mean-overal_mean)**2 sum_sqr = len(df_students[df_students.Country == i])*sqr_mean_diff ssb.append(sum_sqr) #Sum of group variability of each group SSb = sum(ssb) print(SSb) 4686.961999999989 Then we can find Mean Square