Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
389 B
0
Indexable
Never
#Statistics test performance on mid-term and final
above = [27, 18]
average = [32, 25]
below = [8, 36]
data = (above, average, below)
alpha = 0.05

import statsmodels.stats.oneway as oneway
oneway.anova_oneway( (above, average, below) , use_var = 'equal')

#negative attitude is more than the positive
#p-value is more than 0.05 level of significance, accept the null hypothesis