SciPy - Statistical Tests
What will be the output of the following code?
import scipy.stats as stats
a = [5, 7, 8, 6]
b = [6, 9, 7, 10]
c = [15, 18, 20, 17]
result = stats.f_oneway(a, b, c)
print("{:.3f}".format(result.pvalue))What will be the output of the following code?
import scipy.stats as stats
a = [5, 7, 8, 6]
b = [6, 9, 7, 10]
c = [15, 18, 20, 17]
result = stats.f_oneway(a, b, c)
print("{:.3f}".format(result.pvalue))a and b have similar means (~6.5-8), group c has much higher values (~17.5).c differs strongly, the p-value will be very low, indicating significant difference.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions