Nepedia
Back to Discover
Fluent Reader
🔢

Confidence interval

math Maturity 11-13 Next article →

Imagine you want to know the average height of every student in a huge school. You cannot measure every single person, so you pick a small group instead. This group is called a sample. The average height of your sample is a good guess, but it is not perfect.

Confidenceinterval
Confidenceinterval

To be more careful, scientists use a range of numbers called a confidence interval. Instead of saying the average is exactly five feet, they might say it is between four and six feet. This range acts like a net meant to catch the true answer.

Normal distribution 50% CI illustration
Normal distribution 50% CI illustration

How do scientists build these nets? They use math to decide how wide the range should be. One common way is using something called the central limit theorem. This method works well if the sample size is large enough. Another way is called bootstrapping, which uses the data you already have to find the range.

95% confidence interval
95% confidence interval

Sometimes, scientists use a special rule to make the interval wider to be safe. This is called a conservative interval. It errs on the safe side so it is more likely to catch the true value.

A common level used is 95 percent. Many people think this means there is a 95 percent chance the true answer is inside their specific net. However, that is not quite right. The true average is a fixed number that does not change. It is either in your net or it is not.

Neyman Construction Confidence Intervals
Neyman Construction Confidence Intervals

The 95 percent level actually describes how reliable the method is over a long time. It tells us about the process of making the nets, not just one single net.

To understand this, imagine you repeat your study many times. If you took 100 different samples, you would make 100 different nets. According to the math, about 95 of those nets would catch the true average.

Welch and Bayes intervals
Welch and Bayes intervals

About five of the nets would miss it entirely. This happens because every sample is random, so the endpoints of the interval change every time. This is why the interval is considered a random variable.

It is important to know that confidence intervals are different from prediction intervals. A confidence interval tries to estimate a group's average, like the mean. A prediction interval tries to guess where one single new thing will fall. For example, a confidence interval might estimate the average roll of a die. A prediction interval would try to guess what you will get on your next roll. Knowing the difference helps scientists use the right tool for the job.

418 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (5)
File:Normal distribution 50% CI illustration.svg
Normal distribution 50% CI illustration.svg
File:Confidenceinterval.svg
Confidenceinterval.svg
File:95% confidence interval.svg
95% confidence interval.svg
File:Neyman_Construction_Confidence_Intervals.png
Neyman_Construction_Confidence_Intervals.png
File:Welch and Bayes intervals.svg
Welch and Bayes intervals.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.