SciPy - Statistical Tests
Identify the error in this code snippet that uses scipy.stats.f_oneway:
import scipy.stats as stats a = [1, 2, 3] b = [4, 5, 6] result = stats.f_oneway(a, b) print(result.pvalue)
Identify the error in this code snippet that uses scipy.stats.f_oneway:
import scipy.stats as stats a = [1, 2, 3] b = [4, 5, 6] result = stats.f_oneway(a, b) print(result.pvalue)
f_oneway with two lists.pvalue (not p_value), so accessing result.pvalue is correct.pvalue attribute correct = B [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions