1 1 slide hypothesis testing chapter 9 ba 201. 2 2 slide hypothesis testing the null hypothesis,...

41
1 Slide Hypothesis Testing Chapter 9 BA 201

Upload: betty-carr

Post on 18-Dec-2015

229 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

1 1 Slide Slide

Hypothesis Testing

Chapter 9BA 201

Page 2: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

2 2 Slide Slide

Hypothesis Testing

The null hypothesis, denoted by H0 , is a tentative assumption about a population parameter. The alternative hypothesis, denoted by Ha, is the opposite of what is stated in the null hypothesis.

Page 3: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

3 3 Slide Slide

One-tailed(lower-tail)

One-tailed(upper-tail)

Two-tailed

0 0: H

0: aH 0 0: H

0: aH 0 0: H

0: aH

Summary of Forms for Null and Alternative Hypotheses about a

Population Mean Three Scenarios:

Page 4: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

4 4 Slide Slide

Type I and Type II Errors

CorrectDecision

Type II Error

CorrectDecisionType I Error

Reject H0

(Conclude m > 12)

Accept H0

(Conclude m < 12)

H0 True(m < 12)

H0 False(m > 12)Conclusion

Population Condition

Page 5: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

5 5 Slide Slide

Two Scenarios

Known z Score Unknown t Value

Page 6: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

6 6 Slide Slide

HYPOTHESIS TESTING KNOWN

Page 7: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

7 7 Slide Slide

p-Value Approach

Reject H0 if the p-value < .

The p-value is the probability, computed using the test statistic, that measures the support (or lack of support) provided by the sample for the null hypothesis.

Page 8: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

8 8 Slide Slide

Rejection Rule: p -Value Approach

H0: Reject H0 if z > z

Reject H0 if z < -z

Reject H0 if z < -z or z > z

H0:

H0:

Tests About a Population Mean:s Known

Rejection Rule: Critical Value Approach

Reject H0 if p–value < a

Ha:

Ha: >

Ha:

Page 9: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

9 9 Slide Slide

00

zz

-za = -1.28 -za = -1.28

a = 0.10a = 0.10

p-value 072p-value 072

z =-1.46 z =-1.46

Lower-Tailed Test About a Population Mean

Page 10: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

10 10 Slide Slide

00

zz

za = 1.75 za = 1.75

a = 0.04a = 0.04

p-Value 011p-Value 011

z =2.29 z =2.29

Upper-Tailed Test About a Population Mean

Page 11: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

11 11 Slide Slide

Two-Tailed Tests About a Population Mean

00zz

a/2 = .015

-za/2 = -2.17

a/2 = .015

za/2 = 2.17z = 2.74

1/2p -value= .0031

z = -2.74

1/2p -value= .0031

Page 12: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

12 12 Slide Slide

z Statistics for s Known

z xn

0

/Where

0 is the mean under H0

is the population standard deviation

n is the sample size

Page 13: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

13 13 Slide Slide

Metro EMS

The EMS director wants to perform a hypothesistest, with a .05 level of significance, to determinewhether the service goal of 12 minutes or less is being achieved.

The response times for a random sample of 40medical emergencies were tabulated. The samplemean is 13.25 minutes. The population standarddeviation is believed to be 3.2 minutes.

One-Tailed Tests About a Population Mean:s Known

Page 14: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

14 14 Slide Slide

1. Develop the hypotheses.

2. Specify the level of significance. a = 0.05

H0: Ha:

p -Value and Critical Value Approaches

One-Tailed Tests About a Population Mean:s Known

3. Compute the value of the test statistic.

13.25 12 2.47

/ 3.2/ 40x

zn

Page 15: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

15 15 Slide Slide

5. Determine whether to reject H0.

p –Value Approach

One-Tailed Tests About a Population Mean:s Known

4. Compute the p –value.

For z = 2.47, cumulative probability = 0.9932.

p–value = 1 - 0.9932 = 0.0068

