Recall & Review
beginner
What is a confidence interval in statistics?
A confidence interval is a range of values that likely contains the true value of a parameter. It shows how sure we are about the estimate.
Click to reveal answer
beginner
How does the confidence level affect the confidence interval?
A higher confidence level (like 95% vs 90%) makes the interval wider because we want to be more sure the true value is inside.
Click to reveal answer
beginner
Which Python library can we use to calculate confidence intervals on parameters?
We can use the scipy library, especially scipy.stats, to calculate confidence intervals for many statistical parameters.
Click to reveal answer
intermediate
What does the function scipy.stats.norm.interval() do?
It calculates the confidence interval for a normal distribution given a confidence level, mean, and standard deviation.
Click to reveal answer
beginner
Why do we use confidence intervals instead of just point estimates?
Confidence intervals give a range that shows uncertainty, while point estimates give only one value. This helps us understand how reliable the estimate is.
Click to reveal answer
What does a 95% confidence interval mean?
✗ Incorrect
A 95% confidence interval means that if we repeat the experiment many times, 95% of the calculated intervals will contain the true parameter.
Which scipy function helps calculate confidence intervals for a normal distribution?
✗ Incorrect
The function scipy.stats.norm.interval() calculates confidence intervals for a normal distribution.
What happens to the width of a confidence interval if we increase the confidence level?
✗ Incorrect
Increasing the confidence level makes the interval wider to be more sure the true value is inside.
Which of these is NOT a reason to use confidence intervals?
✗ Incorrect
Confidence intervals provide a range, not a single exact value.
If a confidence interval for a mean is (5, 10), which of these is true?
✗ Incorrect
The confidence interval suggests the mean is likely between 5 and 10 with the chosen confidence level.
Explain what a confidence interval is and why it is useful in data science.
Think about how sure you are about an estimate and how a range can show that.
You got /4 concepts.
Describe how to calculate a confidence interval for a mean using scipy.
Recall the function name and what inputs it needs.
You got /4 concepts.