6. Parameter Estimation and Confidence Intervals: Estimation
Confidence Interval for the Population Mean
A confidence interval for a population mean is a range of values, based on sample data, which are highly plausible candidates for the true value of the population mean.
To construct a confidence interval for a population mean , we will need to make use of the sampling distribution of the sample mean.
Remember that the sample mean (approximately) follows the distribution if at least one of the following conditions is satisfied:
- The population from which the sample is drawn is normally distributed
- The sample is large enough for the Central Limit Theorem to apply:
The width of a confidence interval is determined by the margin of error.
Margin of Error
The margin of error of a confidence interval for the population mean is the distance from the center of the interval to either the lower bound or the upper bound .
To calculate the margin of error of a confidence interval for the population mean , use the following formula:
Where is the critical value of the Standard Normal Distribution such that:
Calculating z* with Statistical Software
Let be the confidence level in .
To calculate the critical value in Excel, make use of the function NORM.INV():
To calculate the critical value in R, make use of the function qnorm():
Factors that Influence the Margin of Error
The margin of error of a confidence interval for the population mean is dependent on factors: the confidence level, the population standard deviation, and the sample size.
- As the confidence level increases, the margin of error increases and the confidence interval becomes wider.
- As the population standard deviation increases, the margin of error increases and the confidence interval becomes wider.
- As the sample size increases, the margin of error decreases and the confidence interval becomes narrower.
A researcher randomly selects men from this age group and finds a mean BP of .
Calculate the margin of error of the confidence interval for the population mean . Round your answer to decimal places.
There are a number of different ways we can calculate the margin of error. Click on one of the panels to toggle a specific solution.
The margin of error of a confidence interval for a population mean is calculated with the following formula:
Since the population from which the sample is drawn is normally distributed, we know that the sampling distribution of the sample mean is the distribution.
Determine the standard error of the mean :
For a given confidence level , the critical value of the standard normal distribution is the value such that .
To calculate this critical value in Excel, make use of the following function:
NORM.INV(probability, mean, standard_dev)
- probability: A probability corresponding to the normal distribution.
- mean: The mean of the distribution.
- standard_dev: The standard deviation of the distribution.
Here, we have . Thus, to calculate such that , run the following command:
This gives:
With this information, the margin of error can be calculated:
The margin of error of a confidence interval for the population mean is calculated with the following formula:
Since the population from which the sample is drawn is normally distributed, we know that the sampling distribution of the sample mean is the distribution.
Determine the standard error of the mean :
For a given confidence level , the critical value of the standard normal distribution is the value such that .
To calculate this critical value in R, make use of the following function:
qnorm(p, mean, sd, lower.tail)
- p: A probability corresponding to the normal distribution.
- mean: The mean of the distribution.
- sd: The standard deviation of the distribution.
- lower.tail: If TRUE (default), probabilities are , otherwise, .
Here, we have . Thus, to calculate such that , run the following command:
This gives:
With this information, the margin of error can be calculated:
General Formula for a Confidence Interval for a Population Mean
Assuming the sampling distribution of the sample mean is (approximately) normal, the general formula for computing a CI for the population mean , based on a random sample of size , is:
Assume the standard deviation in weight for a single one-euro coin is .
Construct a confidence interval for the population mean . Round your answers to decimal places.
There are a number of different ways we can compute the confidence interval. Click on one of the panels to toggle a specific solution.
A sample size of is considered large enough for the Central Limit Theorem to apply.
This means that, although the sample in question comes from a population having an unknown distribution, the sampling distribution of the sample mean is approximately normal.
Assuming the sampling distribution of the sample mean is (approximately) normal, the general formula for computing a for a population mean , based on a random sample of size , is:
For a given confidence level , the critical value of the standard normal distribution is the value such that .
To calculate this critical value in Excel, make use of the following function:
NORM.INV(probability, mean, standard_dev)
- probability: A probability corresponding to the normal distribution.
- mean: The mean of the distribution.
- standard_dev: The standard deviation of the distribution.
Here, we have . Thus, to calculate such that , run the following command:
This gives:
Calculate the lower bound of the confidence interval:
Calculate the lower bound of the confidence interval:
Thus, the confidence interval for the population mean is:
A sample size of is considered large enough for the Central Limit Theorem to apply.
This means that, although the sample in question comes from a population having an unknown distribution, the sampling distribution of the sample mean is approximately normal.
Assuming the sampling distribution of the sample mean is (approximately) normal, the general formula for computing a for a population mean , based on a random sample of size , is:
For a given confidence level , the critical value of the standard normal distribution is the value such that .
To calculate this critical value in R, make use of the following function:
qnorm(p, mean, sd, lower.tail)
- p: A probability corresponding to the normal distribution.
- mean: The mean of the distribution.
- sd: The standard deviation of the distribution.
- lower.tail: If TRUE (default), probabilities are , otherwise, .
Here, we have . Thus, to calculate such that , run the following command:
This gives:
Calculate the lower bound of the confidence interval:
Calculate the lower bound of the confidence interval:
Thus, the confidence interval for the population mean is:
Controlling the Margin of Error
Suppose you would like the margin of error for a confidence interval for the population mean to be no larger than .
Then the minimum sample size required is:
rounded up to the next whole number.
If the researcher wants the margin of error of the confidence interval for the population mean to be no larger than , what is the minimum sample size he needs?
There are a number of different ways we can calculate the minimum sample size. Click on one of the panels to toggle a specific solution.
For a given confidence level , the critical value of the standard normal distribution is the value such that .
To calculate this critical value in Excel, make use of the following function:
NORM.INV(probability, mean, standard_dev)
- probability: A probability corresponding to the normal distribution.
- mean: The mean of the distribution.
- standard_dev: The standard deviation of the distribution.
Here, we have . Thus, to calculate such that , run the following command:
This gives:
With this information, the minimum sample size can be calculated:
Rounding this value up gives .
Thus, to obtain a margin of error no larger than , you need a sample size of at least .
For a given confidence level , the critical value of the standard normal distribution is the value such that .
To calculate this critical value in R, make use of the following function:
qnorm(p, mean, sd, lower.tail)
- p: A probability corresponding to the normal distribution.
- mean: The mean of the distribution.
- sd: The standard deviation of the distribution.
- lower.tail: If TRUE (default), probabilities are , otherwise, .
Here, we have . Thus, to calculate such that , run the following command:
This gives:
With this information, the minimum sample size can be calculated:
Rounding this value up gives .
Thus, to obtain a margin of error no larger than , you need a sample size of at least .