← Quiz: Hypothesis Testing: all 15 questions
Quiz: Hypothesis Testing · Question 4 of 15
What does this print? (code)
What does this print?
import numpy as np
d = np.array([2, 4, 6])
print(round(d.mean() / (d.std(ddof=1) / np.sqrt(3)), 2))
- A.2.0
- B.3.46
- C.4.0
- D.6.93
Answer & explanation
Correct answer: 3.46
mean 4, sample sd 2, SE = 2/√3 ≈ 1.155, so t ≈ 3.46.
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 →