0
0
SciPydata~5 mins

Wilcoxon signed-rank test in SciPy - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the Wilcoxon signed-rank test used for?
It is a test to compare two related samples to see if their population median ranks differ. It helps check if there is a difference between paired data without assuming normal distribution.
Click to reveal answer
beginner
What kind of data is suitable for the Wilcoxon signed-rank test?
Paired or matched samples where you want to compare differences, especially when data is not normally distributed or sample size is small.
Click to reveal answer
beginner
Which Python library provides the Wilcoxon signed-rank test function?
The 'scipy.stats' module provides the function 'wilcoxon()' to perform the Wilcoxon signed-rank test.
Click to reveal answer
intermediate
What does a low p-value from the Wilcoxon signed-rank test indicate?
It suggests that there is a significant difference between the paired samples, so we reject the idea that their median differences are zero.
Click to reveal answer
intermediate
How do you interpret the test statistic returned by the Wilcoxon signed-rank test?
The test statistic is the sum of ranks of the differences with positive or negative signs. Smaller values indicate stronger evidence against the null hypothesis of no difference.
Click to reveal answer
What type of test is the Wilcoxon signed-rank test?
ATest for correlation between variables
BNon-parametric test for paired samples
CParametric test for independent samples
DTest for normality of data
Which Python function runs the Wilcoxon signed-rank test?
Ascipy.stats.ttest_rel()
Bscipy.stats.kruskal()
Cscipy.stats.mannwhitneyu()
Dscipy.stats.wilcoxon()
When should you use the Wilcoxon signed-rank test instead of a paired t-test?
AWhen data is not normally distributed
BWhen samples are independent
CWhen data is normally distributed
DWhen sample size is very large
What does a p-value less than 0.05 in the Wilcoxon test usually mean?
ANo difference between samples
BTest is invalid
CSignificant difference between samples
DSamples are independent
Which of these is NOT a requirement for the Wilcoxon signed-rank test?
ASamples must be independent
BDifferences should be symmetrically distributed
CData must be paired
DData can be ordinal or continuous
Explain the Wilcoxon signed-rank test and when you would use it.
Think about comparing before and after measurements without assuming normal data.
You got /4 concepts.
    Describe how to perform the Wilcoxon signed-rank test using scipy and interpret its output.
    Focus on the function name, inputs, and what the p-value tells you.
    You got /4 concepts.