Professional Documents
Culture Documents
Chapter 12
Chapter 12
Chapter 12
INTRODUCTION TO
BUSINESS STATISTICS
2023-2024
SEMESTER B
Test 2
April 21 (Sunday) 2-4 p.m.
Chapter 1 to Chapter 10
Open book test
No formulae sheet and tables will be provided
One-Sample Tests of
Hypothesis
CHAPTER 10
mean
LO10-5 Compute and interpret a p-value
LO10-6 Use a t-statistic to test a hypothesis
COPYRIGHT © 2022 MCGRAW-HILL EDUCATION. ALL RIGHTS RESERVED. 10-4
NO REPRODUCTION OR DISTRIBUTION WITHOUT THE PRIOR WRITTEN CONSENT OF MCGRAW-HILL EDUCATION.
Hypothesis ( 假設 ) Testing
Hypothesis testing begins with a hypothesis statement about a
population parameter
HYPOTHESIS
A statement about a population parameter subject to verification
Examples
◦ The mean speed of automobiles passing milepost 150 on the West Virginia Turnpike
is 68 mph
◦ The mean cost to remodel a kitchen is $20,000
HYPOTHESIS TESTING
A procedure based on sample evidence and probability theory
to determine whether the hypothesis is a reasonable statement.
The null hypothesis ( 零假設 / 原假設 ) always includes the equal sign
◦ For example; =, ≥, or ≤ will be used in H0
ALTERNATE HYPOTHESIS
A statement that is accepted if the sample data provide sufficient evidence that the null
hypothesis is false.
The alternate hypothesis ( 對立假設 / 替代假設 ) never includes the equal sign
◦ For example; ≠, <, or > is used in H1
◦ H0 :
◦ H1: < 15
◦ H0 :
◦ H1: >15
1-8
Class Exercises
Which pair(s) is/are correct?
a. H0 : μ ≤ 10 H1 : μ ≥ 10
b. H0 : μ ≠ 500 H1 : μ = 500
c. H0 : p ≤ 0.40 H1 : p > 0.42
d. H0 : x̅ ≤ 128 H1 : x̅ > 128
e. H0 : μ = 120 H1 : μ≠ 120
f. H0 : p ≤ 0.24 H1 : p ≥ 0.24
g. H0 : μ <252 H1 : μ > 252
Step 2 of the Process
Next, you select the level of significance,
LEVEL OF SIGNIFICANCE
The probability of rejecting the null hypothesis when it is true.
Sometimes called the level of risk
Can be any value between 0 and 1
Traditionally,
◦ .01 for quality assurance
◦ .05 for consumer research projects
◦ .10 for political polling
In hypothesis testing for the mean, , when is known, the test statistic z is
computed with the following formula
CRITICAL VALUE
The dividing point between the region where the null
hypothesis is rejected and the region where it is not
rejected.
10-13
Critical Value
• The sampling distribution of the statistic z follows the normal distribution
• Here, an of .05 is used in a one-tailed test
• The value 1.645 separates the regions where the null hypothesis is
rejected and where it is not rejected
• The value 1.645 is the critical value
Step 6
◦ Interpret the results
◦ What can we say or report based on the results of the statistical test?
10-15
Summary of the steps of hypothesis
testing
1 Establish the null hypothesis (H0) and the alternate hypothesis (H1).
2 Select the level of significance, that is, .
3 Select an appropriate test statistics.
4 Formulate a decision rule based on steps 1, 2, and 3
5 Make a decision regarding the null hypothesis based on the sample information.
6 Interpret the results of the test
PennS
COPYRIGHT © 2022 MCGRAW-HILL EDUCATION. ALL RIGHTS RESERVED. 1-16
NO REPRODUCTION OR DISTRIBUTION WITHOUT THE PRIOR WRITTEN CONSENT OF MCGRAW-HILL EDUCATION.
One-Tailed and Two-Tailed Tests
H0: ≥ 60,000 miles H0: = $65,000 per year H0: ≤ 453 grams
H1: < 60,000 miles H1: ≠ $65,000 per year H1: > 453 grams
with an with an with an
Left-tailed test Two-tailed test Right-tailed test
Decision Rule: If the computed value of z is not between -2.576 and 2.576, reject the
null hypothesis. If z falls between -2.576 and 2.576, do not reject the null hypothesis.
Heinz, a manufacturer of ketchup, uses a particular machine to dispense 16 ounces of its ketchup into containers. From many years
of experience with that particular dispensing machine, Heinz knows the amount of product in each container follows a normal
distribution with a mean of 16 ounces and a standard deviation of 0.15 ounce. A sample of 50 containers filled last hour
revealed the mean amount per container was 16.017 ounces. Does this evidence suggest that the mean amount dispensed is
different from 16 ounces? Use the 0.05 significance level.
10-21
Two-Tailed Test, Known
10-22
Two-Tailed Test, Known
Step 4: Formulate the decision rule by first determining the critical values of z.
Decision Rule: If the computed value of z is not between -1.96 and 1.96, reject the null
hypothesis. If z falls between -1.96 and 1.96, do not reject the null hypothesis.
10-23
Two-Tailed Test, Known
We cannot conclude the mean amount dispensed is different from 16.0 ounces
10-24
One-Tailed Test
Suppose instead of wanting to know if there had been a change in the mean
number of desks assembled, the vice president wanted to know if there had
been an increase in the number of units assembled. Can we conclude, because
of the improved production methods, that the mean number of desks
assembled in the last 50 weeks was more than 200? Use .
Before: Now:
A two-tailed test A one-tailed test
H0: = 200 desks H0: ≤ 200 desks
H1: ≠ 200 desks H1: > 200 desks
10-25
Step 4: Decision rule
Critical value: 2.326
Reject H0 if z value is greater than 2.326
a. Suppose the next to the last sentence is changed to read: Does this evidence suggest that the mean amount dispensed is
more than 16 oz?
State the null hypothesis and the alternate hypothesis under these conditions:
b. What is the decision rule under the new conditions stated in part (a)?
c. A second sample of 50 filled containers revealed the mean to be 16.040 oz. what is the value of the test statistic for this
sample?
d. What is your decision regarding the null hypothesis?
e. Interpret, in a single sentence, the result of the statistical test.
10-27
One-Tailed Test, Known
Step 1: State the null hypothesis and alternate hypothesis.
H0: =< 16.0
H1: > 16.0
Step 2: Select the level of significance. Here = .05
Step 3: Select the test statistic. In this question, we’ll use z
10-28
One-Tailed Test, Known
Step 4: Formulate the decision rule by first determining the critical values of z.
Decision Rule: If the computed value of z is larger than 1.65 (or 1.645), reject the null
hypothesis.
If z is smaller than 1.65, do not reject the null hypothesis.
10-29
One-Tailed Test, Known
Decision: Because 1.89 falls in the rejection region, we decide to reject H0.
10-30
The p-Value in Hypothesis Testing
p-VALUE
The probability of observing a sample value as extreme as, or more extreme than, the value
observed, given that the null hypothesis is true.
A p-value not only results in a decision about H0, but gives additional insight
about the strength of that decision
10-31
Finding a p-Value
In the previous example about desk production, the computed z was 1.547
and H0 was not rejected
Round the computed z-value to two decimal places, 1.55
Using the z-table, find the probability of finding a z-value of 1.55 or more
by .5000 - .4394 = .0606
Since this is a two-tailed test 2(.0606) = .1212
In this chart, we can easily compare the p-value with the level of significance
10-32
Self-Review 10-2
Heinz, a manufacturer of ketchup, uses a particular machine to dispense 16 ounces of its ketchup into containers. From many years of
experience with that particular dispensing machine, Heinz knows the amount of product in each container follows a normal distribution with a
mean of 16 ounces and a standard deviation of 0.15 ounce. A sample of 50 containers filled last hour revealed the mean amount per container
was 16.017 ounces. Does this evidence suggest that the mean amount dispensed is different from 16 ounces? Use the 0.05 significance level.
a. Suppose the next to the last sentence is changed to read: Does this evidence suggest that the mean amount dispensed is more than 16 oz?
State the null hypothesis and the alternate hypothesis under these conditions:
b. What is the decision rule under the new conditions stated in part (a)?
c. A second sample of 50 filled containers revealed the mean to be 16.040 oz. what is the value of the test statistic for this sample?
f. What is the p-value? What is your decision regarding the null hypothesis based on the p-value? Is this the same conclusion reached in part
(d)?
p= .5000-.4706 = .0294
= = 1.89
Decision: Because 1.89 falls in the rejection region, we decide to reject H0.
The p-value:
0.0294
Step 6: Interpret the result.
10-34
Hypothesis Testing, Unknown
When testing a hypothesis about a population mean
The test statistic of 2.818 is greater than our critical value of 1.796.
Therefore, our decision is: Reject H0