SlideShare une entreprise Scribd logo
1  sur  45
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin
One Sample Tests of Hypothesis
Chapter 10
2
GOALS
1. Define a hypothesis and hypothesis testing.
2. Describe the five-step hypothesis-testing
procedure.
3. Distinguish between a one-tailed and a two-tailed
test of hypothesis.
4. Conduct a test of hypothesis about a population
mean.
5. Conduct a test of hypothesis about a population
proportion.
6. Define Type I and Type II errors.
3
What is a Hypothesis?
A Hypothesis is a statement about the
value of a population parameter
developed for the purpose of testing.
Examples of hypotheses made about a
population parameter are:
– The mean monthly income for systems analysts is
$3,625.
– Twenty percent of all customers at Bovine’s Chop
House return for another meal within a month.
4
What is Hypothesis Testing?
Hypothesis testing is a procedure, based
on sample evidence and probability
theory, used to determine whether the
hypothesis is a reasonable statement
and should not be rejected, or is
unreasonable and should be rejected.
5
Hypothesis Testing Steps
6
Important Things to Remember about H0 and H1
 H0: null hypothesis and H1: alternate hypothesis
 H0 and H1 are mutually exclusive and collectively exhaustive
 H0 is always presumed to be true
 H1 has the burden of proof
 A random sample (n) is used to “reject H0”
 If we conclude 'do not reject H0', this does not necessarily mean
that the null hypothesis is true, it only suggests that there is not
sufficient evidence to reject H0; rejecting the null hypothesis
then, suggests that the alternative hypothesis may be true.
 Equality is always part of H0 (e.g. “=” , “≥” , “≤”).
 “≠” “<” and “>” always part of H1
7
How to Set Up a Claim as Hypothesis
 In actual practice, the status quo is set up as H0
 If the claim is “boastful” the claim is set up as H1
(we apply the Missouri rule – “show me”).
Remember, H1 has the burden of proof
 In problem solving, look for key words and
convert them into symbols. Some key words
include: “improved, better than, as effective as,
different from, has changed, etc.”
8
Left-tail or Right-tail Test?
Keywords
Inequality
Symbol
Part of:
Larger (or more) than > H1
Smaller (or less) < H1
No more than ≤ H0
At least ≥ H0
Has increased > H1
Is there difference? ≠ H1
Has not changed = H0
Has “improved”, “is better
than”. “is more effective”
See left
text
H1
• The direction of the test involving
claims that use the words “has
improved”, “is better than”, and the like
will depend upon the variable being
measured.
• For instance, if the variable involves
time for a certain medication to take
effect, the words “better” “improve” or
“more effective” are translated as “<”
(less than, i.e. faster relief).
• On the other hand, if the variable
refers to a test score, then the words
“better” “improve” or “more effective”
are translated as “>” (greater than, i.e.
higher test scores)
9
Decisions and Consequences in
Hypothesis Testing
10
Parts of a Distribution in Hypothesis Testing
11
One-tail vs. Two-tail Test
12
Hypothesis Setups for Testing a Mean (µ)
13
Hypothesis Setups for Testing a
Proportion (π)
14
Testing for a Population Mean with a
Known Population Standard Deviation- Example
Jamestown Steel Company
manufactures and assembles desks
and other office equipment at
several plants in western New York
State. The weekly production of the
Model A325 desk at the Fredonia
Plant follows the normal probability
distribution with a mean of 200 and
a standard deviation of 16.
Recently, because of market
expansion, new production
methods have been introduced and
new employees hired. The vice
president of manufacturing would
like to investigate whether there has
been a change in the weekly
production of the Model A325 desk.
Test using 0.01 significance level.
15
Testing for a Population Mean with a
Known Population Standard Deviation- Example
Step 1: State the null hypothesis and the alternate
hypothesis.
H0: µ = 200
H1: µ ≠ 200
(note: keyword in the problem “has changed” and “is
different from”)
Step 2: Select the level of significance.
α = 0.01 as stated in the problem
Step 3: Select the test statistic.
Use Z-distribution since σ is known
16
Testing for a Population Mean with a
Known Population Standard Deviation- Example
Step 4: Formulate the decision rule.
Reject H0 if |Z| > Zα/2
58.2notis55.1
50/16
2005.203
/
2/01.
2/
2/
>
>
−
>
−
>
Z
Z
n
X
ZZ
α
α
σ
µ
Step 5: Make a decision and interpret the result.
Because 1.55 does not fall in the rejection region, H0 is not
rejected. We conclude that the population mean is not different from
200. So we would report to the vice president of manufacturing that the
sample evidence does not show that the production rate at the Fredonia
Plant has changed (or is different) from 200 per week.
17
Suppose in the previous problem the vice
president wants to know whether there has
been an increase in the number of units
assembled. To put it another way, 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?
Recall: σ=16, n=50, α=.01
Testing for a Population Mean with a Known
Population Standard Deviation- Another Example
18
Testing for a Population Mean with a Known
Population Standard Deviation- Example
Step 1: State the null hypothesis and the alternate
hypothesis.
H0: µ ≤ 200
H1: µ > 200
(note: keyword in the problem “an increase”)
Step 2: Select the level of significance.
α = 0.01 as stated in the problem
Step 3: Select the test statistic.
Use Z-distribution since σ is known
19
Testing for a Population Mean with a Known
Population Standard Deviation- Example
Step 4: Formulate the decision rule.
Reject H0 if Z > Zα
Step 5: Make a decision and interpret the result.
Because 1.55 does not fall in the rejection region, H0 is not rejected.
We conclude that the average number of desks assembled in the last
50 weeks does not appear to be more than 200
20
Type of Errors in Hypothesis Testing
 Type I Error
