Menu
×
   ❮   
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY AWS CYBERSECURITY DATA SCIENCE
     ❯   

Statistics - Estimation


Point estimates are the most likely value for a population parameter.

Confidence intervals express the uncertainty of an estimated population parameter.


The Point Estimate

A point estimate is calculated from a sample.

The point estimate depends on the type of data:

  • Categorical data: the number of occurrences divided by the sample size.
  • Numerical data: the mean (the average) of the sample.

One example could be:

The point estimate for the average height of people in Denmark is 180 cm.

Estimates are always uncertain. This uncertainty can be expressed with a confidence interval.


Confidence Intervals

The confidence interval is defined by a lower bound and an upper bound.

This gives us a range of values that the true parameter is likely to be between.

For example that:

The average height of people in Denmark is between 170 cm and 190 cm.

Here, 170 cm is the lower bound, and 190 cm is the upper bound.

The lower and upper bounds of a confidence interval is based on the confidence level.


The Confidence Level

Confidence levels can be expressed as percentages or decimal numbers, and the most commonly used are:

  • 90% (0.90)
  • 95% (0.95)
  • 99% (0.99)

The higher the confidence level, the bigger the interval will be.

For example, the confidence intervals for the average height of people in Denmark might be:

90% confidence level: between 175 cm and 185 cm.

95% confidence level: between 170 cm and 190 cm.

99% confidence level: between 160 cm and 200 cm.

We use this confidence level together with a probability distribution to decide how large the margin of error is.



The Margin of Error

The margin of error is the distance between the point estimate and the lower and upper bounds.

The margin of error is based on the confidence level and the data we have from the sample.

For example, if the point estimate for the average height of people in Denmark is 180 cm:

5 cm margin of error: between 175 cm and 185 cm.

10 cm margin of error: between 170 cm and 190 cm.

20 cm margin of error: between 160 cm and 200 cm.


Steps for Calculating the Confidence Interval

The following steps are used to calculate a confidence interval:

  1. Check the conditions
  2. Find the point estimate
  3. Decide the confidence level
  4. Calculate the margin of error
  5. Calculate the confidence interval

One condition is that the sample is randomly selected from the population.

The other conditions depends on what type of parameter you are calculate the confidence interval for.

Commonly estimated parameters are:

  • Proportions (for qualitative data)
  • Mean values (for numerical data)

You will learn the steps for both types in the following pages.


×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
[email protected]

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
[email protected]

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.

Copyright 1999-2024 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.