Because p–value = 0.0068 < a = .05, we reject H0.

There is sufficient statistical evidence

to infer that Metro EMS is not meeting

the response goal of 12 minutes.

Page 16: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

16 16 Slide Slide

p –Value Approach p –Value Approach

0

z

za =1.645

a = .05

p-value

z =2.47

One-Tailed Tests About a Population Mean:s Known

Samplingdistribution

of

Samplingdistribution

of z xn

0

/

Page 17: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

17 17 Slide Slide

5. Determine whether to reject H0.

There is sufficient statistical evidence

to infer that Metro EMS is not meeting

the response goal of 12 minutes.

Because 2.47 > 1.645, we reject H0.

Critical Value Approach

One-Tailed Tests About a Population Mean:s Known

For a = 0.05, z0.05 = 1.645

4. Determine the critical value and rejection rule.

Reject H0 if z > 1.645

Page 18: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

18 18 Slide Slide

p-Value Approach toTwo-Tailed Hypothesis Testing

Reject H0 if the p-value < .

Compute the p-value using the following three steps:

3. Double the tail area obtained in step 2 to obtain the p–value.

2. If z is in the upper tail (z > 0), find the area under the standard normal curve to the right of z.

If z is in the lower tail (z < 0), find the area under the standard normal curve to the left of z.

1. Compute the value of the test statistic z.

Page 19: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

19 19 Slide Slide

Glow Toothpaste

Quality assurance procedures call for thecontinuation of the filling process if the sampleresults are consistent with the assumption that themean filling weight for the population of toothpastetubes is 6 oz.; otherwise the process will be adjusted.

The production line for Glow toothpaste isdesigned to fill tubes with a mean weight of 6 oz.Periodically, a sample of 30 tubes will be selected inorder to check the filling process.

Two-Tailed Tests About a Population Mean:s Known

Page 20: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

20 20 Slide Slide

Perform a hypothesis test, at the 0.03 level ofsignificance, to help determine whether the fillingprocess should continue operating or be stopped andcorrected.

Assume that a sample of 30 toothpaste tubesprovides a sample mean of 6.1 oz. The populationstandard deviation is believed to be 0.2 oz.

Two-Tailed Tests About a Population Mean:s Known

Glow Toothpaste

Page 21: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

21 21 Slide Slide

1. Determine the hypotheses.

2. Specify the level of significance.

3. Compute the value of the test statistic.

a = .03

p –Value and Critical Value Approaches

H0: = 6Ha:

6

Two-Tailed Tests About a Population Mean:s Known

0 6.1 6 2.74

/ .2/ 30x

zn

Page 22: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

22 22 Slide Slide

Two-Tailed Tests About a Population Mean:s Known

5. Determine whether to reject H0.

p –Value Approach

4. Compute the p –value.

For z = 2.74, cumulative probability = 0.9969

p–value = 2(1 - 0.9969) = 0.0062

Because p–value = 0.0062 < a = 0.03, we reject H0.

There is sufficient statistical evidence toinfer that the alternative hypothesis is

true (i.e. the mean filling weight is not 6

ounces).

Page 23: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

23 23 Slide Slide

Two-Tailed Tests About a Population Mean

00zz

a/2 = .015

-za/2 = -2.17

a/2 = .015

za/2 = 2.17z = 2.74

1/2p -value= .0031

z = -2.74

1/2p -value= .0031

Page 24: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

24 24 Slide Slide

Critical Value Approach

Two-Tailed Tests About a Population Mean:s Known

5. Determine whether to reject H0.

There is sufficient statistical evidence toinfer that the alternative hypothesis is

true (i.e. the mean filling weight is not 6

ounces).

Because 2.74 > 2.17, we reject H0.

For a/2 = .03/2 = .015, z.015 = 2.17

4. Determine the critical value and rejection rule.

Reject H0 if z < -2.17 or z > 2.17

Page 25: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

25 25 Slide Slide