– Defined as the probability of rejecting the null
hypothesis when it is actually true.
– This is denoted by the Greek letter “α”
– Also known as the significance level of a test
 Type II Error
– Defined as the probability of failing to reject the
null hypothesis when it is actually false.
– This is denoted by the Greek letter “β”
21
p-Value in Hypothesis Testing
 p-VALUE is the probability of observing a sample
value as extreme as, or more extreme than, the
value observed, given that the null hypothesis is true.
 In testing a hypothesis, we can also compare the p-
value to the significance level (α).
 If the p-value < significance level, H0 is rejected, else
H0 is not rejected.
22
p-Value in Hypothesis Testing - Example
Recall the last problem where the
hypothesis and decision rules
were set up as:
H0: µ ≤ 200
H1: µ > 200
Reject H0 if Z > Zα
where Z = 1.55 and Zα =2.33
Reject H0 if p-value < α
0.0606 is not < 0.01
Conclude: Fail to reject H0
23
What does it mean when p-value < α?
(a) .10, we have some evidence that H0 is not true.
(b) .05, we have strong evidence that H0 is not true.
(c) .01, we have very strong evidence that H0 is not true.
(d) .001, we have extremely strong evidence that H0 is not
true.
24
Testing for the Population Mean: Population
Standard Deviation Unknown
 When the population standard deviation (σ) is
unknown, the sample standard deviation (s) is used in
its place
 The t-distribution is used as test statistic, which is
