Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

CHAPTER 8:

CONFIDENCE INTERVALS AND


SAMPLE SIZE

Chapter 8: Confidence Intervals and Sample Size 122


Overview
This chapter explains how to construct confidence interval and determine minimum sample size. The
concepts discussed in this chapter are as follows: confidence interval for population mean and population
proportion; minimum sample size needed in population mean and population proportion estimation. The
chapter concludes with a summary and a set of exercises.

Objectives
After completing this chapter, you should be able to:
1. Find the confidence interval for the mean when the population standard deviation is known.
2. Determine the minimum sample size for finding a confidence interval of mean.
3. Find the confidence interval for the mean when the population standard deviation is unknown.
4. Find the confidence interval for the population proportion.
5. Determine the minimum sample size for finding a confidence interval of proportion.

8.1 Introduction
As part of inferential statistics, we need to determine the value of the population parameters. This is not
possible since the population is large, so statisticians have to estimate the value of the parameter. An
important aspect on inferential statistics is estimation, which is the process of estimating the true value
of a population parameter from the information derived from a small sample. For instance, the population
mean ( ) can be estimated using the sample mean ( ).

Therefore, in this chapter, we will explain statistical procedures for estimating the population mean and
proportion. Another important question in estimation is that of sample size. How large should the sample
be drawn in order to make an accurate estimate? This question is not easy to answer as it depends on
several factors, such as the accuracy desired and the probability of making a correct estimate. The
problem of determining the sample size for estimating the parameters will also be discussed in this
chapter.

8.2 Estimation
Estimation is the process of estimating the true value(s) of a population parameter from the information
derived from a small sample.

Consider the following statements:


25% of Americans is currently dieting.
The average good IT graduate makes $32,786 a year.
These above values are only estimates of the true parameters and are derived from data collected from
samples.

8.2.1 Properties of a Good Estimator


A good estimator has the following three properties:
A. Unbiased. It should be unbiased. That is, the expected value or the mean of the estimates obtained
from samples of a given size is equal to the parameter being estimated. For example the sample
mean is an unbiased estimator of the population mean since

Chapter 8: Confidence Intervals and Sample Size 123


B. Consistent. It should be consistent, as sample size increases, the value of the estimator approaches
the value of the parameter estimated.
C. Relatively efficient. All the statistics that can be used to estimate a parameter, the relatively efficient
estimator has the smallest variance.

8.2.2 Types of Estimates


There are two types of estimate:
i. A Point Estimate is a specific numerical value estimate of a parameter.
ii. An Interval Estimate is an interval or range of values used to estimate a parameter.

Confidence Interval
A confidence interval is a specific interval estimate of a parameter determined by using the data obtained
from sample and a specific confidence level.
Confidence Level
A Confidence Level of an interval estimate of a parameter is the probability that the interval estimate will
contain the parameter.

Suppose that a 90% confidence interval states that the population mean is greater than 100 and less
than 200. How would you interpret this statement?

SOLUTION

It means that we are 90% confident that the interval contains the true population mean.

8.3 Confidence Intervals and Sample Size for the Mean when is
known
Before constructing the confidence interval for , it is essential to know the following:
Is the distribution of the population normal or not?
Is the population standard deviation known or unknown?
Is the sample size large or small?
Our answers will then determine how to proceed. In this section we are going to construct the confidence
interval of the population mean when is known.

8.3.1 Formula for the Confidence Interval


The confidence interval for when is known is given by:

X z 2 X z 2 .
n n

Chapter 8: Confidence Intervals and Sample Size 124


Where, is the value of , which leaves an area of to the right, which is shown in following
figure.

Note:
1. If n < 30 the population should be normally distributed.
2. The values of for some confidence interval are as follows:
For the 99% confidence interval, = 2.58.
For the 95% confidence interval, = 1.96.
For the 90% confidence interval, = 1.65.

However, other values for confidence level could be given, so how do we find the value of Let us
consider the next example.

Find the value of for a 98% confidence interval of mean.

SOLUTION

Draw a standard normal curve and shade the area 0.98 in the middle. See the graph below.

0.98

Use the standard normal table from the Eton tables to find the value of Lookup 0.49 in the
probability section and read the corresponding z value. Therefore = 2.33.

Note: The value of 0.98 = 0.02 and / 2 = 0/02 / 2 = 0/01. Therefore, the area on the right of
is 0.01.

Chapter 8: Confidence Intervals and Sample Size 125


A random sample of 49 shoppers showed that they spend an average of $23.45 per visit at MHCC
Bookstore. From past studies, it i
A. Find a point estimate of the population mean.
B. Find the 99% confidence interval of the true mean.

