SlideShare a Scribd company logo
Hypothesis Testing
Z Test
By
Khem Raj Subedi
Associate Professor
Tikapur Multiple Campus
Learning Objectives
• Understand the logic of hypothesis testing,
and know how to establish null and alternate
hypotheses.
• Understand Type I and Type II errors.
• Use large samples to test hypotheses about a
single population mean and about a single
population proportion.
• Test hypotheses about a single population
mean using small samples when σ is
unknown and the population is normally
distributed.
Method of Indirect Proof
X
X
YEither X or Y is true but not both
X is demonstrated not to be true Y
YY is true by default
Hypothesis Testing
A process of testing hypotheses about
parameters by setting up null and
alternative hypotheses, gathering
sample data, computing statistics from
the samples, and using statistical
techniques to reach conclusions about
the hypotheses.
Steps in Testing Hypotheses
1. Establish hypotheses: state the null and
alternative hypotheses.
2. Determine the appropriate statistical test
and sampling distribution.
3. Specify the Type I error rate (α).
4. State the decision rule.
5. Gather sample data.
6. Calculate the value of the test statistic.
7. State the statistical conclusion.
8. Make a managerial decision.
Null and Alternative Hypotheses
• The Null and Alternative Hypotheses are
mutually exclusive. Only one of them can
be true.
• The Null and Alternative Hypotheses are
collectively exhaustive. They are stated to
include all possibilities. (An abbreviated
form of the null hypothesis is often used.)
• The Null Hypothesis is assumed to be true.
• The burden of proof falls on the Alternative
Hypothesis.
Null and Alternative
Hypotheses: Example
• A soft drink company is filling 12 oz.
cans with cola.
• The company hopes that the cans are
averaging 12 ounces.
H oz
H oz
o
a
:
:
µ
µ
=
≠
12
12
Rejection and Nonrejection Regions
µ=12 oz
Nonrejection Region
Rejection Region
Critical Value
Rejection Region
Critical Value
Type I and Type II Errors
• Type I Error
– Rejecting a true null hypothesis
– The probability of committing a Type I error
is called α, the level of significance.
• Type II Error
– Failing to reject a false null hypothesis
– The probability of committing a Type II
error is called β.
– Power is the probability of rejecting a false
null hypothesis, and equal to 1- β.
Decision Table
for Hypothesis Testing
(
( )
Null True Null False
Fail to
reject null
Correct
Decision
Type II error
β)
Reject null Type I error
α
Correct Decision
(Power)
• One-tailed Tests
One-tailed and Two-tailed Tests
H
H
o
a
:
:
µ
µ
≥
<
12
12
H
H
o
a
:
:
µ
µ
≤
>
12
12
H
H
o
a
:
:
µ
µ
=
≠
12
12
• Two-tailed Test
One-tailed Tests
H
H
o
a
:
:
µ
µ
≥
<
12
12
H
H
o
a
:
:
µ
µ
≤
>
12
12
µ=12 oz
Rejection Region
Nonrejection Region
Critical Value
µ=12 oz
Rejection Region
Nonrejection Region
Critical Value
Two-tailed Tests
H
H
o
a
:
:
µ
µ
=
≠
12
12
µ=12 oz
Rejection
Region
Nonrejection Region
Critical Values
Rejection
Region
CPA Net Income Example:
Two-tailed Test
914,74$:H
914,74$:Ho
≠
=
µ
µ
a
If reject H .
If do not reject H .
o
o
Z Z
Z Z
c
c
> =
≤ =
196
196
. ,
. ,
78,646 74,914
2.75
14,530
112
X
Z
n
µ
σ
− −
= = =
c oZ = 2.75 Z = 1.96, reject H≥
Rejection
Region
Nonrejection Region
Ζ=0
Zc = 196.
Rejection
Region
Zc = −196.
α
2
025=.α
2
025=.
CPA Net Income Example:
Critical Value Method (Part 1)
Upper
nc cX Z= +
= +
=
µ
σ
74 914 196
14 530
112
77 605
, .
,
,
H
H
o
a
: $74,
: $74,
µ
µ
=
≠
914
914
Lower
nc cX Z= −
= −
=
µ
σ
74 914 196
14 530
112
72 223
, .
,
,
Rejection
Region
Nonrejection Region
Ζ=0 Zc = 196.
Rejection
Region
Zc = −196.
α
2
025=.α
2
025=.
72,223 77,605
CPA Net Income Example:
Critical Value Method (Part 2)
If X or X reject H .
If 77,223 X do not reject H .
o
o
< >
≤ ≤
77 223 77 605
77 605
, , ,
, ,
Since X reject H .o= > =78 646 77 605, , ,cX
Rejection
Region
Nonrejection Region
Ζ=0 Zc = 196.
Rejection
Region
Zc = −196.
α
2
025=.α
2
025=.
72,223 77,605
Demonstration Problem (Part 1)
30.4:H
30.4:H
a
o
<
=
µ
µ
Rejection
Region
Nonrejection Region
0
α=.05
Zc = −1645.
If reject H .
If , do not reject H .
0
0
Z .
Z .
< −
≥ −
1645
1645
,
Z
X
s
n
=
−
=
−
= −
µ 4156 4 30
0574
32
142
. .
.
.
,
do not reject H .0
Z .= − ≥ −142 1645.
Demonstration Problem (Part 2)
H
H
o
a
: .
: .
µ
µ
=
<
4 30
4 30
Rejection
Region
Nonrejection Region
0
α=.05
Zc = −1645.
cx = 4133. 4.30
If reject H .
If , do not reject H .
0
0
X
X
<
≥
4133
4133
. ,
.
cX Z
s
n
= +
= + −
=
µ
4 30 1645
0574
32
4133
. ( . )
.
.
, do not reject H .0X = ≥4156 4133. .
Rejection
Region
Nonrejection Region
0
α=.05
Demonstration Problem (Part 3)
H
H
o
a
: .
: .
µ
µ
=
<
4 30
4 30
If p - value < , reject H .
If p - value , do not reject H .
o
o
α
α≥
Since p-value = .0778 > = .05,
do not reject H .o
α
Z
X
s
n
P Z
=
−
=
−
= −
< − =
µ 4156 4 30
0574
32
142
142 0778
. .
.
.
( . ) .
Two-tailed Test: Small Sample,
σ Unknown, α = .05 (Part 1)
Weights in Pounds of a Sample of 20 Plates
22.6 22.2 23.2 27.4 24.5
27.0 26.6 28.1 26.9 24.9
26.2 25.3 23.1 24.2 26.1
25.8 30.4 28.6 23.5 23.6
X = 2551. , S = 2.1933, and n = 20
Two-tailed Test: Small Sample,
σ Unknown, α = .05 (Part 2)
Critical Values
Nonrejection Region
Rejection Regions
ct = −2 093. ct = 2 093.
α
2
025=.
α
2
025=.
H
H
o
a
:
:
µ
µ
=
≠
25
25
df n= − =1 19
Two-tailed Test: Small Sample,
σ Unknown, α = .05 (Part 3)
t
X
S
n
=
−
=
−
=
µ 2551 250
21933
20
104
. .
.
.
Since t do not reject H .o= ≤104 2 093. . ,Critical Values
Non Rejection Region
Rejection Regions
ct = −2 093. ct = 2 093.
α
2
025=.
α
2
025=.
If t reject H .
If t do not reject H .
o
o
>
≤
2 093
2 093
. ,
. ,
Demonstration Problem (Part 1)
Size in Acres of 23 Farms
445 489 474 505 553 477 545
463 466 557 502 449 438 500
466 477 557 433 545 511 590
561 560
23=and46.94,=,78.498 nSX =
Demonstration Problem (Part 2)
471:
471:
>
=
µ
µ
a
o
H
H
df n= − =1 22
Critical Value
Nonrejection Region
Rejection Region
ct = 1717.
α =.05
Demonstration Problem (Part 3)
If t reject H .
If t do not reject H .
o
o
>
≤
1717
1717
. ,
. ,
84.2
23
94.46
47178.498
=
−
=
−
=
n
S
X
t
µ
.Hreject,717.184.2tSince o>=
Critical Value
Nonrejection Region
Rejection Region
ct = 1717.
α =.05
Z Test of Population Proportion
Z
p P
P Q
n
where
=
−
⋅

