Introduction
A confidence interval shows a range where we expect a true value to be, based on sample data. It helps us understand how sure we are about our estimate.
When you want to estimate the average height of a group but only have a sample.
When checking the average test score of students and want to know the range it might fall in.
When measuring the average time people spend on a website and want to guess the true average.
When comparing two groups and want to see if their averages are different with some certainty.