SlideShare a Scribd company logo
1 of 37
Basics of Hypothesis TestingBasics of Hypothesis Testing
By Prof Handley Mpoki MafwengaBy Prof Handley Mpoki Mafwenga
Ph.D, MSc, MBA, LLM, PGDTM, ADTM, LLB, FCTA(UK)Ph.D, MSc, MBA, LLM, PGDTM, ADTM, LLB, FCTA(UK)
Macro-fiscal Policy, Advocacy and Tax Expert [Gov-Macro-fiscal Policy, Advocacy and Tax Expert [Gov-
URT]URT]
Contents
9.1 Null and Alternative Hypotheses
9.2 Test Statistic
9.3 P-Value
9.4 Significance Level
9.5 One-Sample z Test
9.6 Power and Sample Size
Terms Introduce in Prior Chapter
• Population ≡ all possible values
• Sample ≡ a portion of the population
• Statistical inference ≡ generalizing from a
sample to a population with calculated degree
of certainty
• Two forms of statistical inference
– Hypothesis testing
– Estimation
• Parameter ≡ a characteristic of population, e.g.,
population mean µ
• Statistic ≡ calculated from data in the sample, e.g.,
sample mean ( )x
Distinctions Between Parameters
and Statistics
Parameters Statistics
Source Population Sample
Notation Greek (e.g., μ) Roman (e.g., xbar)
Vary No Yes
Calculated No Yes
Sampling Distributions of a Mean
The sampling distributions of a mean
(SDM) describes the behavior of a sampling
mean
( )
n
SE
SENx
x
x
σ
µ
=where
,~
Hypothesis Testing
• Is also called significance testing
• Tests a claim about a parameter using
evidence (data in a sample
• The technique is introduced by
considering a one-sample z test
• The procedure is broken into four steps
• Each element of the procedure must be
understood
Hypothesis Testing Steps
A. Null and alternative hypotheses
B. Test statistic
C. P-value and interpretation
D. Significance level (optional)
Null and Alternative Hypotheses
• Convert the research question to null and
alternative hypotheses
• The null hypothesis (H0) is a claim of “no
difference in the population”
• The alternative hypothesis (Ha) claims
“H0 is false”
• Collect data and seek evidence against H0
as a way of bolstering Ha (deduction)
Illustrative Example: “Body Weight”
• The problem: In the 1970s, 20–29 year
old men in the U.S. had a mean μ body
weight of 170 pounds. Standard deviation
σ was 40 pounds. We test whether mean
body weight in the population now differs.
• Null hypothesis H0: μ = 170 (“no difference”)
• The alternative hypothesis can be either
Ha: μ > 170 (one-sided test) or
Ha: μ ≠ 170 (two-sided test)
Test Statistic
n
SE
H
SE
x
x
x
σ
µ
µ
=
≡
−
=
and
trueisassumingmeanpopulationwhere
z
00
0
stat
This is an example of a one-sample test of a
mean when σ is known. Use this statistic to
test the problem:
Illustrative Example: z statistic
• For the illustrative example, μ0 = 170
• We know σ = 40
• Take an SRS of n = 64. Therefore
• If we found a sample mean of 173, then
5
64
40
===
n
SEx
σ
60.0
5
1701730
stat =
−
=
−
=
xSE
x
z
µ
Illustrative Example: z statistic
If we found a sample mean of 185, then
00.3
5
1701850
stat =
−
=
−
=
xSE
x
z
µ
Reasoning Behinµzstat
( )5,170~ Nx
Sampling distribution of xbar
under H0: µ = 170 for n = 64 ⇒
P-value
• The P-value answer the question: What is the
probability of the observed test statistic or one
more extreme when H0 is true?
• This corresponds to the AUC in the tail of the
Standard Normal distribution beyond the zstat.
• Convert z statistics to P-value :
For Ha: μ > μ0 ⇒ P = Pr(Z > zstat) = right-tail beyond zstat
For Ha: μ < μ0 ⇒ P = Pr(Z < zstat) = left tail beyond zstat
For Ha: μ ≠ μ0 ⇒ P = 2 × one-tailed P-value
• Use Table B or software to find these
probabilities (next two slides).
One-sided P-value for zstat of 0.6
One-sided P-value for zstat of 3.0
Two-Sided P-Value
• One-sided Ha ⇒
AUC in tail
beyond zstat
• Two-sided Ha ⇒
consider potential
deviations in both
directions ⇒
double the one-
sided P-value
Examples: If one-sided P
= 0.0010, then two-sided
P = 2 × 0.0010 = 0.0020.
If one-sided P = 0.2743,
then two-sided P = 2 ×
0.2743 = 0.5486.
Interpretation
• P-value answer the question: What is the
probability of the observed test statistic …
when H0 is true?
• Thus, smaller and smaller P-values
provide stronger and stronger evidence
against H0
• Small P-value ⇒ strong evidence
Interpretation
Conventions*
P > 0.10 ⇒ non-significant evidence against H0
0.05 < P ≤ 0.10 ⇒ marginally significant evidence
0.01 < P ≤ 0.05 ⇒ significant evidence against H0
P ≤ 0.01 ⇒ highly significant evidence against H0
Examples
P =.27 ⇒ non-significant evidence against H0
P =.01 ⇒ highly significant evidence against H0
* It is unwise to draw firm borders for “significance”
α-Level (Used in some situations)
• Let α ≡ probability of erroneously rejecting H0
• Set α threshold (e.g., let α = .10, .05, or
whatever)
• Reject H0 when P ≤ α
• Retain H0 when P > α
• Example: Set α = .10. Find P = 0.27 ⇒ retain H0
• Example: Set α = .01. Find P = .001 ⇒ reject H0
(Summary) One-Sample z Test
A. Hypothesis statements
H0: µ = µ0 vs.
Ha: µ ≠ µ0 (two-sided) or
Ha: µ < µ0 (left-sided) or
Ha: µ > µ0 (right-sided)
B. Test statistic
C. P-value: convert zstat to P value
D. Significance statement (usually not necessary)
n
SE
SE
x
x
x
σµ
=
−
= wherez 0
stat
Conditions for z test
• σ known (not from data)
• Population approximately Normal or
large sample (central limit theorem)
• SRS (or facsimile)
• Data valid
The Lake Wobegon Example
“where all the children are above average”
• Let X represent Weschler Adult Intelligence
scores (WAIS)
• Typically, X ~ N(100, 15)
• Take SRS of n = 9 from Lake Wobegon
population
• Data ⇒ {116, 128, 125, 119, 89, 99, 105,
116, 118}
• Calculate: x-bar = 112.8
• Does sample mean provide strong evidence
that population mean μ > 100?
Example: “Lake Wobegon”
A. Hypotheses:
H0: µ = 100 versus
Ha: µ > 100 (one-sided)
Ha: µ ≠ 100 (two-sided)
B. Test statistic:
56.2
5
1008.112
5
9
15
0
stat =
−
=
−
=
===
x
x
SE
x
z
n
SE
µ
σ
C. P-value: P = Pr(Z ≥ 2.56) = 0.0052
P =.0052 ⇒ it is unlikely the sample came from this
null distribution ⇒ strong evidence against H0
• Ha: µ ≠100
• Considers random
deviations “up” and
“down” from μ0 ⇒tails
above and below ±zstat
• Thus, two-sided P
= 2 × 0.0052
= 0.0104
Two-Sided P-value: Lake Wobegon
Power and Sample Size
Truth
Decision H0 true H0 false
Retain H0 Correct retention Type II error
Reject H0 Type I error Correct rejection
α ≡ probability of a Type I error
β ≡ Probability of a Type II error
Two types of decision errors:
Type I error = erroneous rejection of true H0
Type II error = erroneous retention of false H0
Power
• β ≡ probability of a Type II error
β = Pr(retain H0 | H0 false)
(the “|” is read as “given”)
• 1 – β = “Power” ≡ probability of avoiding a
Type II error
1– β = Pr(reject H0 | H0 false)
Power of a z test
where
• Φ(z) represent the cumulative probability
of Standard Normal Z
• μ0 represent the population mean under
the null hypothesis
• μa represents the population mean under
the alternative hypothesis







 −
+−Φ=− −
σ
µµ
β α
n
z a ||
1 0
1 2
Calculating Power: Example
A study of n = 16 retains H0: μ = 170 at α = 0.05
(two-sided); σ is 40. What was the power of test’s
conditions to identify a population mean of 190?
( )
5160.0
04.0
40
16|190170|
96.1
||
1 0
1 2
=
Φ=







 −
+−Φ=







 −
+−Φ=− −
σ
µµ
β α
n
z a
Reasoning Behind Power
• Competing sampling distributions
Top curve (next page) assumes H0 is true
Bottom curve assumes Ha is true
α is set to 0.05 (two-sided)
• We will reject H0 when a sample mean exceeds
189.6 (right tail, top curve)
• The probability of getting a value greater than
189.6 on the bottom curve is 0.5160,
corresponding to the power of the test
Sample Size Requirements
Sample size for one-sample z test:
where
1 – β ≡ desired power
α ≡ desired significance level (two-sided)
σ ≡ population standard deviation
Δ = μ0 – μa ≡ the difference worth detecting
( )
2
2
11
2
2
∆
+
=
−− αβσ zz
n
Example: Sample Size
Requirement
How large a sample is needed for a one-sample z
test with 90% power and α = 0.05 (two-tailed)
when σ = 40? Let H0: μ = 170 and Ha: μ = 190
(thus, Δ = μ0 − μa = 170 – 190 = −20)
Round up to 42 to ensure adequate power.
( ) 99.41
20
)96.128.1(40
2
22
2
2
11
2
2
=
−
+
=
∆
+
=
−− αβσ zz
n
Illustration: conditions
for 90% power.
THANK YOU FOR YOUR KIND ATTENTION

More Related Content

What's hot

Chap#9 hypothesis testing (3)
Chap#9 hypothesis testing (3)Chap#9 hypothesis testing (3)
Chap#9 hypothesis testing (3)shafi khan
 
Statistical Analysis with R- III
Statistical Analysis with R- IIIStatistical Analysis with R- III
Statistical Analysis with R- IIIAkhila Prabhakaran
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testingjundumaug1
 
Test of hypothesis (z)
Test of hypothesis (z)Test of hypothesis (z)
Test of hypothesis (z)Marlon Gomez
 
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.pptPooja Sakhla
 
C2 st lecture 11 the t-test handout
C2 st lecture 11   the t-test handoutC2 st lecture 11   the t-test handout
C2 st lecture 11 the t-test handoutfatima d
 
Lecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two SampleLecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two SampleAhmadullah
 
09 test of hypothesis small sample.ppt
09 test of hypothesis small sample.ppt09 test of hypothesis small sample.ppt
09 test of hypothesis small sample.pptPooja Sakhla
 
Lect w7 t_test_amp_chi_test
Lect w7 t_test_amp_chi_testLect w7 t_test_amp_chi_test
Lect w7 t_test_amp_chi_testRione Drevale
 
Chapter 10
Chapter 10Chapter 10
Chapter 10bmcfad01
 
Excursion 3 Tour III, Capability and Severity: Deeper Concepts
Excursion 3 Tour III, Capability and Severity: Deeper ConceptsExcursion 3 Tour III, Capability and Severity: Deeper Concepts
Excursion 3 Tour III, Capability and Severity: Deeper Conceptsjemille6
 

What's hot (20)

11 hypothesis testing
11 hypothesis testing11 hypothesis testing
11 hypothesis testing
 
Chap#9 hypothesis testing (3)
Chap#9 hypothesis testing (3)Chap#9 hypothesis testing (3)
Chap#9 hypothesis testing (3)
 
Hypothesis Testing Assignment Help
Hypothesis Testing Assignment HelpHypothesis Testing Assignment Help
Hypothesis Testing Assignment Help
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Statistical Analysis with R- III
Statistical Analysis with R- IIIStatistical Analysis with R- III
Statistical Analysis with R- III
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Test of hypothesis (z)
Test of hypothesis (z)Test of hypothesis (z)
Test of hypothesis (z)
 
Chapter11
Chapter11Chapter11
Chapter11
 
Chapter08
Chapter08Chapter08
Chapter08
 
Small sample
Small sampleSmall sample
Small sample
 
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
 
C2 st lecture 11 the t-test handout
C2 st lecture 11   the t-test handoutC2 st lecture 11   the t-test handout
C2 st lecture 11 the t-test handout
 
Chi sqr
Chi sqrChi sqr
Chi sqr
 
Basics of Hypothesis Testing
Basics of Hypothesis TestingBasics of Hypothesis Testing
Basics of Hypothesis Testing
 
Lecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two SampleLecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two Sample
 
09 test of hypothesis small sample.ppt
09 test of hypothesis small sample.ppt09 test of hypothesis small sample.ppt
09 test of hypothesis small sample.ppt
 
Lect w7 t_test_amp_chi_test
Lect w7 t_test_amp_chi_testLect w7 t_test_amp_chi_test
Lect w7 t_test_amp_chi_test
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Excursion 3 Tour III, Capability and Severity: Deeper Concepts
Excursion 3 Tour III, Capability and Severity: Deeper ConceptsExcursion 3 Tour III, Capability and Severity: Deeper Concepts
Excursion 3 Tour III, Capability and Severity: Deeper Concepts
 

Viewers also liked

Tax justice and advocacy clinicA Focus on the Revenue Index for Effective Fis...
Tax justice and advocacy clinicA Focus on the Revenue Index for Effective Fis...Tax justice and advocacy clinicA Focus on the Revenue Index for Effective Fis...
Tax justice and advocacy clinicA Focus on the Revenue Index for Effective Fis...Prof Handley Mpoki Mafwenga
 
Presentatie crowdfunding consult cafe
Presentatie crowdfunding consult cafePresentatie crowdfunding consult cafe
Presentatie crowdfunding consult cafePieter Dekker
 
WARAKA WA WATANZANIA KUTOKA AHERA KUHUSU RAIS JAKAYA KIKWETE
WARAKA WA WATANZANIA KUTOKA AHERA KUHUSU RAIS JAKAYA KIKWETEWARAKA WA WATANZANIA KUTOKA AHERA KUHUSU RAIS JAKAYA KIKWETE
WARAKA WA WATANZANIA KUTOKA AHERA KUHUSU RAIS JAKAYA KIKWETEProf Handley Mpoki Mafwenga
 
WARAKA WA IKULU TAKATIFU KWA JOHN MAGUFULI, NA EDWARD LOWASA NA HATMA YA TANZ...
WARAKA WA IKULU TAKATIFU KWA JOHN MAGUFULI, NA EDWARD LOWASA NA HATMA YA TANZ...WARAKA WA IKULU TAKATIFU KWA JOHN MAGUFULI, NA EDWARD LOWASA NA HATMA YA TANZ...
WARAKA WA IKULU TAKATIFU KWA JOHN MAGUFULI, NA EDWARD LOWASA NA HATMA YA TANZ...Prof Handley Mpoki Mafwenga
 
The Fiscal Analysis on Capital Gains Taxing Rights
The Fiscal Analysis on Capital Gains Taxing RightsThe Fiscal Analysis on Capital Gains Taxing Rights
The Fiscal Analysis on Capital Gains Taxing RightsProf Handley Mpoki Mafwenga
 
THE OVERSIGHT ROLE OF TANZANIA MINERAL AUDIT AGENCY (TMAA)
THE OVERSIGHT ROLE OF TANZANIA MINERAL AUDIT AGENCY (TMAA)THE OVERSIGHT ROLE OF TANZANIA MINERAL AUDIT AGENCY (TMAA)
THE OVERSIGHT ROLE OF TANZANIA MINERAL AUDIT AGENCY (TMAA)Prof Handley Mpoki Mafwenga
 
Презентація підручника «Алгебра» для 7 класу
Презентація підручника «Алгебра» для 7 класуПрезентація підручника «Алгебра» для 7 класу
Презентація підручника «Алгебра» для 7 класуPidruchnyky
 
TEITI -WAKALA WA UKAGUZI WA MADINI TANZANIA-MWANZA
TEITI -WAKALA WA UKAGUZI WA MADINI TANZANIA-MWANZATEITI -WAKALA WA UKAGUZI WA MADINI TANZANIA-MWANZA
TEITI -WAKALA WA UKAGUZI WA MADINI TANZANIA-MWANZAProf Handley Mpoki Mafwenga
 
TEITI& NRGI-ENHANCING TEITI INFORMATION AND DATA ANALYTICAL SKILLS AND KNOWLEDGE
TEITI& NRGI-ENHANCING TEITI INFORMATION AND DATA ANALYTICAL SKILLS AND KNOWLEDGETEITI& NRGI-ENHANCING TEITI INFORMATION AND DATA ANALYTICAL SKILLS AND KNOWLEDGE
TEITI& NRGI-ENHANCING TEITI INFORMATION AND DATA ANALYTICAL SKILLS AND KNOWLEDGEProf Handley Mpoki Mafwenga
 
SDGs Tanzania poverty headcount declining as economic growth expands
SDGs Tanzania poverty headcount declining as economic growth expandsSDGs Tanzania poverty headcount declining as economic growth expands
SDGs Tanzania poverty headcount declining as economic growth expandsProf Handley Mpoki Mafwenga
 
TUDARCO-The art of Negotiation skills for lawyers
TUDARCO-The art of Negotiation skills for lawyersTUDARCO-The art of Negotiation skills for lawyers
TUDARCO-The art of Negotiation skills for lawyersProf Handley Mpoki Mafwenga
 
Macroeconomic Performance NBBA Post Budget Critique.doc - Copy
Macroeconomic Performance NBBA Post Budget Critique.doc  - CopyMacroeconomic Performance NBBA Post Budget Critique.doc  - Copy
Macroeconomic Performance NBBA Post Budget Critique.doc - CopyProf Handley Mpoki Mafwenga
 
Plan anual de tutoria 2016
Plan anual de tutoria 2016Plan anual de tutoria 2016
Plan anual de tutoria 2016Neff Vega
 
NBAA-The Financial Reporting on Oil and Gas-A reflection.pptx NBAA SEMINAR.pp...
NBAA-The Financial Reporting on Oil and Gas-A reflection.pptx NBAA SEMINAR.pp...NBAA-The Financial Reporting on Oil and Gas-A reflection.pptx NBAA SEMINAR.pp...
NBAA-The Financial Reporting on Oil and Gas-A reflection.pptx NBAA SEMINAR.pp...Prof Handley Mpoki Mafwenga
 

Viewers also liked (19)

TAX JUSTICE AND ADVOCACY CLINIC 2
TAX JUSTICE AND ADVOCACY CLINIC  2TAX JUSTICE AND ADVOCACY CLINIC  2
TAX JUSTICE AND ADVOCACY CLINIC 2
 
Tax justice and advocacy clinicA Focus on the Revenue Index for Effective Fis...
Tax justice and advocacy clinicA Focus on the Revenue Index for Effective Fis...Tax justice and advocacy clinicA Focus on the Revenue Index for Effective Fis...
Tax justice and advocacy clinicA Focus on the Revenue Index for Effective Fis...
 
Presentatie crowdfunding consult cafe
Presentatie crowdfunding consult cafePresentatie crowdfunding consult cafe
Presentatie crowdfunding consult cafe
 
WARAKA WA WATANZANIA KUTOKA AHERA KUHUSU RAIS JAKAYA KIKWETE
WARAKA WA WATANZANIA KUTOKA AHERA KUHUSU RAIS JAKAYA KIKWETEWARAKA WA WATANZANIA KUTOKA AHERA KUHUSU RAIS JAKAYA KIKWETE
WARAKA WA WATANZANIA KUTOKA AHERA KUHUSU RAIS JAKAYA KIKWETE
 
MY UP TO DATE CV
MY UP TO DATE CVMY UP TO DATE CV
MY UP TO DATE CV
 
WARAKA WA IKULU TAKATIFU KWA JOHN MAGUFULI, NA EDWARD LOWASA NA HATMA YA TANZ...
WARAKA WA IKULU TAKATIFU KWA JOHN MAGUFULI, NA EDWARD LOWASA NA HATMA YA TANZ...WARAKA WA IKULU TAKATIFU KWA JOHN MAGUFULI, NA EDWARD LOWASA NA HATMA YA TANZ...
WARAKA WA IKULU TAKATIFU KWA JOHN MAGUFULI, NA EDWARD LOWASA NA HATMA YA TANZ...
 
The Fiscal Analysis on Capital Gains Taxing Rights
The Fiscal Analysis on Capital Gains Taxing RightsThe Fiscal Analysis on Capital Gains Taxing Rights
The Fiscal Analysis on Capital Gains Taxing Rights
 
Silabo 06207
Silabo  06207Silabo  06207
Silabo 06207
 
THE OVERSIGHT ROLE OF TANZANIA MINERAL AUDIT AGENCY (TMAA)
THE OVERSIGHT ROLE OF TANZANIA MINERAL AUDIT AGENCY (TMAA)THE OVERSIGHT ROLE OF TANZANIA MINERAL AUDIT AGENCY (TMAA)
THE OVERSIGHT ROLE OF TANZANIA MINERAL AUDIT AGENCY (TMAA)
 
Презентація підручника «Алгебра» для 7 класу
Презентація підручника «Алгебра» для 7 класуПрезентація підручника «Алгебра» для 7 класу
Презентація підручника «Алгебра» для 7 класу
 
IKULU SI MAHALA PA KUKIMBILIA HATA KIDOGO
IKULU SI MAHALA PA KUKIMBILIA HATA KIDOGOIKULU SI MAHALA PA KUKIMBILIA HATA KIDOGO
IKULU SI MAHALA PA KUKIMBILIA HATA KIDOGO
 
TEITI -WAKALA WA UKAGUZI WA MADINI TANZANIA-MWANZA
TEITI -WAKALA WA UKAGUZI WA MADINI TANZANIA-MWANZATEITI -WAKALA WA UKAGUZI WA MADINI TANZANIA-MWANZA
TEITI -WAKALA WA UKAGUZI WA MADINI TANZANIA-MWANZA
 
TEITI& NRGI-ENHANCING TEITI INFORMATION AND DATA ANALYTICAL SKILLS AND KNOWLEDGE
TEITI& NRGI-ENHANCING TEITI INFORMATION AND DATA ANALYTICAL SKILLS AND KNOWLEDGETEITI& NRGI-ENHANCING TEITI INFORMATION AND DATA ANALYTICAL SKILLS AND KNOWLEDGE
TEITI& NRGI-ENHANCING TEITI INFORMATION AND DATA ANALYTICAL SKILLS AND KNOWLEDGE
 
SDGs Tanzania poverty headcount declining as economic growth expands
SDGs Tanzania poverty headcount declining as economic growth expandsSDGs Tanzania poverty headcount declining as economic growth expands
SDGs Tanzania poverty headcount declining as economic growth expands
 
TUDARCO-The art of Negotiation skills for lawyers
TUDARCO-The art of Negotiation skills for lawyersTUDARCO-The art of Negotiation skills for lawyers
TUDARCO-The art of Negotiation skills for lawyers
 
Macroeconomic Performance NBBA Post Budget Critique.doc - Copy
Macroeconomic Performance NBBA Post Budget Critique.doc  - CopyMacroeconomic Performance NBBA Post Budget Critique.doc  - Copy
Macroeconomic Performance NBBA Post Budget Critique.doc - Copy
 
Plan anual de tutoria 2016
Plan anual de tutoria 2016Plan anual de tutoria 2016
Plan anual de tutoria 2016
 
MINERAL TAX CLINIC REVISED EDITION 3
MINERAL TAX CLINIC REVISED EDITION 3MINERAL TAX CLINIC REVISED EDITION 3
MINERAL TAX CLINIC REVISED EDITION 3
 
NBAA-The Financial Reporting on Oil and Gas-A reflection.pptx NBAA SEMINAR.pp...
NBAA-The Financial Reporting on Oil and Gas-A reflection.pptx NBAA SEMINAR.pp...NBAA-The Financial Reporting on Oil and Gas-A reflection.pptx NBAA SEMINAR.pp...
NBAA-The Financial Reporting on Oil and Gas-A reflection.pptx NBAA SEMINAR.pp...
 

Similar to Basic of Hypothesis Testing TEKU QM

hypotesting lecturenotes by Amity university
hypotesting lecturenotes by Amity universityhypotesting lecturenotes by Amity university
hypotesting lecturenotes by Amity universitydeepti .
 
Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1HanaaBayomy
 
Bayesian decision making in clinical research
Bayesian decision making in clinical researchBayesian decision making in clinical research
Bayesian decision making in clinical researchBhaswat Chakraborty
 
hypothesisTestPPT.pptx
hypothesisTestPPT.pptxhypothesisTestPPT.pptx
hypothesisTestPPT.pptxdangwalakash07
 
Non-parametric.pptx qualitative and quantity data
Non-parametric.pptx  qualitative  and quantity  dataNon-parametric.pptx  qualitative  and quantity  data
Non-parametric.pptx qualitative and quantity dataNuhaminTesfaye
 
Bayesian statistics using r intro
Bayesian statistics using r   introBayesian statistics using r   intro
Bayesian statistics using r introBayesLaplace1
 
statistics linear progression
statistics linear progressionstatistics linear progression
statistics linear progressionatif muhammad
 
2.statistical DEcision makig.pptx
2.statistical DEcision makig.pptx2.statistical DEcision makig.pptx
2.statistical DEcision makig.pptxImpanaR2
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introductionGeetika Gulyani
 
Bayesian statistics intro using r
Bayesian statistics intro using rBayesian statistics intro using r
Bayesian statistics intro using rJosue Guzman
 
ChandanChakrabarty_1.pdf
ChandanChakrabarty_1.pdfChandanChakrabarty_1.pdf
ChandanChakrabarty_1.pdfDikshathawait
 

Similar to Basic of Hypothesis Testing TEKU QM (20)

hypotesting lecturenotes by Amity university
hypotesting lecturenotes by Amity universityhypotesting lecturenotes by Amity university
hypotesting lecturenotes by Amity university
 
Gerstman_PP09.ppt
Gerstman_PP09.pptGerstman_PP09.ppt
Gerstman_PP09.ppt
 
Gerstman_PP09.ppt
Gerstman_PP09.pptGerstman_PP09.ppt
Gerstman_PP09.ppt
 
Ppt1
Ppt1Ppt1
Ppt1
 
Nonparametric and Distribution- Free Statistics
Nonparametric and Distribution- Free Statistics Nonparametric and Distribution- Free Statistics
Nonparametric and Distribution- Free Statistics
 
Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1
 
Bayesian decision making in clinical research
Bayesian decision making in clinical researchBayesian decision making in clinical research
Bayesian decision making in clinical research
 
hypothesisTestPPT.pptx
hypothesisTestPPT.pptxhypothesisTestPPT.pptx
hypothesisTestPPT.pptx
 
Hmisiri nonparametrics book
Hmisiri nonparametrics bookHmisiri nonparametrics book
Hmisiri nonparametrics book
 
Nonparametric and Distribution- Free Statistics _contd
Nonparametric and Distribution- Free Statistics _contdNonparametric and Distribution- Free Statistics _contd
Nonparametric and Distribution- Free Statistics _contd
 
Non-parametric.pptx qualitative and quantity data
Non-parametric.pptx  qualitative  and quantity  dataNon-parametric.pptx  qualitative  and quantity  data
Non-parametric.pptx qualitative and quantity data
 
Bayesian statistics using r intro
Bayesian statistics using r   introBayesian statistics using r   intro
Bayesian statistics using r intro
 
statistics linear progression
statistics linear progressionstatistics linear progression
statistics linear progression
 
HYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.pptHYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.ppt
 
2.statistical DEcision makig.pptx
2.statistical DEcision makig.pptx2.statistical DEcision makig.pptx
2.statistical DEcision makig.pptx
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introduction
 
Bayesian statistics intro using r
Bayesian statistics intro using rBayesian statistics intro using r
Bayesian statistics intro using r
 
TEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptxTEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptx
 
Day 3 SPSS
Day 3 SPSSDay 3 SPSS
Day 3 SPSS
 
ChandanChakrabarty_1.pdf
ChandanChakrabarty_1.pdfChandanChakrabarty_1.pdf
ChandanChakrabarty_1.pdf
 

More from Prof Handley Mpoki Mafwenga

Do mining company able to demonstrate reserves .....
Do mining company able to demonstrate reserves .....Do mining company able to demonstrate reserves .....
Do mining company able to demonstrate reserves .....Prof Handley Mpoki Mafwenga
 
MASTERS THESIS (ESAMI-MAASTRICHT SCHOOL OF MANAGEMENT -MsM)
MASTERS THESIS (ESAMI-MAASTRICHT SCHOOL OF MANAGEMENT -MsM)MASTERS THESIS (ESAMI-MAASTRICHT SCHOOL OF MANAGEMENT -MsM)
MASTERS THESIS (ESAMI-MAASTRICHT SCHOOL OF MANAGEMENT -MsM)Prof Handley Mpoki Mafwenga
 
The African Interview Questions Between Joyce Mmassy and Prof Handley Mpoki M...
The African Interview Questions Between Joyce Mmassy and Prof Handley Mpoki M...The African Interview Questions Between Joyce Mmassy and Prof Handley Mpoki M...
The African Interview Questions Between Joyce Mmassy and Prof Handley Mpoki M...Prof Handley Mpoki Mafwenga
 
MHESHIMIWA PINDA HAKUPINDA BALI WANASHERIA WAMECHEUA
MHESHIMIWA PINDA HAKUPINDA BALI WANASHERIA WAMECHEUAMHESHIMIWA PINDA HAKUPINDA BALI WANASHERIA WAMECHEUA
MHESHIMIWA PINDA HAKUPINDA BALI WANASHERIA WAMECHEUAProf Handley Mpoki Mafwenga
 
WARAKA WA UPENDO KWA JOHN MAGUFURI NA EDWARD LOWASA KUTOKA KWA HAYATI MWAL ...
WARAKA WA UPENDO KWA JOHN MAGUFURI NA EDWARD LOWASA KUTOKA   KWA HAYATI MWAL ...WARAKA WA UPENDO KWA JOHN MAGUFURI NA EDWARD LOWASA KUTOKA   KWA HAYATI MWAL ...
WARAKA WA UPENDO KWA JOHN MAGUFURI NA EDWARD LOWASA KUTOKA KWA HAYATI MWAL ...Prof Handley Mpoki Mafwenga
 
LAANA YA RASILIMALI KATIKA SEKTA YA MAFUTA NA GESI ASILIA- Je Tanzania Inawez...
LAANA YA RASILIMALI KATIKA SEKTA YA MAFUTA NA GESI ASILIA- Je Tanzania Inawez...LAANA YA RASILIMALI KATIKA SEKTA YA MAFUTA NA GESI ASILIA- Je Tanzania Inawez...
LAANA YA RASILIMALI KATIKA SEKTA YA MAFUTA NA GESI ASILIA- Je Tanzania Inawez...Prof Handley Mpoki Mafwenga
 
Mafwenga-Taxability of Commission Under Destination-based VAT(1)
Mafwenga-Taxability of Commission Under Destination-based VAT(1)Mafwenga-Taxability of Commission Under Destination-based VAT(1)
Mafwenga-Taxability of Commission Under Destination-based VAT(1)Prof Handley Mpoki Mafwenga
 
Do Mining Company able to Demonstrate Reserves .....
Do Mining Company able to Demonstrate Reserves .....Do Mining Company able to Demonstrate Reserves .....
Do Mining Company able to Demonstrate Reserves .....Prof Handley Mpoki Mafwenga
 

More from Prof Handley Mpoki Mafwenga (18)

Do mining company able to demonstrate reserves .....
Do mining company able to demonstrate reserves .....Do mining company able to demonstrate reserves .....
Do mining company able to demonstrate reserves .....
 
East african journal of research
East african journal of researchEast african journal of research
East african journal of research
 
MASTERS THESIS (ESAMI-MAASTRICHT SCHOOL OF MANAGEMENT -MsM)
MASTERS THESIS (ESAMI-MAASTRICHT SCHOOL OF MANAGEMENT -MsM)MASTERS THESIS (ESAMI-MAASTRICHT SCHOOL OF MANAGEMENT -MsM)
MASTERS THESIS (ESAMI-MAASTRICHT SCHOOL OF MANAGEMENT -MsM)
 
TAX JUSTICE AND ADVOCACY CLINIC 2
TAX JUSTICE AND ADVOCACY CLINIC  2TAX JUSTICE AND ADVOCACY CLINIC  2
TAX JUSTICE AND ADVOCACY CLINIC 2
 
The African Interview Questions Between Joyce Mmassy and Prof Handley Mpoki M...
The African Interview Questions Between Joyce Mmassy and Prof Handley Mpoki M...The African Interview Questions Between Joyce Mmassy and Prof Handley Mpoki M...
The African Interview Questions Between Joyce Mmassy and Prof Handley Mpoki M...
 
BARUA YA SIRI KWA DR MOHAMED SHEIN TOKA AHELA
BARUA YA SIRI KWA DR MOHAMED SHEIN TOKA AHELABARUA YA SIRI KWA DR MOHAMED SHEIN TOKA AHELA
BARUA YA SIRI KWA DR MOHAMED SHEIN TOKA AHELA
 
MHESHIMIWA PINDA HAKUPINDA BALI WANASHERIA WAMECHEUA
MHESHIMIWA PINDA HAKUPINDA BALI WANASHERIA WAMECHEUAMHESHIMIWA PINDA HAKUPINDA BALI WANASHERIA WAMECHEUA
MHESHIMIWA PINDA HAKUPINDA BALI WANASHERIA WAMECHEUA
 
WARAKA WA UPENDO KWA JOHN MAGUFURI NA EDWARD LOWASA KUTOKA KWA HAYATI MWAL ...
WARAKA WA UPENDO KWA JOHN MAGUFURI NA EDWARD LOWASA KUTOKA   KWA HAYATI MWAL ...WARAKA WA UPENDO KWA JOHN MAGUFURI NA EDWARD LOWASA KUTOKA   KWA HAYATI MWAL ...
WARAKA WA UPENDO KWA JOHN MAGUFURI NA EDWARD LOWASA KUTOKA KWA HAYATI MWAL ...
 
WARAKA WA UPUMBAVU NA ULOFA KATIKA DEMOKRASIA
WARAKA WA UPUMBAVU NA ULOFA KATIKA DEMOKRASIAWARAKA WA UPUMBAVU NA ULOFA KATIKA DEMOKRASIA
WARAKA WA UPUMBAVU NA ULOFA KATIKA DEMOKRASIA
 
LAANA YA RASILIMALI KATIKA SEKTA YA MAFUTA NA GESI ASILIA- Je Tanzania Inawez...
LAANA YA RASILIMALI KATIKA SEKTA YA MAFUTA NA GESI ASILIA- Je Tanzania Inawez...LAANA YA RASILIMALI KATIKA SEKTA YA MAFUTA NA GESI ASILIA- Je Tanzania Inawez...
LAANA YA RASILIMALI KATIKA SEKTA YA MAFUTA NA GESI ASILIA- Je Tanzania Inawez...
 
UFA WA UTEKELEZAJI WA LOCAL CONTENT
UFA WA UTEKELEZAJI WA LOCAL CONTENTUFA WA UTEKELEZAJI WA LOCAL CONTENT
UFA WA UTEKELEZAJI WA LOCAL CONTENT
 
Analysis of the Budget(2)
Analysis of the Budget(2)Analysis of the Budget(2)
Analysis of the Budget(2)
 
EAST AFRICAN JOURNAL OF RESEARCH
EAST AFRICAN JOURNAL OF RESEARCHEAST AFRICAN JOURNAL OF RESEARCH
EAST AFRICAN JOURNAL OF RESEARCH
 
TEKU publication2
TEKU publication2TEKU publication2
TEKU publication2
 
The Commonwealth Natural Resources Forum
The Commonwealth Natural Resources ForumThe Commonwealth Natural Resources Forum
The Commonwealth Natural Resources Forum
 
Mafwenga-Taxability of Commission Under Destination-based VAT(1)
Mafwenga-Taxability of Commission Under Destination-based VAT(1)Mafwenga-Taxability of Commission Under Destination-based VAT(1)
Mafwenga-Taxability of Commission Under Destination-based VAT(1)
 
Do Mining Company able to Demonstrate Reserves .....
Do Mining Company able to Demonstrate Reserves .....Do Mining Company able to Demonstrate Reserves .....
Do Mining Company able to Demonstrate Reserves .....
 
NBAA SEMINARS 12-13 JULY, 2014
NBAA SEMINARS 12-13 JULY, 2014NBAA SEMINARS 12-13 JULY, 2014
NBAA SEMINARS 12-13 JULY, 2014
 

Basic of Hypothesis Testing TEKU QM

  • 1. Basics of Hypothesis TestingBasics of Hypothesis Testing By Prof Handley Mpoki MafwengaBy Prof Handley Mpoki Mafwenga Ph.D, MSc, MBA, LLM, PGDTM, ADTM, LLB, FCTA(UK)Ph.D, MSc, MBA, LLM, PGDTM, ADTM, LLB, FCTA(UK) Macro-fiscal Policy, Advocacy and Tax Expert [Gov-Macro-fiscal Policy, Advocacy and Tax Expert [Gov- URT]URT]
  • 2. Contents 9.1 Null and Alternative Hypotheses 9.2 Test Statistic 9.3 P-Value 9.4 Significance Level 9.5 One-Sample z Test 9.6 Power and Sample Size
  • 3. Terms Introduce in Prior Chapter • Population ≡ all possible values • Sample ≡ a portion of the population • Statistical inference ≡ generalizing from a sample to a population with calculated degree of certainty • Two forms of statistical inference – Hypothesis testing – Estimation • Parameter ≡ a characteristic of population, e.g., population mean µ • Statistic ≡ calculated from data in the sample, e.g., sample mean ( )x
  • 4. Distinctions Between Parameters and Statistics Parameters Statistics Source Population Sample Notation Greek (e.g., μ) Roman (e.g., xbar) Vary No Yes Calculated No Yes
  • 5.
  • 6. Sampling Distributions of a Mean The sampling distributions of a mean (SDM) describes the behavior of a sampling mean ( ) n SE SENx x x σ µ =where ,~
  • 7. Hypothesis Testing • Is also called significance testing • Tests a claim about a parameter using evidence (data in a sample • The technique is introduced by considering a one-sample z test • The procedure is broken into four steps • Each element of the procedure must be understood
  • 8. Hypothesis Testing Steps A. Null and alternative hypotheses B. Test statistic C. P-value and interpretation D. Significance level (optional)
  • 9. Null and Alternative Hypotheses • Convert the research question to null and alternative hypotheses • The null hypothesis (H0) is a claim of “no difference in the population” • The alternative hypothesis (Ha) claims “H0 is false” • Collect data and seek evidence against H0 as a way of bolstering Ha (deduction)
  • 10. Illustrative Example: “Body Weight” • The problem: In the 1970s, 20–29 year old men in the U.S. had a mean μ body weight of 170 pounds. Standard deviation σ was 40 pounds. We test whether mean body weight in the population now differs. • Null hypothesis H0: μ = 170 (“no difference”) • The alternative hypothesis can be either Ha: μ > 170 (one-sided test) or Ha: μ ≠ 170 (two-sided test)
  • 11. Test Statistic n SE H SE x x x σ µ µ = ≡ − = and trueisassumingmeanpopulationwhere z 00 0 stat This is an example of a one-sample test of a mean when σ is known. Use this statistic to test the problem:
  • 12. Illustrative Example: z statistic • For the illustrative example, μ0 = 170 • We know σ = 40 • Take an SRS of n = 64. Therefore • If we found a sample mean of 173, then 5 64 40 === n SEx σ 60.0 5 1701730 stat = − = − = xSE x z µ
  • 13. Illustrative Example: z statistic If we found a sample mean of 185, then 00.3 5 1701850 stat = − = − = xSE x z µ
  • 14. Reasoning Behinµzstat ( )5,170~ Nx Sampling distribution of xbar under H0: µ = 170 for n = 64 ⇒
  • 15. P-value • The P-value answer the question: What is the probability of the observed test statistic or one more extreme when H0 is true? • This corresponds to the AUC in the tail of the Standard Normal distribution beyond the zstat. • Convert z statistics to P-value : For Ha: μ > μ0 ⇒ P = Pr(Z > zstat) = right-tail beyond zstat For Ha: μ < μ0 ⇒ P = Pr(Z < zstat) = left tail beyond zstat For Ha: μ ≠ μ0 ⇒ P = 2 × one-tailed P-value • Use Table B or software to find these probabilities (next two slides).
  • 16. One-sided P-value for zstat of 0.6
  • 17. One-sided P-value for zstat of 3.0
  • 18. Two-Sided P-Value • One-sided Ha ⇒ AUC in tail beyond zstat • Two-sided Ha ⇒ consider potential deviations in both directions ⇒ double the one- sided P-value Examples: If one-sided P = 0.0010, then two-sided P = 2 × 0.0010 = 0.0020. If one-sided P = 0.2743, then two-sided P = 2 × 0.2743 = 0.5486.
  • 19. Interpretation • P-value answer the question: What is the probability of the observed test statistic … when H0 is true? • Thus, smaller and smaller P-values provide stronger and stronger evidence against H0 • Small P-value ⇒ strong evidence
  • 20. Interpretation Conventions* P > 0.10 ⇒ non-significant evidence against H0 0.05 < P ≤ 0.10 ⇒ marginally significant evidence 0.01 < P ≤ 0.05 ⇒ significant evidence against H0 P ≤ 0.01 ⇒ highly significant evidence against H0 Examples P =.27 ⇒ non-significant evidence against H0 P =.01 ⇒ highly significant evidence against H0 * It is unwise to draw firm borders for “significance”
  • 21. α-Level (Used in some situations) • Let α ≡ probability of erroneously rejecting H0 • Set α threshold (e.g., let α = .10, .05, or whatever) • Reject H0 when P ≤ α • Retain H0 when P > α • Example: Set α = .10. Find P = 0.27 ⇒ retain H0 • Example: Set α = .01. Find P = .001 ⇒ reject H0
  • 22. (Summary) One-Sample z Test A. Hypothesis statements H0: µ = µ0 vs. Ha: µ ≠ µ0 (two-sided) or Ha: µ < µ0 (left-sided) or Ha: µ > µ0 (right-sided) B. Test statistic C. P-value: convert zstat to P value D. Significance statement (usually not necessary) n SE SE x x x σµ = − = wherez 0 stat
  • 23. Conditions for z test • σ known (not from data) • Population approximately Normal or large sample (central limit theorem) • SRS (or facsimile) • Data valid
  • 24. The Lake Wobegon Example “where all the children are above average” • Let X represent Weschler Adult Intelligence scores (WAIS) • Typically, X ~ N(100, 15) • Take SRS of n = 9 from Lake Wobegon population • Data ⇒ {116, 128, 125, 119, 89, 99, 105, 116, 118} • Calculate: x-bar = 112.8 • Does sample mean provide strong evidence that population mean μ > 100?
  • 25. Example: “Lake Wobegon” A. Hypotheses: H0: µ = 100 versus Ha: µ > 100 (one-sided) Ha: µ ≠ 100 (two-sided) B. Test statistic: 56.2 5 1008.112 5 9 15 0 stat = − = − = === x x SE x z n SE µ σ
  • 26. C. P-value: P = Pr(Z ≥ 2.56) = 0.0052 P =.0052 ⇒ it is unlikely the sample came from this null distribution ⇒ strong evidence against H0
  • 27. • Ha: µ ≠100 • Considers random deviations “up” and “down” from μ0 ⇒tails above and below ±zstat • Thus, two-sided P = 2 × 0.0052 = 0.0104 Two-Sided P-value: Lake Wobegon
  • 28. Power and Sample Size Truth Decision H0 true H0 false Retain H0 Correct retention Type II error Reject H0 Type I error Correct rejection α ≡ probability of a Type I error β ≡ Probability of a Type II error Two types of decision errors: Type I error = erroneous rejection of true H0 Type II error = erroneous retention of false H0
  • 29. Power • β ≡ probability of a Type II error β = Pr(retain H0 | H0 false) (the “|” is read as “given”) • 1 – β = “Power” ≡ probability of avoiding a Type II error 1– β = Pr(reject H0 | H0 false)
  • 30. Power of a z test where • Φ(z) represent the cumulative probability of Standard Normal Z • μ0 represent the population mean under the null hypothesis • μa represents the population mean under the alternative hypothesis         − +−Φ=− − σ µµ β α n z a || 1 0 1 2
  • 31. Calculating Power: Example A study of n = 16 retains H0: μ = 170 at α = 0.05 (two-sided); σ is 40. What was the power of test’s conditions to identify a population mean of 190? ( ) 5160.0 04.0 40 16|190170| 96.1 || 1 0 1 2 = Φ=         − +−Φ=         − +−Φ=− − σ µµ β α n z a
  • 32. Reasoning Behind Power • Competing sampling distributions Top curve (next page) assumes H0 is true Bottom curve assumes Ha is true α is set to 0.05 (two-sided) • We will reject H0 when a sample mean exceeds 189.6 (right tail, top curve) • The probability of getting a value greater than 189.6 on the bottom curve is 0.5160, corresponding to the power of the test
  • 33.
  • 34. Sample Size Requirements Sample size for one-sample z test: where 1 – β ≡ desired power α ≡ desired significance level (two-sided) σ ≡ population standard deviation Δ = μ0 – μa ≡ the difference worth detecting ( ) 2 2 11 2 2 ∆ + = −− αβσ zz n
  • 35. Example: Sample Size Requirement How large a sample is needed for a one-sample z test with 90% power and α = 0.05 (two-tailed) when σ = 40? Let H0: μ = 170 and Ha: μ = 190 (thus, Δ = μ0 − μa = 170 – 190 = −20) Round up to 42 to ensure adequate power. ( ) 99.41 20 )96.128.1(40 2 22 2 2 11 2 2 = − + = ∆ + = −− αβσ zz n
  • 37. THANK YOU FOR YOUR KIND ATTENTION

Editor's Notes

  1. Hypothesis testing is one of the two common forms of statistical inference. This slide reviews some of the terms that form the basis of statistical inference, as introduced in the prior chapter. Make certain you understand these basics before proceeding.
  2. This slide address an other foundation of statistical inference: the difference between parameters and statistics. Parameters and statistics are related, but are not the same thing. Over the years teaching statistics, I have derived a hypothesis that explains why some students have difficulty with statistical inference: they fail to distinguish between statistics and parameter. When a student calculates a statistic such as a sample mean, it seems so tangible and real that they view it as a constant. I think they would be better off if they recognized a statistic as merely one example of what might have been had they done the study or experiment at a different time.
  3. This slide summarize what we’ve learned about the sampling distribution of a mean from a large sample. It is based no three important sampling postulates: the central limit theorem, the law of large numbers (unbiased nature of the sample mean), and square root law. Based on these well established statistical theorems we can say that means based on large samples (and means based in Normal populations) will have a Normal sampling distribution with an expectation equal to the population mean with a standard deviation equal to the standard deviation of the population divided by the square root of the sample size n.
  4. Hypothesis testing (also called significance testing) uses a quasi-deductive procedure to judge claims about parameters. Before testing a statistical hypothesis it is important to clearly state the nature of the claim to be tested. We are then going to use a four step procedure (as outlined in the last bullet) to test the claim.
  5. The first step in the procedure is to state the hypotheses null and alternative forms. The null hypothesis (abbreviate “H naught”) is a statement of no difference. The alternative hypothesis (“H sub a”) is a statement of difference. Seek evidence against the claim of H0 as a way of bolstering Ha. The next slide offers an illustrative example on setting up the hypotheses.
  6. In the late 1970s, the weight of U.S. men between 20- and 29-years of age had a log-normal distribution with a mean of 170 pounds and standard deviation of 40 pounds. As you know, the overweight and obese conditions seems to be more prevalent today, constituting a major public health problem. To illustrate the hypothesis testing procedure, we ask if body weight in this group has increased since 1970. Under the null hypothesis there is no difference in the mean body weight between then and now, in which case μ would still equal 170 pounds. Under the alternative hypothesis, the mean weight has increased Therefore, Ha: μ &amp;gt; 170. This statement of the alternative hypothesis is one-sided. That is, it looks only for values larger than stated under the null hypothesis. There is another way to state the alternative hypothesis. We could state it in a “two-sided” manner, looking for values that are either higher- or lower-than expected. For the current illustrative example, the two-sided alternative is Ha: μ ≠ 170. Although for the current illustrative example, this seems unnecessary, two-sided alternative offers several advantages and are much more common in practice.