Bird
0
0

You have pre- and post-treatment scores for 8 patients. How do you apply the Wilcoxon signed-rank test to check if treatment changed scores?

hard📝 Application Q8 of 15
SciPy - Statistical Tests

You have pre- and post-treatment scores for 8 patients. How do you apply the Wilcoxon signed-rank test to check if treatment changed scores?

ACalculate differences (post - pre) and run wilcoxon on differences
BUse wilcoxon on combined pre and post scores as one array
CUse wilcoxon only if data is normally distributed
DRun wilcoxon on pre and post arrays directly without differences
Step-by-Step Solution
Solution:
  1. Step 1: Understand Wilcoxon input

    Wilcoxon can take two related samples directly (pre and post scores).
  2. Step 2: Apply test correctly

    Pass pre and post arrays to wilcoxon to test median difference.
  3. Final Answer:

    Run wilcoxon on pre and post arrays directly without differences -> Option D
  4. Quick Check:

    Wilcoxon accepts paired samples directly [OK]
Quick Trick: Pass paired samples directly to wilcoxon [OK]
Common Mistakes:
MISTAKES
  • Manually calculating differences before wilcoxon
  • Using wilcoxon only for normal data
  • Combining samples incorrectly

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SciPy Quizzes