SOLUTION

A. A point estimate of the population mean is


B. For 99% confidence interval, We have and ,
then 99% confidence interval for is

Hence one can say with 99% confidence that the average spending per visit at MHCC Bookstore is
between $22.42 and $24.48, based on a sample of 49 customers.

Suppose a registrar of the University of the South Pacific (USP) wishes to estimate the average number
of hours per day of distractions (phone calls, emails, impromptu visits, etc.) experienced by USP lecturers.
A study of random sample of 50 lecturers in USP found that the average distraction time is 1.8 hours per
day and the population standard deviation was 20 minutes. Estimate the true mean population distraction
time for USP lecturers with 90% confidence.

SOLUTION

For 90% confidence interval, and n = 50, then 99% confidence


interval for is

Hence one can say with 90% confidence that the average distraction time for a USP lecturer is between
1.72 and 1.88 hours per day, based on 50 lecturers.

Sample Size
Quite often, researchers need to know how large the sample is necessary to make an accurate estimate.
One may ask why sample size is so important. The answer to this is that an appropriate sample size is
required for validity. If the sample size is too small, it will not yield valid results. An appropriate sample
size can produce accuracy of results. Moreover, the results from the small sample size will be
questionable. A sample size that is too large will result in wasting money and time.

Chapter 8: Confidence Intervals and Sample Size 126


8.3.2 Formula for Minimum Sample Size
The formula for minimum sample size needed for an interval estimate of the population mean is:

Where,
is called the margin of error.

A pizza shop owner wishes to find the 95% confidence Interval of the true mean cost of a large plain
pizza. How large should the sample be if she wishes to be accurate to within $0.15? A previous study
showed that the population standard deviation of the price was $0.26.

SOLUTION

For 95% confidence interval, Here = 0.26, = 0.15 hence

Therefore, the minimum sample size should be 12 to estimate the population mean with 95%

A researcher in Fiji wishes to estimate within $300 the true average amount of money Fiji spends on road
repairs each year. The standard deviation is known to be $900. If she wants to be 90% confident, how
large a sample is necessary?

SOLUTION

For 90% confidence interval, Here = 900, = 300, hence

Therefore, the minimum sample size should be 25 to estimate the population mean with 90% confidence.

Chapter 8: Confidence Intervals and Sample Size 127


t 2
Find the value for a 90% confidence interval of population mean, when the sample size is 20.

SOLUTION

For the 90% confidence interval, = 0.10, thus /2 = 0.05. Since n = 20, d. f. = 20 1 = 19, so look up the
t-distribution table with = 19, 2p = 0.1 and p = 0.05 and we get to be 1.729.

Note: In the table:


is the degrees of freedom ( )
is the area on both tails and is equal to
is the area on one tail and is equal to
The t-distribution
2p
0.2 0.1 0.001
p 0.1 0.05 0.0005 120/
1
3.078 6.314 6.36.62
2

19 1.328 1.729 3.883

1.282 1.645 3.291

For a group of 20 ST130 students subjected to a stress situation, the mean number of heart beats per
minute was 126, and the standard deviation was 4. Find the 95% confidence interval of the true mean.
Assume the variable is normally distributed.

SOLUTION

Since the population standard deviation, is unknown, we use the t-distribution. For the 95%
Confidence Interval, = 0.05 /2 = 0.025 and the d.f. t-distribution table
from the Eton tables with = 19, 2p = 0.05 and p = 0.025 and we get to be 2.093. Now the 95%
confidence interval is:

Chapter 8: Confidence Intervals and Sample Size 129


A sample of 10 observations taken from a normal population produced the following data.

44 52 31 48 46 39 47 36 41 56

A. Find the point estimate of the population mean.


B. Find the 95% confidence interval for the population mean.

SOLUTION

From the data, we know that and s = 7.5.

A. The point estimate of is

B. Similarly, is unknown, so we use the t-distribution. Look up the t-distribution table with = 9,
2p = 0.05 and p = 0.025 and we get to be 2.262. Hence the 95% confidence interval is:

8.5 Confidence Intervals and Sample Size for Proportion


We have discussed the confidence interval for a population mean, now we will find the confidence interval
for another population parameter called a proportion. The procedure to find the confidence interval and
the sample size for a proportion is similar to that for the population mean.

The population proportion, denoted by is the proportion of population units that possess a
characteristic. The population proportion is given by:

Where,
is the number of population units that possess a characteristic
is the population size
q = 1 p, is the proportion of population units that do not possess a characteristic