: p = sample proportion
P = population proportion
Q = 1 - P
n P
n Q
⋅ ≥
⋅ ≥
5
5
, and
Testing Hypotheses about a
Proportion: Manufacturer Example
(Part 1)
08.:H
08.:H
a
o
≠
=
P
P
cZ = 1645.
Critical Values
Nonrejection Region
Rejection Regions
cZ = −1645.
α
2
05=.
α
2
05=.
Testing Hypotheses about a
Proportion: Manufacturer Example
(Part 2)
 .
 . .
(. )(. )
.
p
Z
p P
P Q
n
= =
=
−
⋅
=
−
=
33
200
165
165 08
08 92
200
4 43
If Z reject H .
If Z do not reject H .
o
o
>
≤
1645
1645
. ,
. ,
Since Z reject H .o= >4 43 1645. . ,
cZ = 1645.
Critical Values
Nonrejection Region
Rejection Regions
cZ = −1645.
α
2
05=.
α
2
05=.
Demonstration Problem (Part 1)
H P
H P
o
a
: .
: .
=
>
17
17
Critical Value
Nonrejection Region
Rejection Region
cZ = 1645.
α =.05
Demonstration Problem (Part 2)
 .
 . .
(. )(. )
.
p
Z
p P
P Q
n
= =
=
−
⋅
=
−
=
115
550
209
209 17
17 83
550
2 44
If reject H .
If do not reject H .
o
o
Z
Z
>
≤
1645
1645
. ,
. ,
Since Z = 2.44 reject H .o> 1645. ,Critical Value
Nonrejection Region
Rejection Region
cZ = 1645.
α =.05

