Data Science Data Science Statistical Concepts and Inference Questions and Answers 2 — Questions and Answers
Question 1: A data scientist obtains a 95% confidence interval of (12.3, 18.7) for the population mean. Which interpretation is correct?
- There is a 95% probability the population mean lies in this interval
- 95% of sample means fall in this interval
- If we repeated sampling many times, 95% of constructed intervals would contain the true mean (Correct answer)
- The sample mean has a 95% chance of being between 12.3 and 18.7
Correct answer: If we repeated sampling many times, 95% of constructed intervals would contain the true mean
A 95% confidence interval means that 95% of intervals constructed from repeated samples would capture the true population parameter.
Question 2: Which of the following scenarios would most likely violate the assumption of independence required for a two-sample t-test?
- Comparing test scores of students from two different schools
- Comparing blood pressure readings before and after treatment on the same patients (Correct answer)
- Comparing heights of randomly selected men and women
- Comparing salaries from two different industries
Correct answer: Comparing blood pressure readings before and after treatment on the same patients
Measuring the same patients before and after creates paired observations that are not independent, requiring a paired t-test instead.
Question 3: In hypothesis testing, what does a Type II error represent?
- Rejecting a true null hypothesis
- Failing to reject a false null hypothesis (Correct answer)
- Rejecting a false null hypothesis
- Failing to reject a true null hypothesis
Correct answer: Failing to reject a false null hypothesis
A Type II error occurs when we fail to reject the null hypothesis even though it is actually false, meaning we miss a real effect.
Question 4: A researcher increases the sample size from 50 to 200 while keeping everything else constant. What is the most direct effect on the standard error of the mean?
- It is cut in half (Correct answer)
- It is reduced by a factor of four
- It doubles
- It remains the same
Correct answer: It is cut in half
Standard error equals sigma divided by the square root of n, so quadrupling n from 50 to 200 halves the standard error.
Question 5: When performing multiple comparisons across 20 groups using individual t-tests at alpha = 0.05, what problem arises?
- The power of each test decreases to near zero
- The familywise error rate inflates well beyond 0.05 (Correct answer)
- The sample size requirement increases exponentially
- The effect size becomes undetectable
Correct answer: The familywise error rate inflates well beyond 0.05
Running many pairwise tests without correction inflates the overall probability of at least one false positive far above the nominal alpha level.
Question 6: Which measure of central tendency is most robust to outliers in a skewed dataset?
- Arithmetic mean
- Geometric mean
- Median (Correct answer)
- Variance
Correct answer: Median
The median is the middle value when data is sorted and is unaffected by extreme values, making it robust to outliers in skewed distributions.
A data scientist obtains a 95% confidence interval of (12.3, 18.7) for the population mean.
Which interpretation is correct?