For example, in the USP assessment meeting, the ST130 lecturer stated that 75% of ST130 students
pass the course last semester. The parameter 65% is a population proportion.

The population proportion, is often unknown, so a sample proportion, denoted as (read p hat) is
used to estimate it. It represents the proportion of sample units that possess a characteristic. The sample
proportion is given by:

Chapter 8: Confidence Intervals and Sample Size 130


Where,
is the number of sample units that possess a characteristic
is the sample size
is the proportion of sample units that do not possess a characteristic

In a study, 400 students were interviewed if they own a computer; 352 said that they had computers. Find

SOLUTION

8.5.1 Sampling Distribution of Sample Proportion


1. The mean of the sample proportion, , denoted by , is equal to the population proportion
. That is,

2. The standard deviation of the sample proportion, , is denoted by and is given by

This formula is used when


3. By central limit theorem, the sampling distribution of is approximately normal for a sufficiently
large sample size (that is ) with a mean of and standard deviation of

4. Therefore, the -value of is given by

Chapter 8: Confidence Intervals and Sample Size 131


8.5.2 Confidence Interval for Proportion
The confidence interval for a population proportion is given by:

A recent study of 100 people in Fiji found 27 were obese. Find the 95% confidence of the population
proportion of all individuals living in Fiji who are obese.

SOLUTION

For 95% confidence interval, We have and


, then 95% confidence interval for is:

Hence, one can be 95% confident that the proportion of people obese in Fiji is between 18.3% and 35.7%.

A survey of 120 female freshmen showed that 18 did not wish to work after marriage. Find the 90%
confidence interval of the true proportion of females who do not work after marriage.

SOLUTION

For 90% confidence interval, We have and , then


90% confidence interval for is:

Hence, we can say with 90% confident that between 9.6% and 20.4% of females do not work after
marriage.

Chapter 8: Confidence Intervals and Sample Size 132


8.5.3 Formula for Minimum Sample Size
The minimum sample size needed for interval estimate of a population proportion is:

Where,
is called the margin of error

It is believed that 10% of Suva homes have a direct satellite television receiver (SKY Pacific). How large
a sample is necessary to estimate the true population of homes which do with 90% confidence and within
3 percentage points?

SOLUTION

For 90% confidence interval, Here hence

Thus, a minimum sample size of 273 is required.

A researcher wishes to estimate the proportion of executives who own a car phone. She wants to be 99%
confident and be accurate within 5% of the true proportion. Find the minimum sample size necessary.

SOLUTION

For 99% confidence interval, In this problem, we have no prior knowledge of and so we
assign and therefore, . Hence,

Thus, the researcher needs interview at least 666 executives.

Chapter 8: Confidence Intervals and Sample Size 133


8.6 Summary
This chapter explains how to construct confidence interval and determine minimum sample size. The
concepts discussed in this chapter are as follows: confidence interval for population mean and population
proportion, minimum sample size needed in population mean and population proportion estimation.

EXERCISES

1. Explain the terms confidence level and confidence interval.

2. A recent survey of 8 social networking sites has a mean of 13.1 and a standard deviation of 4.1
million visitors for a specific month. Find the 95% confidence interval of the true mean. Assume that
the variable is normally distributed.

3. If the variance of a national accounting exam is 900, how large a sample is needed to estimate the
true mean score within 5 points and with 99% confidence?

4. The number of unhealthy days based on the AQI (air quality index) for a random sample of
metropolitan areas is shown:

61 12 6 40 27 38 93 5 13 40

A. What is the point estimate of the mean number of unhealthy days all such days?
B. Construct a 98% confidence interval of based on the data.

5. A sample of 30 networking sites for a specific month has a mean of 26.1. Assume the population
standard deviation to be 4.2. Find the 99% confidence interval of the true mean.

6. A recent study indicated that 29% of the 100 women over age 55 in the study were widows. How
large a sample must you take to be 90% confident that the estimate is within 0.05 of the true
proportion of women over age 55 who are widows?

7. A Tongan advertising agency wishes to estimate the proportion of household, which use a particular
brand of washing soap. They decide on the sample size of 500 and find that 157 households use the
product.
A. Construct a 99% confidence interval for proportion.
B. How large should a sample have to be for their interval estimate of proportion to have been in
error by 2%?

8. In a survey of drug use among 995 Suva teenagers, the following results were reported. Estimate
with 90% confidence the proportion of all Suva teenagers who are daily smokers or occasional
smokers.

Source Daily smokers Occasional smokers Ex-smokers Never smoked


Percentage (%) 21.7 7.4 31.2 39.7

Chapter 8: Confidence Intervals and Sample Size 134

You might also like