0
0
SciPydata~5 mins

Mann-Whitney U test in SciPy - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the Mann-Whitney U test used for?
It is a test to compare two groups to see if one tends to have larger values than the other, without assuming the data follows a normal distribution.
Click to reveal answer
beginner
What kind of data does the Mann-Whitney U test work with?
It works with two independent samples of ordinal or continuous data that do not need to be normally distributed.
Click to reveal answer
beginner
In Python's scipy library, which function performs the Mann-Whitney U test?
The function is scipy.stats.mannwhitneyu.
Click to reveal answer
beginner
What does the p-value from the Mann-Whitney U test tell us?
It tells us how likely it is to see the observed difference between groups if there was actually no difference.
Click to reveal answer
beginner
What is the null hypothesis in the Mann-Whitney U test?
The null hypothesis is that the two groups come from the same distribution, meaning no difference in their values.
Click to reveal answer
What does the Mann-Whitney U test compare?
ATwo independent groups without assuming normal distribution
BTwo paired groups assuming normal distribution
CMore than two groups with normal distribution
DCorrelation between two variables
Which scipy function runs the Mann-Whitney U test?
Ascipy.stats.ttest_ind
Bscipy.stats.mannwhitneyu
Cscipy.stats.chi2_contingency
Dscipy.stats.pearsonr
What does a small p-value from the Mann-Whitney U test indicate?
AStrong evidence that the two groups differ
BNo difference between groups
CData is normally distributed
DTest was not performed correctly
Which assumption is NOT required for the Mann-Whitney U test?
ASamples are independent
BGroups have similar shapes
CData is ordinal or continuous
DData is normally distributed
If the Mann-Whitney U test returns U=0, what does it mean?
ATest failed to run
BBoth groups have identical values
COne group has all smaller values than the other
DGroups are perfectly correlated
Explain in your own words what the Mann-Whitney U test does and when you would use it.
Think about comparing two groups when you can't assume normal data.
You got /4 concepts.
    Describe how to perform the Mann-Whitney U test using scipy and interpret the results.
    Focus on the function call and what the output numbers mean.
    You got /4 concepts.