0

Do Not Reject H0

z

Reject H0

-2.17 2.17

Reject H0

Critical Value Approach

Two-Tailed Tests About a Population Mean:s Known

z = 2.74

1/2p -value= .0031

z = -2.74

1/2p -value= .0031

Page 26: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

26 26 Slide Slide

PRACTICE KNOWN

Page 27: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

27 27 Slide Slide

9.16

Page 28: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

28 28 Slide Slide

9.18

Page 29: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

29 29 Slide Slide

HYPOTHESIS TESTING UNKNOWN

Page 30: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

30 30 Slide Slide

Tests About a Population Mean:s Unknown

txs n

0/

This test statistic has a t distributionwith n - 1 degrees of freedom.

Where

0 is the mean under H0

s is the sample standard deviation

n is the sample size

Page 31: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

31 31 Slide Slide

Rejection Rule: p -Value Approach

H0: Reject H0 if t > t

Reject H0 if t < -t

Reject H0 if t < - t or t > t

H0:

H0:

Tests About a Population Mean:s Unknown

Rejection Rule: Critical Value Approach

Reject H0 if p –value < a

Ha:

Ha: >

Ha:

Page 32: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

32 32 Slide Slide

p -Values and the t Distribution

The format of the t distribution table provided in most statistics textbooks does not have sufficient detail to determine the exact p-value for a hypothesis test.

However, we can still use the t distribution table to identify a range for the p-value.

An advantage of computer software packages is that the computer output will provide the p-value for the t distribution.

Page 33: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

33 33 Slide Slide

A State Highway Patrol periodically samplesvehicle speeds at various locations on a particularroadway. The sample of vehicle speeds is used totest the hypothesis H0: m < 65.

Example: Highway Patrol

One-Tailed Test About a Population Mean: s Unknown

The locations where H0 is rejected are deemed thebest locations for radar traps. At Location F, asample of 64 vehicles shows a mean speed of 66.2mph with a standard deviation of 4.2 mph. Use a= .05 to test the hypothesis.

Page 34: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

34 34 Slide Slide

One-Tailed Test About a Population Mean:s Unknown

1. Determine the hypotheses.

2. Specify the level of significance.

3. Compute the value of the test statistic.

a = .05

p –Value and Critical Value Approaches

H0: < 65

Ha: m > 65

0 66.2 65

2.286/ 4.2/ 64

xt

s n

Page 35: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

35 35 Slide Slide

One-Tailed Test About a Population Mean:s Unknown

p –Value Approach

5. Determine whether to reject H0.

4. Compute the p –value.

For t = 2.286, the p–value must be less than .025(for t = 1.998) and greater than .01 (for t = 2.387).

.01 < p–value < .025

Because p–value < a = .05, we reject H0.

We are at least 95% confident that the mean speed of vehicles at Location F is greater than 65 mph.

Page 36: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

36 36 Slide Slide

Critical Value Approach

5. Determine whether to reject H0.

We are at least 95% confident that the mean speed of vehicles at Location F is greater than 65 mph. Location F is a good candidate for a radar trap.

Because 2.286 > 1.669, we reject H0.

One-Tailed Test About a Population Mean:s Unknown

For a = .05 and d.f. = 64 – 1 = 63, t.05 = 1.669

4. Determine the critical value and rejection rule.

Reject H0 if t > 1.669

Page 37: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

37 37 Slide Slide

00

00 ta =1.669 ta =1.669

Reject H0Reject H0

Do Not Reject H0Do Not Reject H0

t

One-Tailed Test About a Population Mean:s Unknown

Page 38: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

38 38 Slide Slide

PRACTICE UNKNOWN

Page 39: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

39 39 Slide Slide

9.28

Page 40: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

40 40 Slide Slide

9.30

(C.L. = 95%)

Page 41: 1 1 Slide Hypothesis Testing Chapter 9 BA 201. 2 2 Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population

41 41 Slide Slide