CI Lecture 10 - A
CI Lecture 10 - A
Chap 7-1
Chapter Goals
After completing this chapter, you should be able
to:
Distinguish between a point estimate and a confidence
interval estimate
Construct and interpret a confidence interval estimate for a
single population mean using both the Z and t distributions
Form and interpret a confidence interval estimate for a
single population proportion
Determine the required sample size to estimate a mean or
proportion within a specified margin of error
Chap 7-2
Confidence Intervals
Chap 7-3
Point and Interval Estimates
Lower Upper
Confidence Confidence
Point Estimate
Limit Limit
Width of
confidence interval
Chap 7-4
Point Estimates
Mean μ X
Proportion p ps
Chap 7-5
Confidence Intervals
Chap 7-6
Confidence Interval Estimate
An interval gives a range of values:
Takes into consideration variation in sample
statistics from sample to sample
Based on observation from 1 sample
Gives information about closeness to
unknown population parameters
Stated in terms of level of confidence
Can never be 100% confident
Chap 7-7
Estimation Process
Sample
Chap 7-8
General Formula
Chap 7-9
Confidence Level
Confidence Level
Confidence in which the interval
will contain the unknown
population parameter
A percentage (less than 100%)
Chap 7-10
Confidence Level, (1-)
(continued)
Suppose confidence level = 95%
Also written (1 - ) = .95
A relative frequency interpretation:
In the long run, 95% of all the confidence
intervals that can be constructed will contain the
unknown true parameter
A specific interval either will contain or will
not contain the true parameter
No probability involved in a specific interval
Chap 7-11
Confidence Intervals
Confidence
Intervals
Population Population
Mean Proportion
σ Known σ Unknown
Chap 7-12
Confidence Interval for μ
(σ Known)
Assumptions
Population standard deviation σ is known
Population is normally distributed
If population is not normal, use large sample
α α
.025 .025
2 2
Chap 7-14
Common Levels of Confidence
Commonly used confidence levels are 90%,
95%, and 99%
Confidence
Confidence
Coefficient, Z value
Level
1
80% .80 1.28
90% .90 1.645
95% .95 1.96
98% .98 2.33
99% .99 2.57
99.8% .998 3.08
99.9% .999 3.27
Chap 7-15
Intervals and Level of Confidence
Sampling Distribution of the Mean
Chap 7-17
Example
(continued)
Chap 7-19
Confidence Intervals
Confidence
Intervals
Population Population
Mean Proportion
σ Known σ Unknown
Chap 7-20
Confidence Interval for μ
(σ Unknown)
Chap 7-21
Confidence Interval for μ
(σ Unknown)
(continued)
Assumptions
Population standard deviation is unknown
Population is normally distributed
If population is not normal, use large sample
Use Student’s t Distribution
Confidence Interval Estimate:
S
X t n-1
n
(where t is the critical value of the t distribution with n-1 d.f. and an area
of α/2 in each tail)
Chap 7-22
Student’s t Distribution
d.f. = n - 1
Chap 7-23
Degrees of Freedom (df)
Idea: Number of observations that are free to vary
after sample mean has been calculated
Standard
Normal
(t with df = )
t (df = 13)
t-distributions are bell-
shaped and symmetric, but
have ‘fatter’ tails than the t (df = 5)
normal
0 t
Chap 7-25
Student’s t Table
Confidence t t t Z
Level (10 d.f.) (20 d.f.) (30 d.f.) ____
Note: t Z as n increases
Chap 7-27
Example
A random sample of n = 25 has X = 50 and
S = 8. Form a 95% confidence interval for μ
Chap 7-28
Confidence Intervals
Confidence
Intervals
Population Population
Mean Proportion
σ Known σ Unknown
Chap 7-29
Confidence Intervals for the
Population Proportion, p
Chap 7-30
Confidence Intervals for the
Population Proportion, p
(continued)
p(1 p)
σp
n
We will estimate this with sample data:
ps(1 ps )
n
Chap 7-31
Confidence Interval Endpoints
Upper and lower confidence limits for the
population proportion are calculated with the
formula
ps(1 ps )
ps Z
n
where
Z is the standard normal value for the level of confidence desired
ps is the sample proportion
n is the sample size
Chap 7-32
Example
Chap 7-33
Example
(continued)
A random sample of 100 people shows
that 25 are left-handed. Form a 95%
confidence interval for the true proportion
of left-handers.
ps Z ps(1 ps )/n
Chap 7-35
Determining Sample Size
Determining
Sample Size
Chap 7-36
Sampling Error
The required sample size can be found to reach a
desired margin of error (e) with a specified level of
confidence (1 - )
Chap 7-37
Determining Sample Size
Determining
Sample Size
For the
Mean Sampling error
(margin of error)
σ σ
XZ eZ
n n
Chap 7-38
Determining Sample Size
(continued)
Determining
Sample Size
For the
Mean
σ 2
Z σ 2
eZ Now solve
for n to get n
n e 2
Chap 7-39
Determining Sample Size
(continued)
Chap 7-40
Required Sample Size Example
2 2 2 2
Z σ (1.645) (45)
n 2
2
219.19
e 5
Chap 7-41
If σ is unknown
Chap 7-42
Determining Sample Size
Determining
Sample Size
For the
Proportion
ps(1 ps ) p(1 p)
ps Z eZ
n n
Sampling error
(margin of error)
Chap 7-43
Determining Sample Size
(continued)
Determining
Sample Size
For the
Proportion
Chap 7-44
Determining Sample Size
(continued)
Chap 7-45
Required Sample Size Example
Chap 7-46
Required Sample Size Example
(continued)
Solution:
For 95% confidence, use Z = 1.96
e = .03
ps = .12, so use this to estimate p
Chap 7-47
PHStat Interval Options
options
Chap 7-48
PHStat Sample Size Options
Chap 7-49
Using PHStat
(for μ, σ unknown)
A random sample of n = 25 has X = 50 and
S = 8. Form a 95% confidence interval for μ
Chap 7-50
Using PHStat
(sample size for proportion)
How large a sample would be necessary to estimate the true
proportion defective in a large population within 3%, with
95% confidence?
(Assume a pilot sample yields ps = .12)
Chap 7-51
Applications in Auditing
Six advantages of statistical sampling in
auditing
Chap 7-52
Applications in Auditing
(continued)
Can provide more accurate conclusions on the
population
Examination of the population can be time consuming and
subject to more nonsampling error
Samples can be combined and evaluated by different
auditors
Samples are based on scientific approach
Samples can be treated as if they have been done by a
single auditor
Objective evaluation of the results is possible
Based on known sampling error
Chap 7-53
Confidence Interval for
Population Total Amount
Point estimate:
Population total NX
S Nn
NX N ( t n1 )
n N 1
(This is sampling without replacement, so use the finite population
correction in the confidence interval formula)
Chap 7-54
Confidence Interval for
Population Total: Example
Chap 7-55
Example Solution
N 1000, n 80, X 87.6, S 22.3
S Nn
NX N ( t n1 )
n N 1
22.3 1000 80
(1000 )(87.6) (1000 )(1.9905 )
80 1000 1
87,600 4,762 .48
Chap 7-56
Confidence Interval for
Total Difference
Point estimate:
Total Difference ND
D i
D i1
n
where Di audited value - original value
Chap 7-57
Confidence Interval for
Total Difference
(continued)
SD Nn
ND N ( t n1 )
n N 1
where n
i
(D D ) 2
SD i1
n 1
Chap 7-58
One Sided Confidence Intervals
Application: find the upper bound for the
proportion of items that do not conform with
internal controls
ps(1 ps ) N n
Upper bound ps Z
n N 1
where
Z is the standard normal value for the level of confidence desired
ps is the sample proportion of items that do not conform
n is the sample size
N is the population size
Chap 7-59
Ethical Issues
Chap 7-60
Chapter Summary
Introduced the concept of confidence intervals
Discussed point estimates
Developed confidence interval estimates
Created confidence interval estimates for the mean
(σ known)
Determined confidence interval estimates for the
mean (σ unknown)
Created confidence interval estimates for the
proportion
Determined required sample size for mean and
proportion settings
Chap 7-61
Chapter Summary
(continued)
Chap 7-62