SlideShare a Scribd company logo
1 of 26
Hypothesis
Testing
Prepared For :
Md. Mahedi Hasan
Lecturer, Statistics
Bangladesh University
of Professionals
The Mayanchu
Squad
Prepared By:
Group Members:
Riffat Afrin Maisha (B1405066)
Tasnia Ahmed (B1405072)
Shafat Bin Farid Shefa(B1405129)
Shahabul Hossain (B1405132)
Momo Dewan (B1405156)
Rabiul Alam (B1405159)
What is Hypothesis?
 Hypothesis is a predictive statement,
capable of being tested by scientific
methods, that relates an independent
variables to some dependent variable.
 A hypothesis states what we are looking
for and it is a proportion which can be put
to a test to determine its validity
PURPOSE OF HYPOTHESIS
 Defining relationship between variables
 Variable- changing quantities in a study
 Independent variable
 Dependent variable
 Controlled variable
Characteristics of Hypothesis
 Clear and precise.
 Capable of being tested.
 Stated relationship between variables.
 limited in scope and must be specific.
 Consistent with most known facts.
Characteristics of Hypothesis
 Responsive to testing with in a reasonable time.
One can’t spend a
life time collecting data to test it.
 Explain what it claims to explain; it should have
empirical reference.
 Stated as far as possible in most simple terms so
that the same is
easily understand by all concerned. But one must
remember that
simplicity of hypothesis has nothing to do with its
significance.
Null Hypothesis
 It is an assertion that we hold as true unless
we have
sufficient statistical evidence to conclude
otherwise.
 Null Hypothesis is denoted by 𝐻0
 If a population mean is equal to
hypothesized mean then Null Hypothesis
can be written as
𝐻0: 𝜇 = 𝜇0
Null Hypothesis (H0)
 Alternative Hypothesis (Ha or H1)
Each of the following statements is an
example of a null hypothesis and alternative
hypothesis.
𝐻0: 𝜇 = 𝜇0
𝐻0: 𝜇 ≤ 𝜇0
𝐻0: 𝜇  𝜇0
𝐻a: 𝜇 ≠ 𝜇0
𝐻a: 𝜇 > 𝜇0
𝐻a: 𝜇 < 𝜇0
Alternative Hypothesis
 The Alternative hypothesis is negation of
null hypothesis and is denoted by 𝐻 𝑎
If Null is given as 𝐻 0: 𝜇 = 𝜇0
Then alternative Hypothesis can be
written as :
𝐻 𝑎: 𝜇 ≠ 𝜇0
𝐻 𝑎: 𝜇 > 𝜇0
𝐻 𝑎: 𝜇 < 𝜇0
Level of significance and
confidence
 Significance means the percentage risk to reject
a null hypothesis when it is true and it is denoted
by 𝛼. Generally taken as 1%, 5%, 10%
 (1 − 𝛼) is the confidence interval in which the null
hypothesis will exist when it is true.
Type I and Type II Error
1. Type I Error
– Reality: No relationship
– Decision: Reject the null
• Believe your research hypothesis have
received support when in fact you should
have disconfirmed it
• Analogy: Find an innocent man guilty of a
crime
Type I and Type II Error
2. Type II Error
Reality: Relationship
Decision: Accept the null
Believe your research hypothesis has not
received support when in fact you should
have rejected the null.
Analogy: Find a guilty man innocent of a
crime
Type I and Type II Error
Methods used to test
hypothesis
 T test
 Z test
 F test
 χ 2 test (Chi-Square Test)
T-Test
 A t-test’s statistical significance indicates whether
or not the difference between two groups’
averages most likely reflects a “real” difference in
the population from which the groups were
sampled.
T-Test for testing difference
between means
Test Condition
 Samples happen to be small,
 Presumed to have been
drawn from the same
population
 Population variances are
unknown but assumed to be
equal
Test Statistics
Graph : T Test
Z-Test
Test Condition
 Populations are normal
 Samples happen to be large
 Presumed to have been
drawn from the same
population
 Population variances are
known
Test Statistics
F-Test
• F-test is a statistical test that is used to
determine whether two populations having
normal distribution have the same variances
or standard deviation. This is an important
part of Analysis of Variance (ANOVA).
However in case the population is non
normal, F test may not be used and
alternate tests like Bartlett’s test may be
used.
Chi square (χ2 ) test
The test we use to measure the differences
between what is observed and what is
expected according to an assumed
hypothesis is called the chi-square test.
Usefulness
 Test for goodness of fit
 Test for independence of attributes
 Testing homogeneity
 Testing given population variance