More Related Content

What's hot

Z-test
Z-testZ-test
Z-test
femymoni
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
Muhammadasif909
 
Chi-square distribution
Chi-square distribution Chi-square distribution
Chi-square distribution
Habibullah Bahar University College
 
PROCEDURE FOR TESTING HYPOTHESIS
PROCEDURE FOR   TESTING HYPOTHESIS PROCEDURE FOR   TESTING HYPOTHESIS
PROCEDURE FOR TESTING HYPOTHESIS
Sundar B N
 
Chi -square test
Chi -square testChi -square test
Chi -square test
VIVEK KUMAR SINGH
 
Test of significance
Test of significanceTest of significance
Test of significance
Dr Bushra Jabeen
 
Parametric and nonparametric test
Parametric and nonparametric testParametric and nonparametric test
Parametric and nonparametric test
ponnienselvi
 
Point Estimation
Point Estimation Point Estimation
Confidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overviewConfidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overview
Rizwan S A
 
Confidence Intervals
Confidence IntervalsConfidence Intervals
Confidence Intervals
mandalina landy
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testing
jundumaug1
 
The Standard Normal Distribution
The Standard Normal Distribution  The Standard Normal Distribution
The Standard Normal Distribution
Long Beach City College
 
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 sampling distribution
The sampling distributionThe sampling distribution
The sampling distribution
Harve Abella
 
Hypothesis
HypothesisHypothesis
Hypothesis
Nilanjan Bhaumik
 
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
AmitaChaudhary19
 
Chi square test
Chi square testChi square test
Chi square test
Nayna Azad
 
Simple random sampling
Simple random samplingSimple random sampling
Simple random sampling
suncil0071
 
hypothesis testing
hypothesis testinghypothesis testing
hypothesis testing
ilona50
 
Normal Distribution.pptx
Normal Distribution.pptxNormal Distribution.pptx
Normal Distribution.pptx
Ravindra Nath Shukla
 

What's hot (20)

Z-test
Z-testZ-test
Z-test
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Chi-square distribution
Chi-square distribution Chi-square distribution
Chi-square distribution
 
PROCEDURE FOR TESTING HYPOTHESIS
PROCEDURE FOR   TESTING HYPOTHESIS PROCEDURE FOR   TESTING HYPOTHESIS
PROCEDURE FOR TESTING HYPOTHESIS
 
Chi -square test
Chi -square testChi -square test
Chi -square test
 
Test of significance
Test of significanceTest of significance
Test of significance
 
Parametric and nonparametric test
Parametric and nonparametric testParametric and nonparametric test
Parametric and nonparametric test
 
Point Estimation
Point Estimation Point Estimation
Point Estimation
 
Confidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overviewConfidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overview
 
Confidence Intervals
Confidence IntervalsConfidence Intervals
Confidence Intervals
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testing
 
The Standard Normal Distribution
The Standard Normal Distribution  The Standard Normal Distribution
The Standard Normal Distribution
 
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
 
The sampling distribution
The sampling distributionThe sampling distribution
The sampling distribution
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
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
 
Chi square test
Chi square testChi square test
Chi square test
 
Simple random sampling
Simple random samplingSimple random sampling
Simple random sampling
 
hypothesis testing
hypothesis testinghypothesis testing
hypothesis testing
 
Normal Distribution.pptx
Normal Distribution.pptxNormal Distribution.pptx
Normal Distribution.pptx
 

Similar to Hypothesis Testing

Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
ShaikhSaifullahKhali
 
2. z-test for mean.pdf
2. z-test for mean.pdf2. z-test for mean.pdf
2. z-test for mean.pdf
AyshaKhan253610
 
Lesson05_Static11
Lesson05_Static11Lesson05_Static11
Lesson05_Static11
thangv
 
Introduction to hypothesis testing ppt @ bec doms
Introduction to hypothesis testing ppt @ bec domsIntroduction to hypothesis testing ppt @ bec doms
Introduction to hypothesis testing ppt @ bec doms
Babasab Patil
 
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populationsSolution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
Long Beach City College
 
Hypothesis testing part ii for single mean
Hypothesis testing part ii for single meanHypothesis testing part ii for single mean
Hypothesis testing part ii for single mean
Nadeem Uddin
 
Lesson05_new
Lesson05_newLesson05_new
Lesson05_new
shengvn
 
S05 ad4001
S05 ad4001S05 ad4001
S05 ad4001
Jorge Ramírez
 
[The following information applies to the questions displayed belo.docx
[The following information applies to the questions displayed belo.docx[The following information applies to the questions displayed belo.docx
[The following information applies to the questions displayed belo.docx
danielfoster65629
 
STATISTICS_II_with_MATHEMATICA_Lecture_NotesTopics.pdf
STATISTICS_II_with_MATHEMATICA_Lecture_NotesTopics.pdfSTATISTICS_II_with_MATHEMATICA_Lecture_NotesTopics.pdf
STATISTICS_II_with_MATHEMATICA_Lecture_NotesTopics.pdf
BahauddinBaloch3
 
Statr session 17 and 18
Statr session 17 and 18Statr session 17 and 18
Statr session 17 and 18
Ruru Chowdhury
 
Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)
Ruru Chowdhury
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
Kent Kawashima
 
Testing a claim about a standard deviation or variance
Testing a claim about a standard deviation or variance  Testing a claim about a standard deviation or variance
Testing a claim about a standard deviation or variance
Long Beach City College
 
Hypothesis
HypothesisHypothesis
Hypothesis
BabulShaikh1
 
Testing a Claim About a Standard Deviation or Variance
Testing a Claim About a Standard Deviation or VarianceTesting a Claim About a Standard Deviation or Variance
Testing a Claim About a Standard Deviation or Variance
Long Beach City College
 
Mech ma6452 snm_notes
Mech ma6452 snm_notesMech ma6452 snm_notes
FEC 512.05
FEC 512.05FEC 512.05
FEC 512.05
Orhan Erdem
 
Chapter 5.pptx
Chapter 5.pptxChapter 5.pptx
Chapter 5.pptx
AamirAdeeb2
 
C2 st lecture 13 revision for test b handout
C2 st lecture 13   revision for test b handoutC2 st lecture 13   revision for test b handout
C2 st lecture 13 revision for test b handout
fatima d
 

Similar to Hypothesis Testing (20)

Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
2. z-test for mean.pdf
2. z-test for mean.pdf2. z-test for mean.pdf
2. z-test for mean.pdf
 
Lesson05_Static11
Lesson05_Static11Lesson05_Static11
Lesson05_Static11
 
Introduction to hypothesis testing ppt @ bec doms
Introduction to hypothesis testing ppt @ bec domsIntroduction to hypothesis testing ppt @ bec doms
Introduction to hypothesis testing ppt @ bec doms
 
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populationsSolution to the practice test ch 8 hypothesis testing ch 9 two populations
Solution to the practice test ch 8 hypothesis testing ch 9 two populations
 
Hypothesis testing part ii for single mean
Hypothesis testing part ii for single meanHypothesis testing part ii for single mean
Hypothesis testing part ii for single mean
 
Lesson05_new
Lesson05_newLesson05_new
Lesson05_new
 
S05 ad4001
S05 ad4001S05 ad4001
S05 ad4001
 
[The following information applies to the questions displayed belo.docx
[The following information applies to the questions displayed belo.docx[The following information applies to the questions displayed belo.docx
[The following information applies to the questions displayed belo.docx
 
STATISTICS_II_with_MATHEMATICA_Lecture_NotesTopics.pdf
STATISTICS_II_with_MATHEMATICA_Lecture_NotesTopics.pdfSTATISTICS_II_with_MATHEMATICA_Lecture_NotesTopics.pdf
STATISTICS_II_with_MATHEMATICA_Lecture_NotesTopics.pdf
 
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)
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Testing a claim about a standard deviation or variance
Testing a claim about a standard deviation or variance  Testing a claim about a standard deviation or variance
Testing a claim about a standard deviation or variance
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Testing a Claim About a Standard Deviation or Variance
Testing a Claim About a Standard Deviation or VarianceTesting a Claim About a Standard Deviation or Variance
Testing a Claim About a Standard Deviation or Variance
 
Mech ma6452 snm_notes
Mech ma6452 snm_notesMech ma6452 snm_notes
Mech ma6452 snm_notes
 
FEC 512.05
FEC 512.05FEC 512.05
FEC 512.05
 
Chapter 5.pptx
Chapter 5.pptxChapter 5.pptx
Chapter 5.pptx
 
C2 st lecture 13 revision for test b handout
C2 st lecture 13   revision for test b handoutC2 st lecture 13   revision for test b handout
C2 st lecture 13 revision for test b handout
 

More from Khemraj Subedi

Emotion in Psychological Perpectives.pdf
Emotion in Psychological Perpectives.pdfEmotion in Psychological Perpectives.pdf
Emotion in Psychological Perpectives.pdf
Khemraj Subedi
 
Motivation in Psychological Perspective.pdf
Motivation in Psychological Perspective.pdfMotivation in Psychological Perspective.pdf
Motivation in Psychological Perspective.pdf
Khemraj Subedi
 
Observational Learning Theory and Its Application.pdf
Observational Learning Theory and Its Application.pdfObservational Learning Theory and Its Application.pdf
Observational Learning Theory and Its Application.pdf
Khemraj Subedi
 
Learning in Psychological Perspectives.pdf
Learning in Psychological Perspectives.pdfLearning in Psychological Perspectives.pdf
Learning in Psychological Perspectives.pdf
Khemraj Subedi
 
Sampling Technique and Sample Size Determination
Sampling Technique and Sample Size Determination Sampling Technique and Sample Size Determination
Sampling Technique and Sample Size Determination
Khemraj Subedi
 
Role of Government in Market
Role of Government in MarketRole of Government in Market
Role of Government in Market
Khemraj Subedi
 
General Equilibrium IS-LM Framework for Macroeconomic Analysis
General Equilibrium IS-LM Framework for Macroeconomic AnalysisGeneral Equilibrium IS-LM Framework for Macroeconomic Analysis
General Equilibrium IS-LM Framework for Macroeconomic Analysis
Khemraj Subedi
 
Meaning and Definition of Research
Meaning and Definition of ResearchMeaning and Definition of Research
Meaning and Definition of Research
Khemraj Subedi
 
Redistribution with growth
Redistribution with growthRedistribution with growth
Redistribution with growth
Khemraj Subedi
 
Alternatve Approach to Rural Development
Alternatve Approach to Rural DevelopmentAlternatve Approach to Rural Development
Alternatve Approach to Rural Development
Khemraj Subedi
 
Business Cycle in nepali version
 Business Cycle in nepali version Business Cycle in nepali version
Business Cycle in nepali version
Khemraj Subedi
 
Rural Livelihood Approach
Rural Livelihood ApproachRural Livelihood Approach
Rural Livelihood Approach
Khemraj Subedi
 
Participatory Approach (PA)
Participatory Approach (PA)Participatory Approach (PA)
Participatory Approach (PA)
Khemraj Subedi
 
Oligopolistic Competitive Market Structure
Oligopolistic Competitive Market StructureOligopolistic Competitive Market Structure
Oligopolistic Competitive Market Structure
Khemraj Subedi
 
Monopolistic Market Structure
Monopolistic Market StructureMonopolistic Market Structure
Monopolistic Market Structure
Khemraj Subedi
 
Perfectly Competitive Market and Monopoly Market Structure
Perfectly Competitive Market and Monopoly Market StructurePerfectly Competitive Market and Monopoly Market Structure
Perfectly Competitive Market and Monopoly Market Structure
Khemraj Subedi
 
Recardian Theory of Rent
Recardian Theory of RentRecardian Theory of Rent
Recardian Theory of Rent
Khemraj Subedi
 
Wage fund theory
Wage fund theoryWage fund theory
Wage fund theory
Khemraj Subedi
 
Theory of Profit
Theory of ProfitTheory of Profit
Theory of Profit
Khemraj Subedi
 
Theory of interest
Theory of interestTheory of interest
Theory of interest
Khemraj Subedi
 

More from Khemraj Subedi (20)

Emotion in Psychological Perpectives.pdf
Emotion in Psychological Perpectives.pdfEmotion in Psychological Perpectives.pdf
Emotion in Psychological Perpectives.pdf
 
Motivation in Psychological Perspective.pdf
Motivation in Psychological Perspective.pdfMotivation in Psychological Perspective.pdf
Motivation in Psychological Perspective.pdf
 
Observational Learning Theory and Its Application.pdf
Observational Learning Theory and Its Application.pdfObservational Learning Theory and Its Application.pdf
Observational Learning Theory and Its Application.pdf
 
Learning in Psychological Perspectives.pdf
Learning in Psychological Perspectives.pdfLearning in Psychological Perspectives.pdf
Learning in Psychological Perspectives.pdf
 
Sampling Technique and Sample Size Determination
Sampling Technique and Sample Size Determination Sampling Technique and Sample Size Determination
Sampling Technique and Sample Size Determination
 
Role of Government in Market
Role of Government in MarketRole of Government in Market
Role of Government in Market
 
General Equilibrium IS-LM Framework for Macroeconomic Analysis
General Equilibrium IS-LM Framework for Macroeconomic AnalysisGeneral Equilibrium IS-LM Framework for Macroeconomic Analysis
General Equilibrium IS-LM Framework for Macroeconomic Analysis
 
Meaning and Definition of Research
Meaning and Definition of ResearchMeaning and Definition of Research
Meaning and Definition of Research
 
Redistribution with growth
Redistribution with growthRedistribution with growth
Redistribution with growth
 
Alternatve Approach to Rural Development
Alternatve Approach to Rural DevelopmentAlternatve Approach to Rural Development
Alternatve Approach to Rural Development
 
Business Cycle in nepali version
 Business Cycle in nepali version Business Cycle in nepali version
Business Cycle in nepali version
 
Rural Livelihood Approach
Rural Livelihood ApproachRural Livelihood Approach
Rural Livelihood Approach
 
Participatory Approach (PA)
Participatory Approach (PA)Participatory Approach (PA)
Participatory Approach (PA)
 
Oligopolistic Competitive Market Structure
Oligopolistic Competitive Market StructureOligopolistic Competitive Market Structure
Oligopolistic Competitive Market Structure
 
Monopolistic Market Structure
Monopolistic Market StructureMonopolistic Market Structure
Monopolistic Market Structure
 
Perfectly Competitive Market and Monopoly Market Structure
Perfectly Competitive Market and Monopoly Market StructurePerfectly Competitive Market and Monopoly Market Structure
Perfectly Competitive Market and Monopoly Market Structure
 
Recardian Theory of Rent
Recardian Theory of RentRecardian Theory of Rent
Recardian Theory of Rent
 
Wage fund theory
Wage fund theoryWage fund theory
Wage fund theory
 
Theory of Profit
Theory of ProfitTheory of Profit
Theory of Profit
 
Theory of interest
Theory of interestTheory of interest
Theory of interest
 

Recently uploaded

一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
nyfuhyz
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
javier ramirez
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
AlessioFois2
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
Lars Albertsson
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
Sm321
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
bopyb
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
aqzctr7x
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Kiwi Creative
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
Timothy Spann
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
nuttdpt
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
ihavuls
 
Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
roli9797
 
Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
Bill641377
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
jitskeb
 
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docxDATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
SaffaIbrahim1
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
nuttdpt
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
xclpvhuk
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Fernanda Palhano
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
apvysm8
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
Roger Valdez
 

Recently uploaded (20)

一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
 
Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
 
Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
 
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docxDATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
 

Hypothesis Testing

  • 1. Hypothesis Testing Z Test By Khem Raj Subedi Associate Professor Tikapur Multiple Campus
  • 2. Learning Objectives • Understand the logic of hypothesis testing, and know how to establish null and alternate hypotheses. • Understand Type I and Type II errors. • Use large samples to test hypotheses about a single population mean and about a single population proportion. • Test hypotheses about a single population mean using small samples when σ is unknown and the population is normally distributed.
  • 3. Method of Indirect Proof X X YEither X or Y is true but not both X is demonstrated not to be true Y YY is true by default
  • 4. Hypothesis Testing A process of testing hypotheses about parameters by setting up null and alternative hypotheses, gathering sample data, computing statistics from the samples, and using statistical techniques to reach conclusions about the hypotheses.
  • 5. Steps in Testing Hypotheses 1. Establish hypotheses: state the null and alternative hypotheses. 2. Determine the appropriate statistical test and sampling distribution. 3. Specify the Type I error rate (α). 4. State the decision rule. 5. Gather sample data. 6. Calculate the value of the test statistic. 7. State the statistical conclusion. 8. Make a managerial decision.
  • 6. Null and Alternative Hypotheses • The Null and Alternative Hypotheses are mutually exclusive. Only one of them can be true. • The Null and Alternative Hypotheses are collectively exhaustive. They are stated to include all possibilities. (An abbreviated form of the null hypothesis is often used.) • The Null Hypothesis is assumed to be true. • The burden of proof falls on the Alternative Hypothesis.
  • 7. Null and Alternative Hypotheses: Example • A soft drink company is filling 12 oz. cans with cola. • The company hopes that the cans are averaging 12 ounces. H oz H oz o a : : µ µ = ≠ 12 12
  • 8. Rejection and Nonrejection Regions µ=12 oz Nonrejection Region Rejection Region Critical Value Rejection Region Critical Value
  • 9. Type I and Type II Errors • Type I Error – Rejecting a true null hypothesis – The probability of committing a Type I error is called α, the level of significance. • Type II Error – Failing to reject a false null hypothesis – The probability of committing a Type II error is called β. – Power is the probability of rejecting a false null hypothesis, and equal to 1- β.
  • 10. Decision Table for Hypothesis Testing ( ( ) Null True Null False Fail to reject null Correct Decision Type II error β) Reject null Type I error α Correct Decision (Power)
  • 11. • One-tailed Tests One-tailed and Two-tailed Tests H H o a : : µ µ ≥ < 12 12 H H o a : : µ µ ≤ > 12 12 H H o a : : µ µ = ≠ 12 12 • Two-tailed Test
  • 12. One-tailed Tests H H o a : : µ µ ≥ < 12 12 H H o a : : µ µ ≤ > 12 12 µ=12 oz Rejection Region Nonrejection Region Critical Value µ=12 oz Rejection Region Nonrejection Region Critical Value
  • 14. CPA Net Income Example: Two-tailed Test 914,74$:H 914,74$:Ho ≠ = µ µ a If reject H . If do not reject H . o o Z Z Z Z c c > = ≤ = 196 196 . , . , 78,646 74,914 2.75 14,530 112 X Z n µ σ − − = = = c oZ = 2.75 Z = 1.96, reject H≥ Rejection Region Nonrejection Region Ζ=0 Zc = 196. Rejection Region Zc = −196. α 2 025=.α 2 025=.
  • 15. CPA Net Income Example: Critical Value Method (Part 1) Upper nc cX Z= + = + = µ σ 74 914 196 14 530 112 77 605 , . , , H H o a : $74, : $74, µ µ = ≠ 914 914 Lower nc cX Z= − = − = µ σ 74 914 196 14 530 112 72 223 , . , , Rejection Region Nonrejection Region Ζ=0 Zc = 196. Rejection Region Zc = −196. α 2 025=.α 2 025=. 72,223 77,605
  • 16. CPA Net Income Example: Critical Value Method (Part 2) If X or X reject H . If 77,223 X do not reject H . o o < > ≤ ≤ 77 223 77 605 77 605 , , , , , Since X reject H .o= > =78 646 77 605, , ,cX Rejection Region Nonrejection Region Ζ=0 Zc = 196. Rejection Region Zc = −196. α 2 025=.α 2 025=. 72,223 77,605
  • 17. Demonstration Problem (Part 1) 30.4:H 30.4:H a o < = µ µ Rejection Region Nonrejection Region 0 α=.05 Zc = −1645. If reject H . If , do not reject H . 0 0 Z . Z . < − ≥ − 1645 1645 , Z X s n = − = − = − µ 4156 4 30 0574 32 142 . . . . , do not reject H .0 Z .= − ≥ −142 1645.
  • 18. Demonstration Problem (Part 2) H H o a : . : . µ µ = < 4 30 4 30 Rejection Region Nonrejection Region 0 α=.05 Zc = −1645. cx = 4133. 4.30 If reject H . If , do not reject H . 0 0 X X < ≥ 4133 4133 . , . cX Z s n = + = + − = µ 4 30 1645 0574 32 4133 . ( . ) . . , do not reject H .0X = ≥4156 4133. .
  • 19. Rejection Region Nonrejection Region 0 α=.05 Demonstration Problem (Part 3) H H o a : . : . µ µ = < 4 30 4 30 If p - value < , reject H . If p - value , do not reject H . o o α α≥ Since p-value = .0778 > = .05, do not reject H .o α Z X s n P Z = − = − = − < − = µ 4156 4 30 0574 32 142 142 0778 . . . . ( . ) .
  • 20. Two-tailed Test: Small Sample, σ Unknown, α = .05 (Part 1) Weights in Pounds of a Sample of 20 Plates 22.6 22.2 23.2 27.4 24.5 27.0 26.6 28.1 26.9 24.9 26.2 25.3 23.1 24.2 26.1 25.8 30.4 28.6 23.5 23.6 X = 2551. , S = 2.1933, and n = 20
  • 21. Two-tailed Test: Small Sample, σ Unknown, α = .05 (Part 2) Critical Values Nonrejection Region Rejection Regions ct = −2 093. ct = 2 093. α 2 025=. α 2 025=. H H o a : : µ µ = ≠ 25 25 df n= − =1 19
  • 22. Two-tailed Test: Small Sample, σ Unknown, α = .05 (Part 3) t X S n = − = − = µ 2551 250 21933 20 104 . . . . Since t do not reject H .o= ≤104 2 093. . ,Critical Values Non Rejection Region Rejection Regions ct = −2 093. ct = 2 093. α 2 025=. α 2 025=. If t reject H . If t do not reject H . o o > ≤ 2 093 2 093 . , . ,
  • 23. Demonstration Problem (Part 1) Size in Acres of 23 Farms 445 489 474 505 553 477 545 463 466 557 502 449 438 500 466 477 557 433 545 511 590 561 560 23=and46.94,=,78.498 nSX =
  • 24. Demonstration Problem (Part 2) 471: 471: > = µ µ a o H H df n= − =1 22 Critical Value Nonrejection Region Rejection Region ct = 1717. α =.05
  • 25. Demonstration Problem (Part 3) If t reject H . If t do not reject H . o o > ≤ 1717 1717 . , . , 84.2 23 94.46 47178.498 = − = − = n S X t µ .Hreject,717.184.2tSince o>= Critical Value Nonrejection Region Rejection Region ct = 1717. α =.05
  • 26. Z Test of Population Proportion Z p P P Q n where = − ⋅  : p = sample proportion P = population proportion Q = 1 - P n P n Q ⋅ ≥ ⋅ ≥ 5 5 , and
  • 27. Testing Hypotheses about a Proportion: Manufacturer Example (Part 1) 08.:H 08.:H a o ≠ = P P cZ = 1645. Critical Values Nonrejection Region Rejection Regions cZ = −1645. α 2 05=. α 2 05=.
  • 28. Testing Hypotheses about a Proportion: Manufacturer Example (Part 2)  .  . . (. )(. ) . p Z p P P Q n = = = − ⋅ = − = 33 200 165 165 08 08 92 200 4 43 If Z reject H . If Z do not reject H . o o > ≤ 1645 1645 . , . , Since Z reject H .o= >4 43 1645. . , cZ = 1645. Critical Values Nonrejection Region Rejection Regions cZ = −1645. α 2 05=. α 2 05=.
  • 29. Demonstration Problem (Part 1) H P H P o a : . : . = > 17 17 Critical Value Nonrejection Region Rejection Region cZ = 1645. α =.05
  • 30. Demonstration Problem (Part 2)  .  . . (. )(. ) . p Z p P P Q n = = = − ⋅ = − = 115 550 209 209 17 17 83 550 2 44 If reject H . If do not reject H . o o Z Z > ≤ 1645 1645 . , . , Since Z = 2.44 reject H .o> 1645. ,Critical Value Nonrejection Region Rejection Region cZ = 1645. α =.05