computed using the formula:
25
Testing for the Population Mean: Population
Standard Deviation Unknown - Example
The McFarland Insurance Company Claims Department reports the
mean cost to process a claim is $60. An industry comparison
showed this amount to be larger than most other insurance
companies, so the company instituted cost-cutting measures. To
evaluate the effect of the cost-cutting measures, the Supervisor of
the Claims Department selected a random sample of 26 claims
processed last month.
At the .01 significance level is it reasonable to conclude that the
mean cost to process a claim is now less than $60?
The sample information is reported below.
26
Testing for a Population Mean with an Unknown
Population Standard Deviation- Example
Step 1: State the null hypothesis and the alternate
hypothesis.
H0: µ ≥ $60
H1: µ < $60
(note: keyword in the problem “now less than”)
Step 2: Select the level of significance.
α = 0.01 as stated in the problem
Step 3: Select the test statistic.
Use t-distribution since σ is unknown
27
t-Distribution Table (portion)
28
Testing for a Population Mean with an Unknown
Population Standard Deviation- Example
Step 5: Make a decision and interpret the result.
Because -1.818 does not fall in the rejection region, H0 is not rejected at the .
01 significance level. We have not demonstrated that the cost-cutting
measures reduced the mean cost per claim to less than $60. The difference
of $3.58 ($56.42 - $60) between the sample mean and the population mean
could be due to sampling error.
Step 4: Formulate the decision rule.
Reject H0 if t < -tα,n-1
29
Testing for the Population Mean: Population
Standard Deviation Unknown – Minitab Solution
30
The current rate for producing 5 amp fuses at Neary
Electric Co. is 250 per hour. A new machine has
been purchased and installed that, according to the
supplier, will increase the production rate. A sample
of 10 randomly selected hours from last month
revealed the mean hourly production on the new
machine was 256 units, with a sample standard
deviation of 6 per hour.
At the .05 significance level can Neary conclude that
the new machine is faster?
Testing for a Population Mean with an Unknown
Population Standard Deviation- Example 1
31
Testing for a Population Mean with an Unknown
Population Standard Deviation- Example 1 continued
Step 1: State the null and the alternate hypothesis.
H0: µ ≤ 250; H1: µ > 250
Step 2: Select the level of significance.
It is .05.
Step 3: Find a test statistic. Use the t distribution
because the population standard deviation is not
known and the sample size is less than 30.
32
Testing for a Population Mean with an Unknown
Population Standard Deviation- Example 1 continued
Step 4: State the decision rule.
There are 10 – 1 = 9 degrees of freedom. The null
hypothesis is rejected if t > 1.833.
Step 5: Make a decision and interpret the results.
The null hypothesis is rejected. The mean number produced is
more than 250 per hour.
162.3
106
250256
=
−
=
−
=
ns
X
t
µ
33
The mean length of a small counterbalance bar is 43
millimeters. The production supervisor is concerned
that the adjustments of the machine producing the
bars have changed. He asks the Engineering
Department to investigate. Engineering selects a
random sample of 12 bars and measures each. The
results are reported below in millimeters.
Is it reasonable to conclude that there has been a change in the
mean length of the bars? Use the .02 significance level.
Testing for a Population Mean with an Unknown
Population Standard Deviation- Example 2
34
Testing for a Population Mean with an Unknown
Population Standard Deviation- Example 2 continued
Step 1: State the null and the alternate hypothesis.
H0: µ = 43; H1: µ ≠ 43
Step 2: Select the level of significance.
It is .02.
Step 3: Find a test statistic. Use the t distribution
because the population standard deviation is not
known and the sample size is less than 30.
35
Testing for a Population Mean with an Unknown
Population Standard Deviation- Example 2 continued
36
Testing for a Population Mean with an Unknown
Population Standard Deviation- Example 2 continued
37
The null hypothesis that the population mean is 43 millimeters is
rejected because the computed t of -2.913 lies in the area to the left
of -2.718.
We accept the alternate hypothesis and conclude that the population
mean is not 43 millimeters. The machine is out of control and needs
adjustment.
-2.913
Testing for a Population Mean with an Unknown
Population Standard Deviation- Example 2 continued
38
Tests Concerning Proportion
 A Proportion is the fraction or percentage that indicates the part of
the population or sample having a particular trait of interest.
 The sample proportion is denoted by p and is found by x/n
 The test statistic is computed as follows:
39
Assumptions in Testing a Population Proportion
using the z-Distribution
 A random sample is chosen from the population.
 It is assumed that the binomial assumptions discussed in
Chapter 6 are met:
(1) the sample data collected are the result of counts;
(2) the outcome of an experiment is classified into one of two
mutually exclusive categories—a “success” or a “failure”;
(3) the probability of a success is the same for each trial; and
(4) the trials are independent
 The test we will conduct shortly is appropriate when both nπ
and n(1- π ) are at least 5.
 When the above conditions are met, the normal distribution can
