SciPy - Statistical Tests
What is wrong with this code snippet that attempts to perform a paired t-test?
from scipy.stats import ttest_rel
control = [10, 12, 14]
treatment = [11, 13]
result = ttest_rel(control, treatment)
print(result.pvalue)What is wrong with this code snippet that attempts to perform a paired t-test?
from scipy.stats import ttest_rel
control = [10, 12, 14]
treatment = [11, 13]
result = ttest_rel(control, treatment)
print(result.pvalue)15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions