A researcher wants to compare the median pain scores between two groups but discovers that the data are heavily skewed and contain outliers. The sample sizes are n1=12 and n2=15. Which statement best describes the most appropriate statistical approach?
AUse a two-sample t-test since the sample sizes are small and normally distributed
BApply the Wilcoxon rank-sum test since it doesn't require normal distribution assumptions
CUse the paired t-test since we're comparing two groups with similar sample sizes
DApply the Wilcoxon signed-rank test since the data are skewed and contain outliers
EUse ANOVA since we have two independent groups with quantitative outcome measures
Practice Nonparametric Tests in Biostatistics with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.
What this quiz covers
This quiz focuses on Nonparametric Tests, giving you a quick way to practice the rules, question types, and explanations that matter most for Biostatistics.
How to use this quiz
Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.
All questions
Question 1
A researcher wants to compare the median pain scores between two groups but discovers that the data are heavily skewed and contain outliers. The sample sizes are n1=12 and n2=15. Which statement best describes the most appropriate statistical approach?
Use a two-sample t-test since the sample sizes are small and normally distributed
Apply the Wilcoxon rank-sum test since it doesn't require normal distribution assumptions (correct answer)
Use the paired t-test since we're comparing two groups with similar sample sizes
Apply the Wilcoxon signed-rank test since the data are skewed and contain outliers
Use ANOVA since we have two independent groups with quantitative outcome measures
Explanation: When you encounter a question about comparing groups with non-normal data, you need to choose between parametric tests (which assume normal distributions) and non-parametric tests (which don't). The key clues here are "heavily skewed," "contains outliers," and "comparing median pain scores between two groups."The Wilcoxon rank-sum test (also called the Mann-Whitney U test) is the correct choice because it's specifically designed for comparing two independent groups when data violate normality assumptions. This non-parametric test works by ranking all observations from both groups combined, then comparing the sum of ranks between groups. It's robust to outliers and skewness, making it ideal for this scenario.Option A is wrong because the two-sample t-test requires normally distributed data, which you explicitly don't have. The phrase "normally distributed" in this choice directly contradicts the problem setup describing skewed data with outliers.Option C misunderstands the study design entirely. A paired t-test is used when you have matched pairs or before/after measurements on the same subjects, not simply because sample sizes are similar. This appears to be two independent groups.Option D confuses the two Wilcoxon tests. The Wilcoxon signed-rank test is for paired/matched data or single-sample comparisons against a hypothesized median, not for comparing two independent groups.Remember this pattern: when comparing two independent groups with non-normal data, think Wilcoxon rank-sum test. When you see "paired," "matched," or "before/after," then consider the Wilcoxon signed-rank test.
Question 2
A clinical trial compares a new treatment to placebo using the Wilcoxon rank-sum test. The sum of ranks for the treatment group (n1=6) is 33, and the sum of ranks for the placebo group (n2=8) is 72. What can be concluded about the total sum of ranks?
The calculation contains an error since rank sums should be equal between groups
The total rank sum is correct at 105, which equals 214×15 (correct answer)
The placebo group sum is too large, indicating a computational mistake in ranking
The treatment group sum should be larger since it represents the active intervention
The rank distribution is invalid because the groups have unequal sample sizes
Explanation: When working with the Wilcoxon rank-sum test, you need to verify that your rank calculations are mathematically sound by checking the total sum of ranks against a known formula.The correct approach is to calculate the expected total rank sum using the formula 2N(N+1), where N is the total sample size. Here, N=n1+n2=6+8=14. So the expected total is 214×15=105. Adding the given rank sums: 33+72=105. This matches perfectly, confirming the calculations are correct.Looking at the wrong answers: Choice A incorrectly assumes rank sums should be equal between groups, but there's no such requirement in the Wilcoxon test—unequal group sizes or different treatment effects naturally lead to different rank sums. Choice C mistakenly assumes the placebo group's larger sum indicates an error, but a larger rank sum simply suggests higher values in that group, which is perfectly valid. Choice D reflects a common misconception that the treatment group should automatically have larger ranks—but statistical tests measure what actually happened in the data, not what we expect based on which group received active treatment.Study tip: Always verify Wilcoxon rank-sum calculations by checking that individual rank sums add up to 2N(N+1). This catches computational errors and builds confidence in your results before interpreting the statistical significance.
Question 3
When would the Wilcoxon signed-rank test be preferred over the Wilcoxon rank-sum test for analyzing the effectiveness of a weight-loss intervention?
When comparing weight loss between two different treatment groups with independent participants
When the weight measurements follow a normal distribution with equal variances between groups
When analyzing before and after weights from the same participants in a single group (correct answer)
When the sample size is too small to detect differences using parametric methods
When comparing median weight loss across three or more independent treatment conditions
Explanation: When you encounter questions about choosing between Wilcoxon tests, the key distinction is whether you're dealing with paired or independent data. Both are non-parametric tests that work with ranks rather than raw values, but they serve different experimental designs.The Wilcoxon signed-rank test is specifically designed for paired data—situations where you have two measurements from the same subjects or matched pairs. In a weight-loss intervention study, when you measure participants' weights before treatment and again after treatment, you have paired observations. The signed-rank test analyzes the differences between these paired measurements, making it ideal for before-and-after comparisons within the same group of people.Option A describes independent groups comparing different treatments, which calls for the Wilcoxon rank-sum test (also called Mann-Whitney U test), not the signed-rank test. Option B suggests using parametric methods when data are normally distributed with equal variances—in this scenario, you'd typically choose a paired t-test rather than either Wilcoxon test. Option D incorrectly implies that sample size alone determines the choice between these two Wilcoxon tests; both can handle small samples, but the decision depends on study design, not sample size.Study tip: Remember this simple distinction—Wilcoxon signed-rank is for "signed" differences between paired observations (same subjects measured twice), while Wilcoxon rank-sum compares the "sums" of ranks between two independent groups. The word "signed" in signed-rank should remind you of the plus/minus differences you calculate within pairs.
Question 4
A researcher calculates tied ranks in a Wilcoxon rank-sum test where three observations have the value 15. If these would normally receive ranks 4, 5, and 6, what rank should be assigned to each observation?
Each observation receives rank 4, the lowest rank in the tied group
Each observation receives rank 5, the middle rank of the three tied values
Each observation receives rank 6, the highest rank that would be assigned
The observations receive ranks 4.5, 5.0, and 5.5 to maintain proper ordering
Each observation receives rank 5, calculated as 34+5+6 (correct answer)
Explanation: When handling tied observations in nonparametric tests like the Wilcoxon rank-sum test, you need to understand the standard method for assigning ranks to ensure the test maintains its statistical properties.The correct approach for tied ranks is to assign each tied observation the average of the ranks they would have received if they were slightly different. Since these three observations with value 15 would normally occupy ranks 4, 5, and 6, you calculate the average: (4+5+6)÷3=5. Therefore, each observation receives rank 5, making B the correct answer.Looking at why the other options are wrong: A assigns only the lowest rank (4), which would artificially deflate the rank sum and bias the test results. C uses only the highest rank (6), creating the opposite problem by inflating rank sums. D attempts to maintain distinct ranks (4.5, 5.0, 5.5), but this defeats the purpose of tied rank handling—tied observations should receive identical ranks since they represent identical values.The averaging method in B ensures that the sum of assigned ranks equals the sum of the original ranks that would have been used (4 + 5 + 6 = 15, and 5 + 5 + 5 = 15), preserving the mathematical foundation of the test while appropriately handling the tie.Study tip: Remember the tied rank formula: average the consecutive ranks that the tied observations would have occupied. This maintains the rank-sum totals needed for valid nonparametric test calculations.
Question 5
In a Wilcoxon rank-sum test comparing two groups with sample sizes n1=5 and n2=7, what is the expected value of the rank sum for the smaller group under the null hypothesis?
32.5, calculated as 25×13 (correct answer)
39, representing the average rank sum across both groups
30, calculated as 5×6 for the smaller group size
65, representing the total sum of all ranks divided by 2
45.5, calculated as 5×213+45×6
Explanation: When you encounter a Wilcoxon rank-sum test question, you're dealing with a non-parametric test that compares two independent groups by ranking all observations together. The key insight is understanding what happens to rank sums under the null hypothesis of no difference between groups.Under the null hypothesis, both groups are assumed to come from the same distribution, so ranks should be distributed randomly between the groups. This means each group's expected rank sum is proportional to its sample size.With n1=5 and n2=7, you have a total of 12 observations. When ranked from 1 to 12, the sum of all ranks is 212×13=78. Since the smaller group contains 5 out of 12 observations, its expected proportion of the total rank sum is 125. Therefore, the expected rank sum for the smaller group is 125×78=32.5, which matches the formula 2n1(n1+n2+1)=25×13=32.5.Answer A correctly applies this standard formula. Answer B (39) incorrectly assumes equal rank sums for both groups despite different sample sizes. Answer C (30) uses an arbitrary multiplication that ignores the actual ranking structure. Answer D (65) incorrectly halves the total rank sum without considering group proportions.Remember: In rank-sum tests, expected values are always proportional to sample sizes. The formula 2n1(n1+n2+1) for the expected rank sum of the first group is essential to memorize.
Question 6
Which assumption is NOT required for the valid application of the Wilcoxon rank-sum test?
The observations within each group are independent of each other
The two groups are independent of each other with no overlap
The outcome variable is measured on at least an ordinal scale
The population distributions have identical shapes under the null hypothesis
The sample data follow a normal distribution with equal variances (correct answer)
Explanation: When you encounter questions about nonparametric test assumptions, focus on what makes these tests "distribution-free" compared to their parametric counterparts.The Wilcoxon rank-sum test (also called the Mann-Whitney U test) is designed to compare two independent groups without requiring the strict distributional assumptions of parametric tests like the t-test. However, it still has several key assumptions that must be met for valid results.Looking at the options, there appears to be an error in the question format since option E isn't provided, but based on the context, the answer would be whichever assumption is NOT required.Option A is definitely required - independence within groups is fundamental to prevent inflated Type I error rates. Option B is also essential - the groups must be independent with no subject appearing in both groups, distinguishing this from paired tests like the Wilcoxon signed-rank test. Option C is absolutely necessary - since the test relies on ranking observations, you need at least ordinal data where "greater than" and "less than" relationships are meaningful.Option D represents a common misconception. While many textbooks state that identical distribution shapes are required under the null hypothesis, modern statistical thinking recognizes this isn't strictly necessary. The test remains valid for detecting differences in central tendency even when distributions have different shapes, though interpretation becomes more complex.Study tip: Remember that nonparametric tests trade distributional assumptions for other requirements. They're not assumption-free - they still need independence and appropriate measurement scales, but they're more flexible about population distributions than parametric alternatives.
Question 7
In which scenario would neither the Wilcoxon rank-sum test nor the Wilcoxon signed-rank test be appropriate?
Comparing median income between two cities using independent random samples
Analyzing before and after blood pressure measurements from the same patients
Comparing patient satisfaction scores across four different hospital departments (correct answer)
Testing whether a weight-loss program produces changes in participant weights
Comparing pain relief scores between treatment and control groups with skewed data
Explanation: When you encounter questions about nonparametric tests, focus on understanding what each test is designed to compare and how many groups are involved.Both Wilcoxon tests are designed for comparing exactly two groups or conditions. The rank-sum test compares two independent groups, while the signed-rank test compares paired observations (like before/after measurements). Neither can handle comparisons involving more than two groups.Option C is correct because comparing patient satisfaction across four hospital departments involves multiple groups (four departments). This scenario requires a test designed for multiple comparisons, such as the Kruskal-Wallis test, not either Wilcoxon test.Option A is wrong because comparing median income between two cities fits perfectly with the Wilcoxon rank-sum test - you have two independent groups (cities) and you're comparing their medians. Option B is wrong because before/after blood pressure measurements from the same patients represent paired data, which is exactly what the Wilcoxon signed-rank test is designed to analyze. Option D is wrong because testing weight changes in participants involves paired data (before and after weights), making the signed-rank test appropriate.Remember this key distinction: Wilcoxon tests are strictly for two-group comparisons. When you see three or more groups in a scenario, immediately think beyond Wilcoxon tests to multiple-group nonparametric methods like Kruskal-Wallis. This pattern appears frequently on biostatistics exams, so always count the number of groups being compared before selecting your statistical test.
Question 8
A researcher conducts a Wilcoxon signed-rank test and obtains T+=15 and T−=21. If the total number of non-zero differences is 8, what should the researcher conclude about the calculation?
The calculation is correct since T++T−=36=28×9 (correct answer)
There is an error because T+ should always be larger than T−
The values are impossible since the sum exceeds the maximum for 8 observations
The calculation is correct but suggests no significant difference between groups
There is an error because the difference ∣T+−T−∣ is too large
Explanation: When you encounter Wilcoxon signed-rank test calculations, the fundamental principle to remember is that the sum of positive and negative rank sums must equal the total of all possible ranks for the given number of observations.The correct answer is A because it properly applies the validation formula. With 8 non-zero differences, the ranks assigned are 1, 2, 3, 4, 5, 6, 7, and 8. The sum of all these ranks is 2n(n+1)=28×9=36. Since T++T−=15+21=36, the calculation checks out perfectly.Answer B reflects a common misconception that T+ must always exceed T−. This isn't true—either statistic can be larger depending on whether positive or negative differences tend to have higher ranks. The relative sizes of T+ and T− depend on your data, not mathematical requirements.Answer C incorrectly suggests the sum is too large. The sum of 36 is exactly what we expect for 8 observations—it's neither too large nor too small.Answer D makes an unfounded leap to statistical significance. While we can verify the arithmetic is correct, we cannot determine significance without knowing the critical value, sample size considerations, or the specific hypothesis being tested.Study tip: Always verify Wilcoxon calculations using T++T−=2n(n+1) where n is the number of non-zero differences. This quick check catches most computational errors before you proceed to significance testing.
Question 9
When comparing the power of the Wilcoxon rank-sum test to the two-sample t-test, which statement is most accurate?
The Wilcoxon test always has higher power regardless of the data distribution
The t-test has higher power when normality assumptions are met, but lower power when they are violated (correct answer)
Both tests have identical power when sample sizes are equal between groups
The Wilcoxon test has higher power only when the data contain extreme outliers
Power comparisons are meaningless since the tests address different research questions
Explanation: When comparing statistical tests, you need to understand that power depends heavily on whether the underlying assumptions of each test are met. The relationship between the Wilcoxon rank-sum test and the two-sample t-test illustrates a fundamental trade-off in statistics.The t-test is designed specifically for normally distributed data and achieves maximum power when this assumption holds true. Under normality, the t-test uses all available information about the data's distribution, making it the most efficient choice. However, when normality is violated—especially with heavy-tailed distributions or significant skewness—the t-test loses power because its assumptions no longer match the data structure.The Wilcoxon rank-sum test, being nonparametric, doesn't assume normality and remains robust across different distributions. While it sacrifices some power under ideal conditions (normal data), it maintains consistent performance when distributional assumptions are violated.Looking at the wrong answers: A) is incorrect because the Wilcoxon test actually has lower power than the t-test when normality holds—there's no universal superiority. C) is wrong because power depends on distributional assumptions, not just sample size equality. D) is too narrow—the Wilcoxon test's advantages extend beyond just handling outliers to include any departure from normality.Answer B correctly captures this nuanced relationship: the t-test excels under its designed conditions but suffers when those conditions aren't met, while the Wilcoxon test provides a safer, more robust alternative.Study tip: Remember the efficiency-robustness trade-off—parametric tests win under ideal conditions, but nonparametric tests provide insurance against assumption violations.
Question 10
A study uses the Wilcoxon signed-rank test to analyze pain reduction scores. The researcher reports that T=8 with n=10 non-zero differences. Using the normal approximation, what is the standardized test statistic z?
z=−1.99, calculated using the normal approximation formula (correct answer)
z=−1.96, using the standard normal approximation without correction
z=−2.14, calculated using the continuity correction
z=−1.89, using the simplified variance formula for large samples
z=−2.55, calculated using the exact binomial approximation method
Explanation: When you encounter a Wilcoxon signed-rank test problem asking for the standardized test statistic, you need to apply the normal approximation formula with the correct parameters.The Wilcoxon signed-rank test uses T as the test statistic, and for normal approximation with n non-zero differences, the standardized statistic is: z=σTT−μT where μT=4n(n+1) and σT=24n(n+1)(2n+1).With n=10 and T=8:
μT=410(11)=27.5
σT=2410(11)(21)=96.25≈9.81
z=9.818−27.5=9.81−19.5≈−1.99
This confirms answer A is correct.Answer B (z=−1.96) uses an incorrect variance calculation, likely confusing this with critical values from standard normal tables. Answer C (z=−2.14) incorrectly applies a continuity correction, which isn't part of the standard normal approximation for the Wilcoxon test as typically taught. Answer D (z=−1.89) uses a "simplified" variance formula that doesn't match the established Wilcoxon signed-rank test parameters.Study tip: Memorize the Wilcoxon signed-rank normal approximation formulas: μT=4n(n+1) and σT=24n(n+1)(2n+1). These appear frequently on biostatistics exams, and getting the variance formula wrong is the most common error.
Question 11
Which situation would most strongly favor using a nonparametric test over its parametric equivalent?
Sample sizes are small (n<30) but data appear approximately normal
Data contain several extreme outliers and the distribution is heavily right-skewed (correct answer)
The research question focuses on comparing population means rather than medians
Sample sizes are large (n>100) and the Central Limit Theorem applies
The data are measured on a continuous scale with high precision
Explanation: When deciding between parametric and nonparametric tests, you need to evaluate whether your data meets the assumptions required for parametric tests: normality, independence, and homogeneity of variance. Nonparametric tests become preferable when these assumptions are severely violated.Data with several extreme outliers and heavy right-skewing creates the perfect storm for choosing nonparametric tests. Outliers can dramatically inflate means and standard deviations, making parametric tests unreliable since they assume normal distributions. Heavy skewing further violates normality assumptions. Nonparametric tests like the Mann-Whitney U or Wilcoxon signed-rank test work with ranks rather than raw values, making them robust against outliers and skewed distributions.Option A is incorrect because small sample sizes with approximately normal data actually favor parametric tests—normality matters more than sample size for parametric assumptions. Option C misses the point entirely; nonparametric tests typically compare medians or distributions, not means, so if you specifically need to compare means, you'd prefer parametric methods when assumptions are met. Option D is wrong because large sample sizes with the Central Limit Theorem working in your favor strongly support using parametric tests—the CLT helps normalize sampling distributions even when raw data aren't perfectly normal.Study tip: Remember the hierarchy: if data are normal or nearly normal, go parametric. If you see "outliers," "skewed," or "non-normal" in the question stem, think nonparametric. Large samples generally favor parametric tests due to the Central Limit Theorem, while extreme departures from normality favor nonparametric approaches regardless of sample size.
Question 12
In a Wilcoxon rank-sum test with tied observations, what is the primary consequence of using average ranks?
The test becomes more conservative, reducing the chance of Type I error
The test statistic distribution changes from normal to t-distribution
The test loses power because tied ranks reduce the effective sample size
The variance of the test statistic decreases, requiring a correction factor (correct answer)
The test becomes invalid and cannot provide meaningful p-values
Explanation: When you encounter questions about the Wilcoxon rank-sum test with tied observations, focus on how ties affect the test statistic's variance and the resulting statistical adjustments needed.The Wilcoxon rank-sum test assigns ranks to all observations from both groups combined. When ties occur, you assign the average of the ranks that would have been given to those tied values. This averaging process has a specific mathematical consequence: it reduces the variance of the test statistic compared to what it would be without ties.Here's why answer D is correct: When you use average ranks for tied observations, the variance formula for the Wilcoxon test statistic must include a correction factor to account for this variance reduction. The standard variance formula gets multiplied by (1−n3−n∑(ti3−ti)), where ti represents the number of observations tied at each distinct value.Answer A is wrong because ties don't make the test more conservative—the correction factor actually helps maintain the test's proper Type I error rate. Answer B is incorrect because the test statistic still follows a normal distribution (for large samples) or uses exact tables for small samples; ties don't change this to a t-distribution. Answer C misunderstands the effect—ties don't reduce effective sample size, and while they may slightly reduce power, this isn't the primary consequence being tested here.Remember: In nonparametric tests, always consider how data modifications (like averaging tied ranks) affect the test statistic's variance, often requiring mathematical corrections to maintain validity.
Question 13
For a Wilcoxon signed-rank test with n=6 non-zero differences, a researcher wants to find the critical value for α=0.05 (two-tailed). If the critical value is 2, what values of the test statistic T would lead to rejection of the null hypothesis?
T≤2 or T≥19, using both tails of the distribution (correct answer)
T≤2 only, since we use the smaller test statistic
T≥19 only, using the larger tail for significance testing
T=2 exactly, since this equals the critical value
T≤1 or T≥20, using values more extreme than the critical value
Explanation: When you encounter a Wilcoxon signed-rank test question, remember that this non-parametric test uses the sum of ranks, and for two-tailed tests, you need to consider rejection regions in both tails of the distribution.The Wilcoxon signed-rank test calculates a test statistic T as the sum of ranks for either positive or negative differences. With n=6 non-zero differences, the possible rank sums range from 1 to 21 (since 1+2+3+4+5+6=21). The test statistic follows a symmetric distribution around the mean of 10.5.For a two-tailed test with α=0.05 and critical value 2, you reject the null hypothesis when T falls in either extreme tail. This means T≤2 (lower tail) or T≥19 (upper tail, since 21−2=19). The symmetry of the distribution creates these complementary critical regions.Answer B is incorrect because it only considers one tail, making this effectively a one-tailed test rather than the specified two-tailed test. Answer C is wrong for the same reason—it ignores the lower tail entirely. Answer D misunderstands hypothesis testing; you reject when the test statistic equals OR exceeds the critical value, not only when it exactly equals the critical value.Study tip: For Wilcoxon signed-rank tests, always remember that two-tailed tests require two rejection regions. The critical values are symmetric around the distribution's center, so if one critical value is c, the other is (n(n+1)/2)−c.
Question 14
A clinical researcher wants to test whether a new therapy changes patient depression scores. She collects data from 12 patients before and after treatment. Two patients show no change (difference = 0). For the Wilcoxon signed-rank test, what will be the degrees of freedom or effective sample size?
12, using all patients since zeros indicate no treatment effect
10, after excluding the two patients with zero differences (correct answer)
11, using n−1 degrees of freedom as in the t-test
24, representing the total number of measurements (before and after)
22, calculated as 2n−2 for the paired design
Explanation: When you encounter questions about the Wilcoxon signed-rank test, remember that this non-parametric test has a unique requirement: it can only analyze pairs where there's an actual difference to rank. Unlike parametric tests that can incorporate zero differences, the Wilcoxon signed-rank test must exclude them entirely.The Wilcoxon signed-rank test works by ranking the absolute values of differences between paired observations, then considering the signs of those differences. When a patient shows zero change (difference = 0), there's nothing to rank - you can't assign a rank to zero difference, and there's no positive or negative direction to consider. These zero differences are automatically dropped from the analysis.Starting with 12 patients but excluding the 2 with zero differences leaves you with an effective sample size of 10 patients for the test calculations.Answer A is incorrect because keeping zeros would make the test impossible to perform - you cannot rank non-existent differences. Answer C reflects a misunderstanding by applying the n−1 degrees of freedom concept from t-tests, which doesn't apply to the Wilcoxon signed-rank test. Answer D incorrectly counts individual measurements rather than pairs; the Wilcoxon signed-rank test analyzes paired differences, not separate before/after values.Study tip: For any Wilcoxon signed-rank test question, always subtract ties (zero differences) from your total sample size. This is a defining characteristic that separates it from other statistical tests and appears frequently on biostatistics exams.
Question 15
In a Wilcoxon signed-rank test with 8 paired observations, three of the differences equal zero. How many observations will actually be used in the test statistic calculation?
8 observations, since all original pairs must be included in the analysis
5 observations, after removing the three zero differences from the calculation (correct answer)
6 observations, using half of the original sample size for the rank calculation
7 observations, excluding only the largest zero difference to maintain symmetry
4 observations, since we need pairs of non-zero differences for ranking
Explanation: When approaching Wilcoxon signed-rank test questions, focus on understanding how this non-parametric test handles paired data and what happens when differences between pairs equal zero.The Wilcoxon signed-rank test examines paired observations by calculating the difference between each pair, then ranking the absolute values of these differences. However, when differences equal zero, they provide no information about which treatment is better and cannot be ranked meaningfully. The standard procedure is to exclude all zero differences from the analysis entirely. With 8 original pairs and 3 zero differences, you have 8 - 3 = 5 observations remaining for the test statistic calculation.Looking at why the other options are incorrect: Option A assumes all original observations must be included, but this violates the fundamental principle that zero differences are uninformative and unrankable in this test. Option C suggests using exactly half the sample size, which is an arbitrary rule that doesn't exist in the Wilcoxon procedure. Option D proposes keeping some zero differences while excluding others "for symmetry," but this approach has no statistical basis—all zero differences must be removed, not just selected ones.Remember this key principle: in Wilcoxon signed-rank tests, always subtract the number of zero differences from your total sample size to determine the effective sample size. Zero differences are completely excluded because they cannot be ranked and provide no directional information about treatment effects.
Question 16
A researcher comparing two treatments obtains a very small p-value (p=0.003) using the Wilcoxon rank-sum test. What is the most appropriate interpretation?
There is strong evidence that the two population medians are different
The treatment means are significantly different with 99.7% confidence
The effect size is large since the p-value is much smaller than 0.05
There is strong evidence of a difference in the distribution locations between groups (correct answer)
The probability that the null hypothesis is true is only 0.3%
Explanation: When you encounter questions about the Wilcoxon rank-sum test, remember that this is a nonparametric test that makes minimal assumptions about the underlying distributions. Understanding what it actually tests is crucial for proper interpretation.The Wilcoxon rank-sum test compares the distributions of two independent groups by examining whether one group tends to have systematically higher or lower values than the other. A significant result (like p=0.003) indicates strong evidence that the distribution locations differ between groups - meaning one group's values are systematically shifted relative to the other's.Answer D correctly captures this interpretation. The test detects differences in distribution locations, which is broader than just comparing specific parameters like medians or means.Answer A is too restrictive because the Wilcoxon test doesn't specifically test medians. While median differences often accompany location shifts, the test is actually comparing the entire distribution locations, not just the median values.Answer B incorrectly references means and confidence levels. The Wilcoxon test is nonparametric and doesn't directly test means (that would be a t-test). Also, the confidence level would be 99.7% only if you set α=0.003, which isn't standard.Answer C commits a common error: confusing statistical significance with effect size. A small p-value indicates strong evidence against the null hypothesis, but tells you nothing about the magnitude of the difference. You could have a tiny, practically meaningless difference that's highly significant with a large sample size.Study tip: For nonparametric tests, focus on what they actually measure (distribution characteristics) rather than assuming they test the same parameters as their parametric counterparts.
Question 17
A researcher wants to test whether a new meditation technique reduces stress levels. She measures stress scores before and after the intervention for 10 participants. Which null hypothesis is appropriate for the Wilcoxon signed-rank test?
The mean difference in stress scores equals zero in the population
The median of the difference scores equals zero in the population (correct answer)
The stress score distributions are identical before and after intervention
The variance of stress scores is equal before and after intervention
The correlation between before and after stress scores equals zero
Explanation: When you encounter paired data (before/after measurements on the same subjects) and need to choose a non-parametric test, you're likely dealing with the Wilcoxon signed-rank test. This test is used when you can't assume normality but can assume the differences come from a symmetric distribution.The Wilcoxon signed-rank test specifically examines whether the median of the difference scores equals zero. It works by calculating the differences between paired observations, ranking the absolute values of these differences, and then comparing the sum of positive and negative ranks. The null hypothesis states that the median of these difference scores equals zero in the population, which is answer B.Let's examine why the other options miss the mark: Answer A incorrectly references the mean difference, which would be appropriate for a paired t-test, not the Wilcoxon signed-rank test. Answer C describes a more general hypothesis about identical distributions, which would be tested by the Wilcoxon signed-rank test but isn't the specific null hypothesis being tested. Answer D focuses on variance equality, which relates to tests for homoscedasticity, not location differences that the Wilcoxon test addresses.Remember this key distinction: parametric tests (like t-tests) test hypotheses about means, while non-parametric tests test hypotheses about medians or ranks. When you see "Wilcoxon signed-rank test" in a question, immediately think "median of differences" rather than "mean of differences."
Question 18
In a Wilcoxon rank-sum test, the smaller of the two rank sums is used as the test statistic. For groups with n1=4 and n2=6, if the rank sum for group 1 is 22, what is the test statistic value?
22, since this is the rank sum for the smaller group
33, representing the rank sum for the larger group
22, confirmed as the smaller of the two possible rank sums (correct answer)
11, representing half of the smaller group's rank sum
55, representing the total of both rank sums combined
Explanation: The Wilcoxon rank-sum test compares two independent groups by ranking all observations together and summing the ranks for each group. A key principle is that the test statistic is always the smaller of the two rank sums, regardless of which group it comes from.With n1=4 and n2=6, you have 10 total observations that get ranked from 1 to 10. The sum of all ranks is 210×11=55. If group 1's rank sum is 22, then group 2's rank sum must be 55−22=33. Since 22 < 33, the test statistic is 22.Option A is incorrect because it assumes the test statistic is the rank sum from the smaller group. This is a common misconception—the test statistic isn't determined by which group is smaller, but by which rank sum is smaller. Option B (33) represents the larger rank sum, which is never used as the test statistic in this version of the test. Option D (11) incorrectly divides the rank sum by 2, which has no basis in the Wilcoxon procedure.Option C correctly identifies 22 as the test statistic because it's the smaller of the two rank sums, which is the defining characteristic of this test statistic.Study tip: Remember that in the Wilcoxon rank-sum test, you always use the smaller rank sum as your test statistic—it doesn't matter which group it comes from. The two rank sums will always add up to 2n(n+1) where n is the total sample size.
Question 19
A study compares reaction times between 8 patients before and after taking a new medication. The researcher plans to use a nonparametric test. What is the maximum possible value for the test statistic T+ in the Wilcoxon signed-rank test?
28, representing the sum of ranks 1 through 7 when one difference is zero
36, calculated as 28×9 for all 8 observations (correct answer)
32, representing the sum of ranks when all differences are positive
21, representing half of the total possible rank sum
64, calculated as 82 for the squared sample size
Explanation: When you encounter Wilcoxon signed-rank test questions, focus on understanding how the test statistic T+ is calculated and what determines its maximum value.The Wilcoxon signed-rank test works by ranking the absolute values of non-zero differences, then summing the ranks corresponding to positive differences to get T+. With 8 paired observations, you potentially have ranks 1 through 8. The maximum T+ occurs when ALL differences are positive (and non-zero), meaning you sum all possible ranks: 1+2+3+4+5+6+7+8=36. This equals 2n(n+1)=28×9=36, making answer B correct.Answer A incorrectly assumes one difference equals zero, which would eliminate that observation from ranking, leaving only 7 ranks to sum (27×8=28). However, the question asks for the maximum possible value, not what happens when ties occur.Answer C miscalculates the sum of ranks 1-8, incorrectly stating it as 32 instead of 36. This represents a computational error.Answer D gives 21, which would be 27×6, suggesting only 6 observations are being ranked. This fundamentally misunderstands the problem setup.Study tip: For Wilcoxon signed-rank tests, remember that the maximum test statistic always equals 2n(n+1) where n is the number of non-zero differences. This formula appears frequently on biostatistics exams, so memorize it and practice identifying when all observations contribute to the positive rank sum.
Question 20
In a Wilcoxon rank-sum test comparing treatment efficacy between two groups, the data contains several tied values. If the original dataset has ties at values 15 (3 observations), 22 (2 observations), and 31 (4 observations), what is the most appropriate approach for handling these ties?
Assign sequential ranks starting from the lowest available rank for each tied group and apply no correction
Assign the average rank to all tied observations and apply a continuity correction to the test statistic
Assign the average rank to all tied observations and use a tie correction factor in variance calculations (correct answer)
Exclude all tied observations from the analysis and recalculate ranks for the remaining data points
Explanation: The standard approach for handling ties in the Wilcoxon rank-sum test is to assign the average rank to all tied observations and apply a tie correction factor that adjusts the variance calculation. This maintains the validity of the test while accounting for the reduced discriminating power due to ties. Choice A ignores the tie issue entirely. Choice B mentions continuity correction, which is used for normal approximation but doesn't address the fundamental tie problem. Choice D wastes valuable data and can introduce bias.