What is the relationship between sample size and the margin of error in a confidence interval?
A) Larger sample sizes increase the margin of error.
B) Larger sample sizes decrease the margin of error.
C) Sample size has no effect on the margin of error.
D) Larger sample sizes only affect the margin of error if the population is large.