SlideShare a Scribd company logo
1 of 30
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

Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesisJags Jagdish
 
Point and Interval Estimation
Point and Interval EstimationPoint and Interval Estimation
Point and Interval EstimationShubham Mehta
 
Measures of dispersion
Measures of dispersion Measures of dispersion
Measures of dispersion Self-employed
 
t distribution, paired and unpaired t-test
t distribution, paired and unpaired t-testt distribution, paired and unpaired t-test
t distribution, paired and unpaired t-testBPKIHS
 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: EstimationParag Shah
 
Basis of statistical inference
Basis of statistical inferenceBasis of statistical inference
Basis of statistical inferencezahidacademy
 
Standard error-Biostatistics
Standard error-BiostatisticsStandard error-Biostatistics
Standard error-BiostatisticsSudha Rameshwari
 
Testing of hypothesis and tests of significance
Testing of hypothesis and tests of significanceTesting of hypothesis and tests of significance
Testing of hypothesis and tests of significanceSudha Rameshwari
 
Sample and sample size
Sample and sample sizeSample and sample size
Sample and sample sizeManoj Xavier
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testingrishi.indian
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testShakehand with Life
 
Non parametric test
Non parametric testNon parametric test
Non parametric testNeetathakur3
 
Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)Upama Dwivedi
 

What's hot (20)

Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
Sample and sample size
Sample and sample sizeSample and sample size
Sample and sample size
 
Point and Interval Estimation
Point and Interval EstimationPoint and Interval Estimation
Point and Interval Estimation
 
Measures of dispersion
Measures of dispersion Measures of dispersion
Measures of dispersion
 
Student t-test
Student t-testStudent t-test
Student t-test
 
t distribution, paired and unpaired t-test
t distribution, paired and unpaired t-testt distribution, paired and unpaired t-test
t distribution, paired and unpaired t-test
 
T test statistics
T test statisticsT test statistics
T test statistics
 
Significance test
Significance testSignificance test
Significance test
 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: Estimation
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
Basis of statistical inference
Basis of statistical inferenceBasis of statistical inference
Basis of statistical inference
 
T test
T testT test
T test
 
Standard error-Biostatistics
Standard error-BiostatisticsStandard error-Biostatistics
Standard error-Biostatistics
 
Testing of hypothesis and tests of significance
Testing of hypothesis and tests of significanceTesting of hypothesis and tests of significance
Testing of hypothesis and tests of significance
 
Sample and sample size
Sample and sample sizeSample and sample size
Sample and sample size
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Z test
Z testZ test
Z test
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-test
 
Non parametric test
Non parametric testNon parametric test
Non parametric test
 
Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)
 

Similar to Hypothesis Testing

Lesson05_Static11
Lesson05_Static11Lesson05_Static11
Lesson05_Static11thangv
 
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 domsBabasab 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 populationsLong 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 meanNadeem Uddin
 
Lesson05_new
Lesson05_newLesson05_new
Lesson05_newshengvn
 
[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.docxdanielfoster65629
 
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.pdfBahauddinBaloch3
 
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
 
Statr session 17 and 18
Statr session 17 and 18Statr session 17 and 18
Statr session 17 and 18Ruru Chowdhury
 
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
 
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 VarianceLong Beach City College
 

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 (ASTR)
Statr session 17 and 18 (ASTR)Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)
 
Statr session 17 and 18
Statr session 17 and 18Statr session 17 and 18
Statr session 17 and 18
 
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
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
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
 

More from Khemraj Subedi

Emotion in Psychological Perpectives.pdf
Emotion in Psychological Perpectives.pdfEmotion in Psychological Perpectives.pdf
Emotion in Psychological Perpectives.pdfKhemraj Subedi
 
Motivation in Psychological Perspective.pdf
Motivation in Psychological Perspective.pdfMotivation in Psychological Perspective.pdf
Motivation in Psychological Perspective.pdfKhemraj 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.pdfKhemraj Subedi
 
Learning in Psychological Perspectives.pdf
Learning in Psychological Perspectives.pdfLearning in Psychological Perspectives.pdf
Learning in Psychological Perspectives.pdfKhemraj 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 MarketKhemraj 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 AnalysisKhemraj Subedi
 
Meaning and Definition of Research
Meaning and Definition of ResearchMeaning and Definition of Research
Meaning and Definition of ResearchKhemraj Subedi
 
Redistribution with growth
Redistribution with growthRedistribution with growth
Redistribution with growthKhemraj Subedi
 
Alternatve Approach to Rural Development
Alternatve Approach to Rural DevelopmentAlternatve Approach to Rural Development
Alternatve Approach to Rural DevelopmentKhemraj Subedi
 
Business Cycle in nepali version
 Business Cycle in nepali version Business Cycle in nepali version
Business Cycle in nepali versionKhemraj Subedi
 
Rural Livelihood Approach
Rural Livelihood ApproachRural Livelihood Approach
Rural Livelihood ApproachKhemraj 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 StructureKhemraj Subedi
 
Monopolistic Market Structure
Monopolistic Market StructureMonopolistic Market Structure
Monopolistic Market StructureKhemraj 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 StructureKhemraj Subedi
 
Recardian Theory of Rent
Recardian Theory of RentRecardian Theory of Rent
Recardian Theory of RentKhemraj 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

Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改yuu sss
 
办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degreeyuu sss
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024thyngster
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfPredicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfBoston Institute of Analytics
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
Top 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In QueensTop 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In Queensdataanalyticsqueen03
 
Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Colleen Farrelly
 
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理e4aez8ss
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhijennyeacort
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 

Recently uploaded (20)

Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
 
办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfPredicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
Top 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In QueensTop 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In Queens
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024
 
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 

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