← Quiz: Hypothesis Testing: all 15 questions
Quiz: Hypothesis Testing · Question 12 of 15
What does this print? (code)
What does this print?
import numpy as np
before = np.array([50, 60, 70])
after = np.array([55, 62, 70])
d = after - before
print(d.tolist(), round(d.mean(), 2))
- A.[5, 2, 0] 2.0
- B.[-5, -2, 0] -2.33
- C.[5, 2, 0] 2.33
- D.[55, 62, 70] 62.33
Answer & explanation
Correct answer: [5, 2, 0] 2.33
A paired test works on these per-student differences.
Can you get the rest right without peeking?
Take the timed Quiz: Hypothesis Testing quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →