Chap07 interval estimation

62
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-1 Chapter 7 Confidence Interval Estimation Statistics for Managers Using Microsoft ® Excel 4 th Edition

description

Modul Statistik Bisnis II

Transcript of Chap07 interval estimation

Page 1: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-1

Chapter 7

Confidence Interval Estimation

Statistics for ManagersUsing Microsoft® Excel

4th Edition

Page 2: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-2

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

Page 3: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-3

Confidence Intervals

Content of this chapter Confidence Intervals for the Population

Mean, μ when Population Standard Deviation σ is Known when Population Standard Deviation σ is Unknown

Confidence Intervals for the Population Proportion, p

Determining the Required Sample Size

Page 4: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-4

Point and Interval Estimates

A point estimate is a single number, a confidence interval provides additional

information about variability

Point Estimate

Lower

Confidence

Limit

Upper

Confidence

Limit

Width of confidence interval

Page 5: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-5

We can estimate a Population Parameter …

Point Estimates

with a SampleStatistic

(a Point Estimate)

Mean

Proportion psp

Page 6: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-6

Confidence Intervals

How much uncertainty is associated with a point estimate of a population parameter?

An interval estimate provides more information about a population characteristic than does a point estimate

Such interval estimates are called confidence intervals

Page 7: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-7

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

Page 8: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-8

Estimation Process

(mean, μ, is unknown)

Population

Random Sample

Mean X = 50

Sample

I am 95% confident that μ is between 40 & 60.

Page 9: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-9

General Formula

The general formula for all confidence intervals is:

Point Estimate (Critical Value)(Standard Error)

Page 10: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-10

Confidence Level

Confidence Level

Confidence in which the interval will contain the unknown population parameter

A percentage (less than 100%)

Page 11: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-11

Confidence Level, (1-)

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

(continued)

Page 12: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-12

Confidence Intervals

Population Mean

σ Unknown

ConfidenceIntervals

PopulationProportion

σ Known

Page 13: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-13

Confidence Interval for μ(σ Known)

Assumptions Population standard deviation σ is known Population is normally distributed If population is not normal, use large sample

Confidence interval estimate:

(where Z is the normal distribution critical value for a probability of α/2 in each tail)

n

σZX

Page 14: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-14

Finding the Critical Value, Z

Consider a 95% confidence interval:

Z= -1.96 Z= 1.96

.951

.0252

α .025

2

α

Point EstimateLower Confidence Limit

UpperConfidence Limit

Z units:

X units: Point Estimate

0

1.96Z

Page 15: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-15

Common Levels of Confidence

Commonly used confidence levels are 90%, 95%, and 99%

Confidence Level

Confidence Coefficient,

Z value

1.28

1.645

1.96

2.33

2.57

3.08

3.27

.80

.90

.95

.98

.99

.998

.999

80%

90%

95%

98%

99%

99.8%

99.9%

1

Page 16: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-16

μμx

Intervals and Level of Confidence

Confidence Intervals

Intervals extend from

to

(1-)x100%of intervals constructed contain μ;

()x100% do not.

Sampling Distribution of the Mean

n

σZX

n

σZX

x

x1

x2

/2 /21

Page 17: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-17

Example

A sample of 11 circuits from a large normal population has a mean resistance of 2.20 ohms. We know from past testing that the population standard deviation is .35 ohms.

Determine a 95% confidence interval for the true mean resistance of the population.

Page 18: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-18

2.4068) ,(1.9932

.2068 2.20

)11(.35/ 1.96 2.20

n

σZ X

Example

A sample of 11 circuits from a large normal population has a mean resistance of 2.20 ohms. We know from past testing that the population standard deviation is .35 ohms.

Solution:

(continued)

Page 19: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-19

Interpretation

We are 95% confident that the true mean resistance is between 1.9932 and 2.4068 ohms

Although the true mean may or may not be in this interval, 95% of intervals formed in this manner will contain the true mean

Page 20: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-20

Confidence Intervals

Population Mean

σ Unknown

ConfidenceIntervals

PopulationProportion

σ Known

Page 21: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-21

If the population standard deviation σ is unknown, we can substitute the sample standard deviation, S

This introduces extra uncertainty, since S is variable from sample to sample

So we use the t distribution instead of the normal distribution

Confidence Interval for μ(σ Unknown)

Page 22: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-22

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:

(where t is the critical value of the t distribution with n-1 d.f. and an area of α/2 in each tail)

Confidence Interval for μ(σ Unknown)

n

StX 1-n

(continued)

Page 23: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-23

Student’s t Distribution

The t is a family of distributions

The t value depends on degrees of freedom (d.f.) Number of observations that are free to vary after

sample mean has been calculated

d.f. = n - 1

Page 24: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-24

If the mean of these three values is 8.0, then X3 must be 9 (i.e., X3 is not free to vary)

Degrees of Freedom (df)

Here, n = 3, so degrees of freedom = n – 1 = 3 – 1 = 2

(2 values can be any numbers, but the third is not free to vary for a given mean)

Idea: Number of observations that are free to vary after sample mean has been calculated

Example: Suppose the mean of 3 numbers is 8.0

Let X1 = 7

Let X2 = 8

What is X3?

Page 25: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-25

Student’s t Distribution

t0

t (df = 5)

t (df = 13)t-distributions are bell-shaped and symmetric, but have ‘fatter’ tails than the normal

Standard Normal

(t with df = )

Note: t Z as n increases

Page 26: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-26

Student’s t Table

Upper Tail Area

df .25 .10 .05

1 1.000 3.078 6.314

2 0.817 1.886 2.920

3 0.765 1.638 2.353

t0 2.920The body of the table contains t values, not probabilities

Let: n = 3 df = n - 1 = 2 = .10 /2 =.05

/2 = .05

Page 27: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-27

t distribution values

With comparison to the Z value

Confidence t t t Z Level (10 d.f.) (20 d.f.) (30 d.f.) ____

.80 1.372 1.325 1.310 1.28

.90 1.812 1.725 1.697 1.64

.95 2.228 2.086 2.042 1.96

.99 3.169 2.845 2.750 2.57

Note: t Z as n increases

Page 28: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-28

Example

A random sample of n = 25 has X = 50 and S = 8. Form a 95% confidence interval for μ

d.f. = n – 1 = 24, so

The confidence interval is

2.0639tt .025,241n,/2

25

8(2.0639)50

n

StX 1-n /2,

(46.698 , 53.302)

Page 29: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-29

Confidence Intervals

Population Mean

σ Unknown

ConfidenceIntervals

PopulationProportion

σ Known

Page 30: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-30

Confidence Intervals for the Population Proportion, p

An interval estimate for the population proportion ( p ) can be calculated by adding an allowance for uncertainty to

the sample proportion ( ps )

Page 31: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-31

Confidence Intervals for the Population Proportion, p

Recall that the distribution of the sample proportion is approximately normal if the sample size is large, with standard deviation

We will estimate this with sample data:

(continued)

n

)p(1p ss

n

p)p(1σp

Page 32: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-32

Confidence Interval Endpoints

Upper and lower confidence limits for the population proportion are calculated with the formula

where Z is the standard normal value for the level of confidence desired ps is the sample proportion n is the sample size

n

)p1(pZp

sss

Page 33: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-33

Example

A random sample of 100 people

shows that 25 are left-handed.

Form a 95% confidence interval for

the true proportion of left-handers

Page 34: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-34

Example A random sample of 100 people shows

that 25 are left-handed. Form a 95% confidence interval for the true proportion of left-handers.

00.25(.75)/196.125/100

)/np(1pZp sss

0.3349) , (0.1651

(.0433) 1.96 .25

(continued)

Page 35: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-35

Interpretation

We are 95% confident that the true percentage of left-handers in the population is between

16.51% and 33.49%.

Although this range may or may not contain the true proportion, 95% of intervals formed from samples of size 100 in this manner will contain the true proportion.

Page 36: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-36

Determining Sample Size

For the Mean

DeterminingSample Size

For theProportion

Page 37: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-37

Sampling Error

The required sample size can be found to reach a desired margin of error (e) with a specified level of confidence (1 - )

The margin of error is also called sampling error the amount of imprecision in the estimate of the

population parameter the amount added and subtracted to the point estimate

to form the confidence interval

Page 38: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-38

Determining Sample Size

For the Mean

DeterminingSample Size

n

σZX

n

σZe

Sampling error (margin of error)

Page 39: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-39

Determining Sample Size

For the Mean

DeterminingSample Size

n

σZe

(continued)

2

22

e

σZn Now solve

for n to get

Page 40: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-40

Determining Sample Size

To determine the required sample size for the mean, you must know:

The desired level of confidence (1 - ), which determines the critical Z value

The acceptable sampling error (margin of error), e

The standard deviation, σ

(continued)

Page 41: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-41

Required Sample Size Example

If = 45, what sample size is needed to estimate the mean within ± 5 with 90% confidence?

(Always round up)

219.195

(45)(1.645)

e

σZn

2

22

2

22

So the required sample size is n = 220

Page 42: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-42

If σ is unknown

If unknown, σ can be estimated when using the required sample size formula

Use a value for σ that is expected to be at least as large as the true σ

Select a pilot sample and estimate σ with the sample standard deviation, S

Page 43: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-43

Determining Sample Size

n

)p1(pZp

sss

n

)p1(pZe

DeterminingSample Size

For theProportion

Sampling error (margin of error)

Page 44: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-44

Determining Sample Size

DeterminingSample Size

For theProportion

2

2

e

)p1(pZn

Now solve

for n to getn

)p1(pZe

(continued)

Page 45: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-45

Determining Sample Size

To determine the required sample size for the proportion, you must know:

The desired level of confidence (1 - ), which determines the critical Z value

The acceptable sampling error (margin of error), e

The true proportion of “successes”, p

p can be estimated with a pilot sample, if necessary (or conservatively use p = .50)

(continued)

Page 46: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-46

Required Sample Size Example

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)

Page 47: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-47

Required Sample Size Example

Solution:

For 95% confidence, use Z = 1.96

e = .03

ps = .12, so use this to estimate p

So use n = 451

450.74(.03)

.12)(.12)(1(1.96)

e

)p1(pZn

2

2

2

2

(continued)

Page 48: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-48

PHStat Interval Options

options

Page 49: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-49

PHStat Sample Size Options

Page 50: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-50

Using PHStat (for μ, σ unknown)

A random sample of n = 25 has X = 50 and S = 8. Form a 95% confidence interval for μ

Page 51: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-51

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)

Page 52: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-52

Applications in Auditing

Six advantages of statistical sampling in auditing

Sample result is objective and defensible Based on demonstrable statistical principles

Provides sample size estimation in advance on an objective basis

Provides an estimate of the sampling error

Page 53: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-53

Applications in Auditing

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

(continued)

Page 54: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-54

Confidence Interval for Population Total Amount

Point estimate:

Confidence interval estimate:

XN total Population

1N

nN

n

S)t(NXN 1n

(This is sampling without replacement, so use the finite population correction in the confidence interval formula)

Page 55: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-55

Confidence Interval for Population Total: Example

A firm has a population of 1000 accounts and wishes to estimate the total population value.

A sample of 80 accounts is selected with average balance of $87.6 and standard deviation of $22.3.

Find the 95% confidence interval estimate of the total balance.

Page 56: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-56

Example Solution

The 95% confidence interval for the population total balance is $82,837.52 to $92,362.48

48.762,4600,87

11000

801000

80

22.3)9905.1)(1000()6.87)(1000(

1N

nN

n

S)t(NXN 1n

22.3S ,6.87X 80, n ,1000N

Page 57: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-57

Point estimate:

Where the average difference, D, is:

DN Difference Total

Confidence Interval for Total Difference

value original - value auditedD where

n

DD

i

n

1ii

Page 58: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-58

Confidence interval estimate:

where

1N

nN

n

S)t(NDN D

1n

Confidence Interval for Total Difference

(continued)

1n

)DD(S

n

1i

2i

D

Page 59: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-59

One Sided Confidence Intervals

Application: find the upper bound for the proportion of items that do not conform with internal controls

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

1N

nN

n

)p1(pZp bound Upper

sss

Page 60: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-60

Ethical Issues

A confidence interval (reflecting sampling error) should always be reported along with a point estimate

The level of confidence should always be reported

The sample size should be reported An interpretation of the confidence interval

estimate should also be provided

Page 61: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-61

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

Page 62: Chap07 interval estimation

Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-62

Chapter Summary

Developed applications of confidence interval estimation in auditing Confidence interval estimation for population total Confidence interval estimation for total difference

in the population One sided confidence intervals

Addressed confidence interval estimation and ethical issues

(continued)