be used as an approximation to the binomial distribution
40
Test Statistic for Testing a Single
Population Proportion
n
p
z
)1( ππ
π
−
−
=
Sample proportion
Hypothesized
population proportion
Sample size
41
Test Statistic for Testing a Single
Population Proportion - Example
Suppose prior elections in a certain state indicated
it is necessary for a candidate for governor to
receive at least 80 percent of the vote in the
northern section of the state to be elected. The
incumbent governor is interested in assessing
his chances of returning to office. A survey of
2,000 potential voters in the northern part of the
state revealed that 1,550 planned to vote for the
incumbent governor. Using the hypothesis-
testing procedure, assess the governor’s
chances of reelection.
42
Test Statistic for Testing a Single
Population Proportion - Example
Step 1: State the null hypothesis and the alternate
hypothesis.
H0: π ≥ .80
H1: π < .80
(note: keyword in the problem “at least”)
Step 2: Select the level of significance.
Test using α = 0.05
Step 3: Select the test statistic.
Use Z-distribution since the assumptions are met
and nπ and n(1-π) ≥ 5
43
Testing for a Population Proportion - Example
Step 5: Make a decision and interpret the result.
The computed value of z (-2.80) is in the rejection region, so the null hypothesis is rejected
at the .05 level. The difference of 2.5 percentage points between the sample percent (77.5
percent) and the hypothesized population percent (80) is statistically significant. The
evidence at this point does not support the claim that the incumbent governor will return to
the governor’s mansion for another four years.
Step 4: Formulate the decision rule.
Reject H0 if Z <-Zα
44
Type II Error
 Recall Type I Error, the level of significance,
denoted by the Greek letter “α”, is defined as
the probability of rejecting the null hypothesis
when it is actually true.
 Type II Error, denoted by the Greek letter “β”,is
defined as the probability of “accepting” the null
hypothesis when it is actually false.
46
End of Chapter 10

Contenu connexe

Tendances

Chapter 12
Chapter 12Chapter 12
Chapter 12
bmcfad01
 
Chapter 09
Chapter 09Chapter 09
Chapter 09
bmcfad01
 
08 test of hypothesis large sample.ppt
08 test of hypothesis large sample.ppt08 test of hypothesis large sample.ppt
08 test of hypothesis large sample.ppt
Pooja Sakhla
 
Point and Interval Estimation
Point and Interval EstimationPoint and Interval Estimation
Point and Interval Estimation
Shubham Mehta
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introduction
Geetika Gulyani
 
Chapter 04
Chapter 04Chapter 04
Chapter 04
bmcfad01
 

Tendances (20)

Chapter 12
Chapter 12Chapter 12
Chapter 12
 
Chapter 15
Chapter 15 Chapter 15
Chapter 15
 
Chapter 07
Chapter 07 Chapter 07
Chapter 07
 
Chapter 09
Chapter 09Chapter 09
Chapter 09
 
08 test of hypothesis large sample.ppt
08 test of hypothesis large sample.ppt08 test of hypothesis large sample.ppt
08 test of hypothesis large sample.ppt
 
Single sample z test - explain (final)
Single sample z test - explain (final)Single sample z test - explain (final)
Single sample z test - explain (final)
 
Point and Interval Estimation
Point and Interval EstimationPoint and Interval Estimation
Point and Interval Estimation
 
Ols
OlsOls
Ols
 
Estimating population values ppt @ bec doms
Estimating population values ppt @ bec domsEstimating population values ppt @ bec doms
Estimating population values ppt @ bec doms
 
Statistical inference concept, procedure of hypothesis testing
Statistical inference   concept, procedure of hypothesis testingStatistical inference   concept, procedure of hypothesis testing
Statistical inference concept, procedure of hypothesis testing
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introduction
 
Chapter 04
Chapter 04Chapter 04
Chapter 04
 
What is an independent samples-t test?
What is an independent samples-t test?What is an independent samples-t test?
What is an independent samples-t test?
 
Chapter 06
Chapter 06 Chapter 06
Chapter 06
 
Confidence interval
Confidence intervalConfidence interval
Confidence interval
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
6. point and interval estimation
6. point and interval estimation6. point and interval estimation
6. point and interval estimation
 
t test using spss
t test using spsst test using spss
t test using spss
 
Business Statistics Chapter 8
Business Statistics Chapter 8Business Statistics Chapter 8
Business Statistics Chapter 8
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
 

Similaire à Chapter 10

LECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.pptLECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.ppt
KEHKASHANNIZAM
 
The following calendar-year information is taken from the December.docx
The following calendar-year information is taken from the December.docxThe following calendar-year information is taken from the December.docx
The following calendar-year information is taken from the December.docx
cherry686017
 
Lecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two SampleLecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two Sample
Ahmadullah
 
Lesson05_Static11
Lesson05_Static11Lesson05_Static11
Lesson05_Static11
thangv
 
Course Project, Part IIntroduction(REMOVE THIS LINE PRIOR
Course Project, Part IIntroduction(REMOVE THIS LINE PRIOR Course Project, Part IIntroduction(REMOVE THIS LINE PRIOR
Course Project, Part IIntroduction(REMOVE THIS LINE PRIOR
CruzIbarra161
 
Hypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.pptHypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.ppt
Solomonkiplimo
 

Similaire à Chapter 10 (20)

Chapter 10
Chapter 10Chapter 10
Chapter 10
 
1667390753_Lind Chapter 10-14.pdf
1667390753_Lind Chapter 10-14.pdf1667390753_Lind Chapter 10-14.pdf
1667390753_Lind Chapter 10-14.pdf
 
Chapter 10 One sample test of hypothesis.ppt
Chapter 10 One sample test of hypothesis.pptChapter 10 One sample test of hypothesis.ppt
Chapter 10 One sample test of hypothesis.ppt
 
Chap010.ppt
Chap010.pptChap010.ppt
Chap010.ppt
 
Statr session 17 and 18
Statr session 17 and 18Statr session 17 and 18
Statr session 17 and 18
 
Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)
 
LECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.pptLECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.ppt
 
Telesidang 4 bab_8_9_10stst
Telesidang 4 bab_8_9_10ststTelesidang 4 bab_8_9_10stst
Telesidang 4 bab_8_9_10stst
 
The following calendar-year information is taken from the December.docx
The following calendar-year information is taken from the December.docxThe following calendar-year information is taken from the December.docx
The following calendar-year information is taken from the December.docx
 
IPPTCh010.pptx
IPPTCh010.pptxIPPTCh010.pptx
IPPTCh010.pptx
 
hypothesis_testing-ch9-39-14402.pdf
hypothesis_testing-ch9-39-14402.pdfhypothesis_testing-ch9-39-14402.pdf
hypothesis_testing-ch9-39-14402.pdf
 
8. testing of hypothesis for variable &amp; attribute data
8. testing of hypothesis for variable &amp; attribute  data8. testing of hypothesis for variable &amp; attribute  data
8. testing of hypothesis for variable &amp; attribute data
 
Lecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two SampleLecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two Sample
 
Lesson05_Static11
Lesson05_Static11Lesson05_Static11
Lesson05_Static11
 
Course Project, Part IIntroduction(REMOVE THIS LINE PRIOR
Course Project, Part IIntroduction(REMOVE THIS LINE PRIOR Course Project, Part IIntroduction(REMOVE THIS LINE PRIOR
Course Project, Part IIntroduction(REMOVE THIS LINE PRIOR
 
Testing of hypothesis - large sample test
Testing of hypothesis - large sample testTesting of hypothesis - large sample test
Testing of hypothesis - large sample test
 
Hypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.pptHypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.ppt
 
Decision analysis
Decision analysisDecision analysis
Decision analysis
 
Decision analysis
Decision analysisDecision analysis
Decision analysis
 
Decision analysis
Decision analysisDecision analysis
Decision analysis
 

Plus de Tuul Tuul

Plus de Tuul Tuul (20)

2019 12etses
2019 12etses2019 12etses
2019 12etses
 
2018 12etses
2018 12etses2018 12etses
2018 12etses
 
2017 12etses
2017 12etses2017 12etses
2017 12etses
 
2016 12etses
2016 12etses2016 12etses
2016 12etses
 
Jishee
JisheeJishee
Jishee
 
Bbs11 ppt ch19
Bbs11 ppt ch19Bbs11 ppt ch19
Bbs11 ppt ch19
 
Bbs11 ppt ch17
Bbs11 ppt ch17Bbs11 ppt ch17
Bbs11 ppt ch17
 
Bbs11 ppt ch16
Bbs11 ppt ch16Bbs11 ppt ch16
Bbs11 ppt ch16
 
Bbs11 ppt ch14
Bbs11 ppt ch14Bbs11 ppt ch14
Bbs11 ppt ch14
 
Bbs11 ppt ch13
Bbs11 ppt ch13Bbs11 ppt ch13
Bbs11 ppt ch13
 
Bbs11 ppt ch12
Bbs11 ppt ch12Bbs11 ppt ch12
Bbs11 ppt ch12
 
Bbs11 ppt ch11
Bbs11 ppt ch11Bbs11 ppt ch11
Bbs11 ppt ch11
 
Bbs11 ppt ch10
Bbs11 ppt ch10Bbs11 ppt ch10
Bbs11 ppt ch10
 
Bbs11 ppt ch08
Bbs11 ppt ch08Bbs11 ppt ch08
Bbs11 ppt ch08
 
Bbs11 ppt ch07
Bbs11 ppt ch07Bbs11 ppt ch07
Bbs11 ppt ch07
 
Bbs11 ppt ch06
Bbs11 ppt ch06Bbs11 ppt ch06
Bbs11 ppt ch06
 
Bbs11 ppt ch05
Bbs11 ppt ch05Bbs11 ppt ch05
Bbs11 ppt ch05
 
Bbs11 ppt ch04
Bbs11 ppt ch04Bbs11 ppt ch04
Bbs11 ppt ch04
 
Bbs11 ppt ch03
Bbs11 ppt ch03Bbs11 ppt ch03
Bbs11 ppt ch03
 
Bbs11 ppt ch02
Bbs11 ppt ch02Bbs11 ppt ch02
Bbs11 ppt ch02
 

Dernier

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Dernier (20)

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 

Chapter 10

  • 1. ©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin One Sample Tests of Hypothesis Chapter 10
  • 2. 2 GOALS 1. Define a hypothesis and hypothesis testing. 2. Describe the five-step hypothesis-testing procedure. 3. Distinguish between a one-tailed and a two-tailed test of hypothesis. 4. Conduct a test of hypothesis about a population mean. 5. Conduct a test of hypothesis about a population proportion. 6. Define Type I and Type II errors.
  • 3. 3 What is a Hypothesis? A Hypothesis is a statement about the value of a population parameter developed for the purpose of testing. Examples of hypotheses made about a population parameter are: – The mean monthly income for systems analysts is $3,625. – Twenty percent of all customers at Bovine’s Chop House return for another meal within a month.
  • 4. 4 What is Hypothesis Testing? Hypothesis testing is a procedure, based on sample evidence and probability theory, used to determine whether the hypothesis is a reasonable statement and should not be rejected, or is unreasonable and should be rejected.
  • 6. 6 Important Things to Remember about H0 and H1  H0: null hypothesis and H1: alternate hypothesis  H0 and H1 are mutually exclusive and collectively exhaustive  H0 is always presumed to be true  H1 has the burden of proof  A random sample (n) is used to “reject H0”  If we conclude 'do not reject H0', this does not necessarily mean that the null hypothesis is true, it only suggests that there is not sufficient evidence to reject H0; rejecting the null hypothesis then, suggests that the alternative hypothesis may be true.  Equality is always part of H0 (e.g. “=” , “≥” , “≤”).  “≠” “<” and “>” always part of H1
  • 7. 7 How to Set Up a Claim as Hypothesis  In actual practice, the status quo is set up as H0  If the claim is “boastful” the claim is set up as H1 (we apply the Missouri rule – “show me”). Remember, H1 has the burden of proof  In problem solving, look for key words and convert them into symbols. Some key words include: “improved, better than, as effective as, different from, has changed, etc.”
  • 8. 8 Left-tail or Right-tail Test? Keywords Inequality Symbol Part of: Larger (or more) than > H1 Smaller (or less) < H1 No more than ≤ H0 At least ≥ H0 Has increased > H1 Is there difference? ≠ H1 Has not changed = H0 Has “improved”, “is better than”. “is more effective” See left text H1 • The direction of the test involving claims that use the words “has improved”, “is better than”, and the like will depend upon the variable being measured. • For instance, if the variable involves time for a certain medication to take effect, the words “better” “improve” or “more effective” are translated as “<” (less than, i.e. faster relief). • On the other hand, if the variable refers to a test score, then the words “better” “improve” or “more effective” are translated as “>” (greater than, i.e. higher test scores)
  • 9. 9 Decisions and Consequences in Hypothesis Testing
  • 10. 10 Parts of a Distribution in Hypothesis Testing
  • 12. 12 Hypothesis Setups for Testing a Mean (µ)
  • 13. 13 Hypothesis Setups for Testing a Proportion (π)
  • 14. 14 Testing for a Population Mean with a Known Population Standard Deviation- Example Jamestown Steel Company manufactures and assembles desks and other office equipment at several plants in western New York State. The weekly production of the Model A325 desk at the Fredonia Plant follows the normal probability distribution with a mean of 200 and a standard deviation of 16. Recently, because of market expansion, new production methods have been introduced and new employees hired. The vice president of manufacturing would like to investigate whether there has been a change in the weekly production of the Model A325 desk. Test using 0.01 significance level.
  • 15. 15 Testing for a Population Mean with a Known Population Standard Deviation- Example Step 1: State the null hypothesis and the alternate hypothesis. H0: µ = 200 H1: µ ≠ 200 (note: keyword in the problem “has changed” and “is different from”) Step 2: Select the level of significance. α = 0.01 as stated in the problem Step 3: Select the test statistic. Use Z-distribution since σ is known
  • 16. 16 Testing for a Population Mean with a Known Population Standard Deviation- Example Step 4: Formulate the decision rule. Reject H0 if |Z| > Zα/2 58.2notis55.1 50/16 2005.203 / 2/01. 2/ 2/ > > − > − > Z Z n X ZZ α α σ µ Step 5: Make a decision and interpret the result. Because 1.55 does not fall in the rejection region, H0 is not rejected. We conclude that the population mean is not different from 200. So we would report to the vice president of manufacturing that the sample evidence does not show that the production rate at the Fredonia Plant has changed (or is different) from 200 per week.
  • 17. 17 Suppose in the previous problem the vice president wants to know whether there has been an increase in the number of units assembled. To put it another way, 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? Recall: σ=16, n=50, α=.01 Testing for a Population Mean with a Known Population Standard Deviation- Another Example
  • 18. 18 Testing for a Population Mean with a Known Population Standard Deviation- Example Step 1: State the null hypothesis and the alternate hypothesis. H0: µ ≤ 200 H1: µ > 200 (note: keyword in the problem “an increase”) Step 2: Select the level of significance. α = 0.01 as stated in the problem Step 3: Select the test statistic. Use Z-distribution since σ is known
  • 19. 19 Testing for a Population Mean with a Known Population Standard Deviation- Example Step 4: Formulate the decision rule. Reject H0 if Z > Zα Step 5: Make a decision and interpret the result. Because 1.55 does not fall in the rejection region, H0 is not rejected. We conclude that the average number of desks assembled in the last 50 weeks does not appear to be more than 200
  • 20. 20 Type of Errors in Hypothesis Testing  Type I Error – Defined as the probability of rejecting the null hypothesis when it is actually true. – This is denoted by the Greek letter “α” – Also known as the significance level of a test  Type II Error – Defined as the probability of failing to reject the null hypothesis when it is actually false. – This is denoted by the Greek letter “β”
  • 21. 21 p-Value in Hypothesis Testing  p-VALUE is the probability of observing a sample value as extreme as, or more extreme than, the value observed, given that the null hypothesis is true.  In testing a hypothesis, we can also compare the p- value to the significance level (α).  If the p-value < significance level, H0 is rejected, else H0 is not rejected.
  • 22. 22 p-Value in Hypothesis Testing - Example Recall the last problem where the hypothesis and decision rules were set up as: H0: µ ≤ 200 H1: µ > 200 Reject H0 if Z > Zα where Z = 1.55 and Zα =2.33 Reject H0 if p-value < α 0.0606 is not < 0.01 Conclude: Fail to reject H0
  • 23. 23 What does it mean when p-value < α? (a) .10, we have some evidence that H0 is not true. (b) .05, we have strong evidence that H0 is not true. (c) .01, we have very strong evidence that H0 is not true. (d) .001, we have extremely strong evidence that H0 is not true.
  • 24. 24 Testing for the Population Mean: Population Standard Deviation Unknown  When the population standard deviation (σ) is unknown, the sample standard deviation (s) is used in its place  The t-distribution is used as test statistic, which is computed using the formula:
  • 25. 25 Testing for the Population Mean: Population Standard Deviation Unknown - Example The McFarland Insurance Company Claims Department reports the mean cost to process a claim is $60. An industry comparison showed this amount to be larger than most other insurance companies, so the company instituted cost-cutting measures. To evaluate the effect of the cost-cutting measures, the Supervisor of the Claims Department selected a random sample of 26 claims processed last month. At the .01 significance level is it reasonable to conclude that the mean cost to process a claim is now less than $60? The sample information is reported below.
  • 26. 26 Testing for a Population Mean with an Unknown Population Standard Deviation- Example Step 1: State the null hypothesis and the alternate hypothesis. H0: µ ≥ $60 H1: µ < $60 (note: keyword in the problem “now less than”) Step 2: Select the level of significance. α = 0.01 as stated in the problem Step 3: Select the test statistic. Use t-distribution since σ is unknown
  • 28. 28 Testing for a Population Mean with an Unknown Population Standard Deviation- Example Step 5: Make a decision and interpret the result. Because -1.818 does not fall in the rejection region, H0 is not rejected at the . 01 significance level. We have not demonstrated that the cost-cutting measures reduced the mean cost per claim to less than $60. The difference of $3.58 ($56.42 - $60) between the sample mean and the population mean could be due to sampling error. Step 4: Formulate the decision rule. Reject H0 if t < -tα,n-1
  • 29. 29 Testing for the Population Mean: Population Standard Deviation Unknown – Minitab Solution
  • 30. 30 The current rate for producing 5 amp fuses at Neary Electric Co. is 250 per hour. A new machine has been purchased and installed that, according to the supplier, will increase the production rate. A sample of 10 randomly selected hours from last month revealed the mean hourly production on the new machine was 256 units, with a sample standard deviation of 6 per hour. At the .05 significance level can Neary conclude that the new machine is faster? Testing for a Population Mean with an Unknown Population Standard Deviation- Example 1
  • 31. 31 Testing for a Population Mean with an Unknown Population Standard Deviation- Example 1 continued Step 1: State the null and the alternate hypothesis. H0: µ ≤ 250; H1: µ > 250 Step 2: Select the level of significance. It is .05. Step 3: Find a test statistic. Use the t distribution because the population standard deviation is not known and the sample size is less than 30.
  • 32. 32 Testing for a Population Mean with an Unknown Population Standard Deviation- Example 1 continued Step 4: State the decision rule. There are 10 – 1 = 9 degrees of freedom. The null hypothesis is rejected if t > 1.833. Step 5: Make a decision and interpret the results. The null hypothesis is rejected. The mean number produced is more than 250 per hour. 162.3 106 250256 = − = − = ns X t µ
  • 33. 33 The mean length of a small counterbalance bar is 43 millimeters. The production supervisor is concerned that the adjustments of the machine producing the bars have changed. He asks the Engineering Department to investigate. Engineering selects a random sample of 12 bars and measures each. The results are reported below in millimeters. Is it reasonable to conclude that there has been a change in the mean length of the bars? Use the .02 significance level. Testing for a Population Mean with an Unknown Population Standard Deviation- Example 2
  • 34. 34 Testing for a Population Mean with an Unknown Population Standard Deviation- Example 2 continued Step 1: State the null and the alternate hypothesis. H0: µ = 43; H1: µ ≠ 43 Step 2: Select the level of significance. It is .02. Step 3: Find a test statistic. Use the t distribution because the population standard deviation is not known and the sample size is less than 30.
  • 35. 35 Testing for a Population Mean with an Unknown Population Standard Deviation- Example 2 continued
  • 36. 36 Testing for a Population Mean with an Unknown Population Standard Deviation- Example 2 continued
  • 37. 37 The null hypothesis that the population mean is 43 millimeters is rejected because the computed t of -2.913 lies in the area to the left of -2.718. We accept the alternate hypothesis and conclude that the population mean is not 43 millimeters. The machine is out of control and needs adjustment. -2.913 Testing for a Population Mean with an Unknown Population Standard Deviation- Example 2 continued
  • 38. 38 Tests Concerning Proportion  A Proportion is the fraction or percentage that indicates the part of the population or sample having a particular trait of interest.  The sample proportion is denoted by p and is found by x/n  The test statistic is computed as follows:
  • 39. 39 Assumptions in Testing a Population Proportion using the z-Distribution  A random sample is chosen from the population.  It is assumed that the binomial assumptions discussed in Chapter 6 are met: (1) the sample data collected are the result of counts; (2) the outcome of an experiment is classified into one of two mutually exclusive categories—a “success” or a “failure”; (3) the probability of a success is the same for each trial; and (4) the trials are independent  The test we will conduct shortly is appropriate when both nπ and n(1- π ) are at least 5.  When the above conditions are met, the normal distribution can be used as an approximation to the binomial distribution
  • 40. 40 Test Statistic for Testing a Single Population Proportion n p z )1( ππ π − − = Sample proportion Hypothesized population proportion Sample size
  • 41. 41 Test Statistic for Testing a Single Population Proportion - Example Suppose prior elections in a certain state indicated it is necessary for a candidate for governor to receive at least 80 percent of the vote in the northern section of the state to be elected. The incumbent governor is interested in assessing his chances of returning to office. A survey of 2,000 potential voters in the northern part of the state revealed that 1,550 planned to vote for the incumbent governor. Using the hypothesis- testing procedure, assess the governor’s chances of reelection.
  • 42. 42 Test Statistic for Testing a Single Population Proportion - Example Step 1: State the null hypothesis and the alternate hypothesis. H0: π ≥ .80 H1: π < .80 (note: keyword in the problem “at least”) Step 2: Select the level of significance. Test using α = 0.05 Step 3: Select the test statistic. Use Z-distribution since the assumptions are met and nπ and n(1-π) ≥ 5
  • 43. 43 Testing for a Population Proportion - Example Step 5: Make a decision and interpret the result. The computed value of z (-2.80) is in the rejection region, so the null hypothesis is rejected at the .05 level. The difference of 2.5 percentage points between the sample percent (77.5 percent) and the hypothesized population percent (80) is statistically significant. The evidence at this point does not support the claim that the incumbent governor will return to the governor’s mansion for another four years. Step 4: Formulate the decision rule. Reject H0 if Z <-Zα
  • 44. 44 Type II Error  Recall Type I Error, the level of significance, denoted by the Greek letter “α”, is defined as the probability of rejecting the null hypothesis when it is actually true.  Type II Error, denoted by the Greek letter “β”,is defined as the probability of “accepting” the null hypothesis when it is actually false.