Contingency table
Frequency table in which a sample from a
population is classified according to two
attributes, which are divided in to two or more
classes
DRUNKARDS NON
DRUNKARDS
GENDER
MALES
675 987
FEMALES
540 997
Degrees of Freedom
Number of independent observations
Number of cells – no. of constraints
Formula
χ 2 = ∑ (O – E)2
E
χ2 = The value of chi square
O = The observed value
E = The expected value
∑ (O – E)2 = all the values of (O –
E) squared then added together
Thank You For Your Patience

More Related Content

What's hot

STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testing
jundumaug1
 
Inferential statistics.ppt
Inferential statistics.pptInferential statistics.ppt
Inferential statistics.ppt
Nursing Path
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesis
vikramlawand
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
piyushdhaker
 

What's hot (20)

Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Basics of Hypothesis Testing
Basics of Hypothesis Testing  Basics of Hypothesis Testing
Basics of Hypothesis Testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testing
 
HYPOTHESIS TESTING
HYPOTHESIS TESTINGHYPOTHESIS TESTING
HYPOTHESIS TESTING
 
Testing of hypotheses
Testing of hypothesesTesting of hypotheses
Testing of hypotheses
 
Chapter10
Chapter10Chapter10
Chapter10
 
Hypothesis and Hypothesis Testing
Hypothesis and Hypothesis TestingHypothesis and Hypothesis Testing
Hypothesis and Hypothesis Testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Inferential statistics.ppt
Inferential statistics.pptInferential statistics.ppt
Inferential statistics.ppt
 
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesis
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
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
 
Critical Value and The P Value
Critical Value and The P ValueCritical Value and The P Value
Critical Value and The P Value
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 

Similar to Hypothesis testing

Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
Sohail Patel
 

Similar to Hypothesis testing (20)

Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
20 OCT-Hypothesis Testing.ppt
20 OCT-Hypothesis Testing.ppt20 OCT-Hypothesis Testing.ppt
20 OCT-Hypothesis Testing.ppt
 
Hypothesis and its important parametric tests
Hypothesis and its important parametric testsHypothesis and its important parametric tests
Hypothesis and its important parametric tests
 
Stat topics
Stat topicsStat topics
Stat topics
 
Chi-square IMP.ppt
Chi-square IMP.pptChi-square IMP.ppt
Chi-square IMP.ppt
 
Rm 3 Hypothesis
Rm   3   HypothesisRm   3   Hypothesis
Rm 3 Hypothesis
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
A Presentation on z test for B-Com .pptx
A Presentation on z test for B-Com .pptxA Presentation on z test for B-Com .pptx
A Presentation on z test for B-Com .pptx
 
Tests of significance
Tests of significanceTests of significance
Tests of significance
 
Unit 4 Tests of Significance
Unit 4 Tests of SignificanceUnit 4 Tests of Significance
Unit 4 Tests of Significance
 
hypothesis testing overview
hypothesis testing overviewhypothesis testing overview
hypothesis testing overview
 
20200519073328de6dca404c.pdfkshhjejhehdhd
20200519073328de6dca404c.pdfkshhjejhehdhd20200519073328de6dca404c.pdfkshhjejhehdhd
20200519073328de6dca404c.pdfkshhjejhehdhd
 
Presentation chi-square test & Anova
Presentation   chi-square test & AnovaPresentation   chi-square test & Anova
Presentation chi-square test & Anova
 
Testing of Hypothesis.pptx
Testing of Hypothesis.pptxTesting of Hypothesis.pptx
Testing of Hypothesis.pptx
 
0hypothesis testing.pdf
0hypothesis testing.pdf0hypothesis testing.pdf
0hypothesis testing.pdf
 
Formulatinghypotheses
Formulatinghypotheses Formulatinghypotheses
Formulatinghypotheses
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
Parametric tests
Parametric  testsParametric  tests
Parametric tests
 
Statistical test
Statistical test Statistical test
Statistical test
 

Recently uploaded

Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 

Recently uploaded (20)

Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 

