Calculate Confidence Interval
A confidence interval is an indicator of your measurement's precision. It is also an indicator of how stable your estimate is, which is the measure of how close your measurement will be to the original estimate if you repeat your experiment. Follow the steps below to calculate the confidence interval for your data.
Steps
- Write down the phenomenon you'd like to test. Let's say you're working with the following situation: The average weight of a male student in ABC University is 180 lbs. You'll be testing how accurately you will be able to predict the weight of male students in ABC university within a given confidence interval.
- Select a sample from your chosen population. This is what you will use to gather data for testing your hypothesis. Let's say you've randomly selected 1,000 male students.
- Calculate your sample mean and sample standard deviation. Choose a sample statistic (e.g., sample mean, sample standard deviation) that you want to use to estimate your chosen population parameter. A population parameter is a value that represents a particular population characteristic. Here's how you can find your sample mean and sample standard deviation:
- To calculate the sample mean of the data, just add up all of the weights of the 1,000 men you selected and divide the result by 1000, the number of men. This should have given you the average weight of 180 lbs.
- To calculate the sample standard deviation, you will have to find the mean, or the average of the data. Next, you'll have to find the variance of the data, or the average of the squared differences from the mean. Once you find this number, just take its square root. Let's say the standard deviation here is 30 lbs. (Note that this information can sometimes be provided for you during a statistics problem.)
- Choose your desired confidence level. The most commonly used confidence levels are 90 percent, 95 percent and 99 percent. This may also be provided for you in the course of a problem. Let's say you've chosen 95%.
- Calculate your margin of error. You can find the margin of error by using the following formula: Za/2 * σ/√(n). Za/2 = the confidence coefficient, where a = confidence level, σ = standard deviation, and n = sample size. This is another way of saying that you should multiply the critical value by the standard error. Here's how you can solve this formula by breaking it into parts:
- To find the critical value, or Za/2: Here, the confidence level is 95%. Convert the percentage to a decimal, .95, and divide it by 2 to get .475. Then, check out the z table to find the corresponding value that goes with .475. You'll see that the closest value is 1.96, at the intersection of row 1.9 and the column of .06.
- To find the standard error, take the standard deviation, 30, and divide it by the square root of the sample size, 1,000. You get 30/31.6, or .95 lbs.
- Multiply 1.96 by .95 (your critical value by your standard error) to get 1.86, your margin of error.
- State your confidence interval. To state the confidence interval, you just have to take the mean, or the average (180), and write it next to ± and the margin of error. The answer is: 180 ± 1.86. You can find the upper and lower bounds of the confidence interval by adding and subtracting the margin of error from the mean. So, your lower bound is 180 - 1.86, or 178.14, and your upper bound is 180 + 1.86, or 181.86.
- You can also use this handy formula in finding the confidence interval: x̅ ± Za/2 * σ/√(n). Here, x̅ represents the mean.
Tips
- Both t scores and z scores can be calculated manually, as well as by using a graphing calculator or statistical tables, which are frequently found in statistical textbooks. Z scores can also be found using the Normal Distribution Calculator, while t scores can be found using the t Distribution Calculator. Online tools are available as well.
- Your sample population must be normal for your confidence interval to be valid.
- The critical value used to calculate the margin of error is a constant that is expressed as either a t score or a z score. T scores are typically preferred with the population's standard deviation is unknown or when a small sample is used.
- There are many methods, such as simple random sampling, systematic sampling and stratified sampling, by which you can select a representative sample that you can use for testing your hypothesis.
- A confidence interval does not indicate the probability of a particular outcome. For example, if you are 95 percent confident that your population mean is between 75 and 100, the 95 percent confidence interval does not mean there is a 95 percent chance the mean falls within your calculated range.
Things You'll Need
- Sample population
- Computer
- Internet access
- Statistics textbook
- Graphing calculator
Related Articles
- Calculate Precision
- Calculate Confidence Level
Sources and Citations
- http://stattrek.com/AP-Statistics-4/Confidence-Interval.aspx?Tutorial=Stat
- http://www.health.state.ny.us/diseases/chronic/confint.htm
- http://www.stat.wmich.edu/s216/book/node79.html
- http://stattrek.com/AP-Statistics-4/Margin-of-Error.aspx?Tutorial=Stat
- http://www.surveysystem.com/sscalc.htm#one
- http://www.physicalgeography.net/physgeoglos/p.html