← Quiz: Sampling and Confidence Intervals: all 15 questions
Quiz: Sampling and Confidence Intervals · Question 8 of 15
What does this print? (code)
What does this print?
import numpy as np
s = np.array([4, 8, 6, 2])
print(s.std(ddof=1) / np.sqrt(len(s)) > s.std() / np.sqrt(len(s)))
- A.True
- B.False
- C.1.29
- D.Error
Answer & explanation
Correct answer: True
ddof=1 divides by n − 1, giving a slightly larger standard deviation than ddof=0.
Can you get the rest right without peeking?
Take the timed Quiz: Sampling and Confidence Intervals quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →