Bird
0
0

You have test scores of 10 students before and after a training program. You want to check if the training improved scores significantly. Which test should you use and why?

hard📝 Application Q15 of 15
SciPy - Statistical Tests

You have test scores of 10 students before and after a training program. You want to check if the training improved scores significantly. Which test should you use and why?

AUse <code>ttest_ind</code> because the groups are independent.
BUse <code>ttest_rel</code> because the scores are paired measurements.
CUse <code>ttest_ind</code> because it handles paired data better.
DUse neither; a correlation test is needed.
Step-by-Step Solution
Solution:
  1. Step 1: Identify the data type

    Scores before and after training are from the same students, so data are paired.
  2. Step 2: Choose the correct t-test

    ttest_rel is designed for paired samples to compare means before and after treatment.
  3. Final Answer:

    Use ttest_rel because the scores are paired measurements. -> Option B
  4. Quick Check:

    Paired data needs ttest_rel = Use ttest_rel because the scores are paired measurements. [OK]
Quick Trick: Paired before-after data use ttest_rel [OK]
Common Mistakes:
MISTAKES
  • Using ttest_ind for paired data
  • Confusing correlation with mean comparison
  • Ignoring the pairing in data

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SciPy Quizzes