Hypothesis testing

  • 2. Prepared For : Md. Mahedi Hasan Lecturer, Statistics Bangladesh University of Professionals
  • 3. The Mayanchu Squad Prepared By: Group Members: Riffat Afrin Maisha (B1405066) Tasnia Ahmed (B1405072) Shafat Bin Farid Shefa(B1405129) Shahabul Hossain (B1405132) Momo Dewan (B1405156) Rabiul Alam (B1405159)
  • 4. What is Hypothesis?  Hypothesis is a predictive statement, capable of being tested by scientific methods, that relates an independent variables to some dependent variable.  A hypothesis states what we are looking for and it is a proportion which can be put to a test to determine its validity
  • 5. PURPOSE OF HYPOTHESIS  Defining relationship between variables  Variable- changing quantities in a study  Independent variable  Dependent variable  Controlled variable
  • 6. Characteristics of Hypothesis  Clear and precise.  Capable of being tested.  Stated relationship between variables.  limited in scope and must be specific.  Consistent with most known facts.
  • 7. Characteristics of Hypothesis  Responsive to testing with in a reasonable time. One can’t spend a life time collecting data to test it.  Explain what it claims to explain; it should have empirical reference.  Stated as far as possible in most simple terms so that the same is easily understand by all concerned. But one must remember that simplicity of hypothesis has nothing to do with its significance.
  • 8. Null Hypothesis  It is an assertion that we hold as true unless we have sufficient statistical evidence to conclude otherwise.  Null Hypothesis is denoted by 𝐻0  If a population mean is equal to hypothesized mean then Null Hypothesis can be written as 𝐻0: 𝜇 = 𝜇0
  • 9. Null Hypothesis (H0)  Alternative Hypothesis (Ha or H1) Each of the following statements is an example of a null hypothesis and alternative hypothesis. 𝐻0: 𝜇 = 𝜇0 𝐻0: 𝜇 ≤ 𝜇0 𝐻0: 𝜇  𝜇0 𝐻a: 𝜇 ≠ 𝜇0 𝐻a: 𝜇 > 𝜇0 𝐻a: 𝜇 < 𝜇0
  • 10. Alternative Hypothesis  The Alternative hypothesis is negation of null hypothesis and is denoted by 𝐻 𝑎 If Null is given as 𝐻 0: 𝜇 = 𝜇0 Then alternative Hypothesis can be written as : 𝐻 𝑎: 𝜇 ≠ 𝜇0 𝐻 𝑎: 𝜇 > 𝜇0 𝐻 𝑎: 𝜇 < 𝜇0
  • 11. Level of significance and confidence  Significance means the percentage risk to reject a null hypothesis when it is true and it is denoted by 𝛼. Generally taken as 1%, 5%, 10%  (1 − 𝛼) is the confidence interval in which the null hypothesis will exist when it is true.
  • 12. Type I and Type II Error 1. Type I Error – Reality: No relationship – Decision: Reject the null • Believe your research hypothesis have received support when in fact you should have disconfirmed it • Analogy: Find an innocent man guilty of a crime
  • 13. Type I and Type II Error 2. Type II Error Reality: Relationship Decision: Accept the null Believe your research hypothesis has not received support when in fact you should have rejected the null. Analogy: Find a guilty man innocent of a crime
  • 14. Type I and Type II Error
  • 15. Methods used to test hypothesis  T test  Z test  F test  χ 2 test (Chi-Square Test)
  • 16. T-Test  A t-test’s statistical significance indicates whether or not the difference between two groups’ averages most likely reflects a “real” difference in the population from which the groups were sampled.
  • 17. T-Test for testing difference between means Test Condition  Samples happen to be small,  Presumed to have been drawn from the same population  Population variances are unknown but assumed to be equal Test Statistics
  • 18. Graph : T Test
  • 19. Z-Test Test Condition  Populations are normal  Samples happen to be large  Presumed to have been drawn from the same population  Population variances are known Test Statistics
  • 20. F-Test • F-test is a statistical test that is used to determine whether two populations having normal distribution have the same variances or standard deviation. This is an important part of Analysis of Variance (ANOVA). However in case the population is non normal, F test may not be used and alternate tests like Bartlett’s test may be used.
  • 21. Chi square (χ2 ) test The test we use to measure the differences between what is observed and what is expected according to an assumed hypothesis is called the chi-square test.
  • 22. Usefulness  Test for goodness of fit  Test for independence of attributes  Testing homogeneity  Testing given population variance
  • 23. Contingency table Frequency table in which a sample from a population is classified according to two attributes, which are divided in to two or more classes DRUNKARDS NON DRUNKARDS GENDER MALES 675 987 FEMALES 540 997
  • 24. Degrees of Freedom Number of independent observations Number of cells – no. of constraints
  • 25. Formula χ 2 = ∑ (O – E)2 E χ2 = The value of chi square O = The observed value E = The expected value ∑ (O – E)2 = all the values of (O – E) squared then added together
  • 26. Thank You For Your Patience