SlideShare a Scribd company logo
1 of 16
Basics of RESEARCH
Dr. C.V. Suresh Babu
(CentreforKnowledgeTransfer)
institute
testing
Discussion Topics • Hypothesis Test
• Potential Outcomes in Hypothesis
Testing
• Significance level
• P-value
• Sampling Errors
• Type I Error
• What causes Type I errors?
• What causes Type II errors?
• 4 possible outcomes
Hypothesis tests
• Hypothesis tests are inferential procedures.
• These tests determine whether your sample evidence is strong
enough to suggest that an effect exists in an entire population.
Example:
Suppose you’re comparing the means of two groups. Your sample data show that there
is a difference between those means.
• Does the sample difference represent a difference between the two populations?
OR
• is that difference likely due to random sampling error?
That’s where hypothesis tests come in!
Hypothesis tests (cont..)
• Your sample data provide evidence for an effect.
• The significance level is a measure of how strong the sample
evidence must be before determining the results are
statistically significant.
• Because we’re talking about evidence !!!
Potential Outcomes in Hypothesis Testing
Hypothesis testing is a procedure in inferential statistics that assesses two
mutually exclusive theories about the properties of a population. For a
generic hypothesis test, the two hypotheses are as follows:
• Null hypothesis: There is no effect
• Alternative hypothesis: There is an effect.
• The sample data must provide sufficient evidence to reject the null
hypothesis and conclude that the effect exists in the population.
• Ideally, a hypothesis test fails to reject the null hypothesis when the
effect is not present in the population, and it rejects the null hypothesis
when the effect exists.
Significance level
• The significance level, also denoted as alpha or α, is a measure
of the strength of the evidence that must be present in your
sample before you will reject the null hypothesis and conclude
that the effect is statistically significant.
• The researcher determines the significance level before
conducting the experiment
• The significance level is the probability of rejecting the null
hypothesis when it is true.
For example,
• a significance level of 0.05 indicates a 5% risk of concluding
that a difference exists when there is no actual difference.
• Lower significance levels indicate that you require stronger
evidence before you will reject the null hypothesis.
• Use significance levels during hypothesis testing to help you
determine which hypothesis the data support.
• Compare your p-value to your significance level.
• If the p-value is less than your significance level, you can reject
the null hypothesis and conclude that the effect is statistically
significant.
• In other words, the evidence in your sample is strong enough
to be able to reject the null hypothesis at the population level.
P-value
• A p-value is the probability that you would obtain the effect
observed in your sample, or larger, if the null hypothesis is true
for the populations.
• P-values are calculated based on your sample data and under
the assumption that the null hypothesis is true.
• Lower p-values indicate greater evidence against the null
hypothesis.
P-value (cont..)
• Use p-values during hypothesis testing to help you determine
which hypothesis the data support.
• Compare your p-value to your significance level. If the p-value
is less than your significance level, you can reject the null
hypothesis and conclude that the effect is statistically
significant.
• In other words, the evidence in your sample is strong enough
to be able to reject the null hypothesis at the population level.
Sampling Errors
• Hypothesis tests use sample data to make inferences about the
properties of a population. You gain tremendous benefits by
working with random samples because it is usually impossible
to measure the entire population.
• However, there are trade-offs when you use samples. The
samples we use are typically a small percentage of the entire
population. Consequently, they occasionally misrepresent the
population severely enough to cause hypothesis tests to make
errors.
Type I Error
• In a hypothesis test, a type I error occurs when you reject a null
hypothesis that is actually true.
• In other words, a statistically significant test result suggests
that a population effect exists but, in reality, it does not exist.
The difference you observed in the sample is the product of
random sample error.
Type I (cont..)
• The probability of committing a type I error equals the
significance level you set for your hypothesis test.
• A significance level of 0.05 indicates that you are willing to
accept a 5% chance that you are wrong when you reject the
null hypothesis.
• To lower this risk, you must use a lower value for alpha.
• However, if you use a lower value for alpha, you are less likely
to detect a true difference if one really exists.
What causes Type I errors?
• It comes down to sample error. Your random sample has
overestimated the effect by chance.
• It was the luck of the draw. This type of error doesn’t indicate
that the researchers did anything wrong. The experimental
design, data collection, data validity, and statistical analysis can
all be correct, and yet this type of error still occurs.
What causes Type II errors?
• Whereas Type I errors are caused by one thing, sample error,
there are a host of possible reasons for Type II errors—small
effect sizes, small sample sizes, and high data variability.
• Furthermore, unlike Type I errors, you can’t set the Type II
error rate for your analysis.
• Instead, the best that you can do is estimate it before you
begin your study by approximating properties of the
alternative hypothesis that you’re studying.
• When you do this type of estimation, it’s called power analysis.
4 possible outcomes
Test Rejects Null Test Fails to Reject Null
Null is True Type I Error False Positive Correct decision No effect
Null is False Correct decision Effect exists Type II error False negative

More Related Content

What's hot

Introduction to Analysis of Variance
Introduction to Analysis of VarianceIntroduction to Analysis of Variance
Introduction to Analysis of Variancejasondroesch
 
7 anova chi square test
 7 anova chi square test 7 anova chi square test
7 anova chi square testPenny Jiang
 
TOPIC- HYPOTHESIS TESTING RMS.pptx
TOPIC- HYPOTHESIS TESTING  RMS.pptxTOPIC- HYPOTHESIS TESTING  RMS.pptx
TOPIC- HYPOTHESIS TESTING RMS.pptxanamikamishra29
 
Non parametric tests by meenu
Non parametric tests by meenuNon parametric tests by meenu
Non parametric tests by meenumeenu saharan
 
hypothesis, testing of hypothesis
hypothesis, testing of hypothesishypothesis, testing of hypothesis
hypothesis, testing of hypothesisKavitha Ravi
 
P value, Power, Type 1 and 2 errors
P value, Power, Type 1 and 2 errorsP value, Power, Type 1 and 2 errors
P value, Power, Type 1 and 2 errorsRizwan S A
 
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 testingAmitaChaudhary19
 
Hypothesis and Hypothesis Testing
Hypothesis and Hypothesis TestingHypothesis and Hypothesis Testing
Hypothesis and Hypothesis TestingNaibin
 
Sample and sample size
Sample and sample sizeSample and sample size
Sample and sample sizeManoj Xavier
 
Mann Whitney U Test
Mann Whitney U TestMann Whitney U Test
Mann Whitney U TestJohn Barlow
 
Anova lecture
Anova lectureAnova lecture
Anova lecturedoublem44
 

What's hot (20)

Introduction to Analysis of Variance
Introduction to Analysis of VarianceIntroduction to Analysis of Variance
Introduction to Analysis of Variance
 
T test
T testT test
T test
 
7 anova chi square test
 7 anova chi square test 7 anova chi square test
7 anova chi square test
 
Two sample t-test
Two sample t-testTwo sample t-test
Two sample t-test
 
TOPIC- HYPOTHESIS TESTING RMS.pptx
TOPIC- HYPOTHESIS TESTING  RMS.pptxTOPIC- HYPOTHESIS TESTING  RMS.pptx
TOPIC- HYPOTHESIS TESTING RMS.pptx
 
Non parametric tests by meenu
Non parametric tests by meenuNon parametric tests by meenu
Non parametric tests by meenu
 
hypothesis, testing of hypothesis
hypothesis, testing of hypothesishypothesis, testing of hypothesis
hypothesis, testing of hypothesis
 
P value, Power, Type 1 and 2 errors
P value, Power, Type 1 and 2 errorsP value, Power, Type 1 and 2 errors
P value, Power, Type 1 and 2 errors
 
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
 
Student t-test
Student t-testStudent t-test
Student t-test
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
Hypothesis and Hypothesis Testing
Hypothesis and Hypothesis TestingHypothesis and Hypothesis Testing
Hypothesis and Hypothesis Testing
 
Sample and sample size
Sample and sample sizeSample and sample size
Sample and sample size
 
Mann Whitney U Test
Mann Whitney U TestMann Whitney U Test
Mann Whitney U Test
 
Z-test
Z-testZ-test
Z-test
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
P value
P valueP value
P value
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Anova lecture
Anova lectureAnova lecture
Anova lecture
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 

Similar to Hypothesis testing 1.0

Hypothesis Testing.pptx
Hypothesis Testing.pptxHypothesis Testing.pptx
Hypothesis Testing.pptxheencomm
 
P-values the gold measure of statistical validity are not as reliable as many...
P-values the gold measure of statistical validity are not as reliable as many...P-values the gold measure of statistical validity are not as reliable as many...
P-values the gold measure of statistical validity are not as reliable as many...David Pratap
 
Introduction-to-Hypothesis-Testing Explained in detail
Introduction-to-Hypothesis-Testing Explained in detailIntroduction-to-Hypothesis-Testing Explained in detail
Introduction-to-Hypothesis-Testing Explained in detailShriramKargaonkar
 
Page 266LEARNING OBJECTIVES· Explain how researchers use inf.docx
Page 266LEARNING OBJECTIVES· Explain how researchers use inf.docxPage 266LEARNING OBJECTIVES· Explain how researchers use inf.docx
Page 266LEARNING OBJECTIVES· Explain how researchers use inf.docxkarlhennesey
 
Steps in hypothesis.pptx
Steps in hypothesis.pptxSteps in hypothesis.pptx
Steps in hypothesis.pptxYashwanth Rm
 
Testing Of Hypothesis
Testing Of HypothesisTesting Of Hypothesis
Testing Of HypothesisSWATI SINGH
 
importance of P value and its uses in the realtime Significance
importance of P value and its uses in the realtime Significanceimportance of P value and its uses in the realtime Significance
importance of P value and its uses in the realtime SignificanceSukumarReddy43
 
Statistics in clinical and translational research common pitfalls
Statistics in clinical and translational research  common pitfallsStatistics in clinical and translational research  common pitfalls
Statistics in clinical and translational research common pitfallsPavlos Msaouel, MD, PhD
 
Aron chpt 5 ed revised
Aron chpt 5 ed revisedAron chpt 5 ed revised
Aron chpt 5 ed revisedSandra Nicks
 

Similar to Hypothesis testing 1.0 (20)

Hypothesis Testing.pptx
Hypothesis Testing.pptxHypothesis Testing.pptx
Hypothesis Testing.pptx
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
P-values the gold measure of statistical validity are not as reliable as many...
P-values the gold measure of statistical validity are not as reliable as many...P-values the gold measure of statistical validity are not as reliable as many...
P-values the gold measure of statistical validity are not as reliable as many...
 
Elements of inferential statistics
Elements of inferential statisticsElements of inferential statistics
Elements of inferential statistics
 
Introduction-to-Hypothesis-Testing Explained in detail
Introduction-to-Hypothesis-Testing Explained in detailIntroduction-to-Hypothesis-Testing Explained in detail
Introduction-to-Hypothesis-Testing Explained in detail
 
Reporting Results of Statistical Analysis
Reporting Results of Statistical Analysis Reporting Results of Statistical Analysis
Reporting Results of Statistical Analysis
 
Page 266LEARNING OBJECTIVES· Explain how researchers use inf.docx
Page 266LEARNING OBJECTIVES· Explain how researchers use inf.docxPage 266LEARNING OBJECTIVES· Explain how researchers use inf.docx
Page 266LEARNING OBJECTIVES· Explain how researchers use inf.docx
 
Steps in hypothesis.pptx
Steps in hypothesis.pptxSteps in hypothesis.pptx
Steps in hypothesis.pptx
 
What does the p value really mean?
What does the p value really mean?What does the p value really mean?
What does the p value really mean?
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
 
Errors and types
Errors and typesErrors and types
Errors and types
 
Testing Of Hypothesis
Testing Of HypothesisTesting Of Hypothesis
Testing Of Hypothesis
 
Hypothesis Testing.pptx
Hypothesis Testing.pptxHypothesis Testing.pptx
Hypothesis Testing.pptx
 
importance of P value and its uses in the realtime Significance
importance of P value and its uses in the realtime Significanceimportance of P value and its uses in the realtime Significance
importance of P value and its uses in the realtime Significance
 
Statistics in clinical and translational research common pitfalls
Statistics in clinical and translational research  common pitfallsStatistics in clinical and translational research  common pitfalls
Statistics in clinical and translational research common pitfalls
 
How to do the maths
How to do the mathsHow to do the maths
How to do the maths
 
Aron chpt 5 ed revised
Aron chpt 5 ed revisedAron chpt 5 ed revised
Aron chpt 5 ed revised
 
Aron chpt 5 ed
Aron chpt 5 edAron chpt 5 ed
Aron chpt 5 ed
 
Basic Conecepts of Inferential Statistics _ Slideshare.pptx
Basic Conecepts of Inferential Statistics _ Slideshare.pptxBasic Conecepts of Inferential Statistics _ Slideshare.pptx
Basic Conecepts of Inferential Statistics _ Slideshare.pptx
 
4_5875144622430228750.docx
4_5875144622430228750.docx4_5875144622430228750.docx
4_5875144622430228750.docx
 

More from Dr. C.V. Suresh Babu (20)

Data analytics with R
Data analytics with RData analytics with R
Data analytics with R
 
Association rules
Association rulesAssociation rules
Association rules
 
Clustering
ClusteringClustering
Clustering
 
Classification
ClassificationClassification
Classification
 
Blue property assumptions.
Blue property assumptions.Blue property assumptions.
Blue property assumptions.
 
Introduction to regression
Introduction to regressionIntroduction to regression
Introduction to regression
 
DART
DARTDART
DART
 
Mycin
MycinMycin
Mycin
 
Expert systems
Expert systemsExpert systems
Expert systems
 
Dempster shafer theory
Dempster shafer theoryDempster shafer theory
Dempster shafer theory
 
Bayes network
Bayes networkBayes network
Bayes network
 
Bayes' theorem
Bayes' theoremBayes' theorem
Bayes' theorem
 
Knowledge based agents
Knowledge based agentsKnowledge based agents
Knowledge based agents
 
Rule based system
Rule based systemRule based system
Rule based system
 
Formal Logic in AI
Formal Logic in AIFormal Logic in AI
Formal Logic in AI
 
Production based system
Production based systemProduction based system
Production based system
 
Game playing in AI
Game playing in AIGame playing in AI
Game playing in AI
 
Diagnosis test of diabetics and hypertension by AI
Diagnosis test of diabetics and hypertension by AIDiagnosis test of diabetics and hypertension by AI
Diagnosis test of diabetics and hypertension by AI
 
A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”
 
A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”
 

Recently uploaded

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 

Recently uploaded (20)

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 

Hypothesis testing 1.0

  • 1. Basics of RESEARCH Dr. C.V. Suresh Babu (CentreforKnowledgeTransfer) institute testing
  • 2. Discussion Topics • Hypothesis Test • Potential Outcomes in Hypothesis Testing • Significance level • P-value • Sampling Errors • Type I Error • What causes Type I errors? • What causes Type II errors? • 4 possible outcomes
  • 3. Hypothesis tests • Hypothesis tests are inferential procedures. • These tests determine whether your sample evidence is strong enough to suggest that an effect exists in an entire population. Example: Suppose you’re comparing the means of two groups. Your sample data show that there is a difference between those means. • Does the sample difference represent a difference between the two populations? OR • is that difference likely due to random sampling error? That’s where hypothesis tests come in!
  • 4. Hypothesis tests (cont..) • Your sample data provide evidence for an effect. • The significance level is a measure of how strong the sample evidence must be before determining the results are statistically significant. • Because we’re talking about evidence !!!
  • 5. Potential Outcomes in Hypothesis Testing Hypothesis testing is a procedure in inferential statistics that assesses two mutually exclusive theories about the properties of a population. For a generic hypothesis test, the two hypotheses are as follows: • Null hypothesis: There is no effect • Alternative hypothesis: There is an effect. • The sample data must provide sufficient evidence to reject the null hypothesis and conclude that the effect exists in the population. • Ideally, a hypothesis test fails to reject the null hypothesis when the effect is not present in the population, and it rejects the null hypothesis when the effect exists.
  • 6. Significance level • The significance level, also denoted as alpha or α, is a measure of the strength of the evidence that must be present in your sample before you will reject the null hypothesis and conclude that the effect is statistically significant. • The researcher determines the significance level before conducting the experiment
  • 7. • The significance level is the probability of rejecting the null hypothesis when it is true. For example, • a significance level of 0.05 indicates a 5% risk of concluding that a difference exists when there is no actual difference. • Lower significance levels indicate that you require stronger evidence before you will reject the null hypothesis.
  • 8. • Use significance levels during hypothesis testing to help you determine which hypothesis the data support. • Compare your p-value to your significance level. • If the p-value is less than your significance level, you can reject the null hypothesis and conclude that the effect is statistically significant. • In other words, the evidence in your sample is strong enough to be able to reject the null hypothesis at the population level.
  • 9. P-value • A p-value is the probability that you would obtain the effect observed in your sample, or larger, if the null hypothesis is true for the populations. • P-values are calculated based on your sample data and under the assumption that the null hypothesis is true. • Lower p-values indicate greater evidence against the null hypothesis.
  • 10. P-value (cont..) • Use p-values during hypothesis testing to help you determine which hypothesis the data support. • Compare your p-value to your significance level. If the p-value is less than your significance level, you can reject the null hypothesis and conclude that the effect is statistically significant. • In other words, the evidence in your sample is strong enough to be able to reject the null hypothesis at the population level.
  • 11. Sampling Errors • Hypothesis tests use sample data to make inferences about the properties of a population. You gain tremendous benefits by working with random samples because it is usually impossible to measure the entire population. • However, there are trade-offs when you use samples. The samples we use are typically a small percentage of the entire population. Consequently, they occasionally misrepresent the population severely enough to cause hypothesis tests to make errors.
  • 12. Type I Error • In a hypothesis test, a type I error occurs when you reject a null hypothesis that is actually true. • In other words, a statistically significant test result suggests that a population effect exists but, in reality, it does not exist. The difference you observed in the sample is the product of random sample error.
  • 13. Type I (cont..) • The probability of committing a type I error equals the significance level you set for your hypothesis test. • A significance level of 0.05 indicates that you are willing to accept a 5% chance that you are wrong when you reject the null hypothesis. • To lower this risk, you must use a lower value for alpha. • However, if you use a lower value for alpha, you are less likely to detect a true difference if one really exists.
  • 14. What causes Type I errors? • It comes down to sample error. Your random sample has overestimated the effect by chance. • It was the luck of the draw. This type of error doesn’t indicate that the researchers did anything wrong. The experimental design, data collection, data validity, and statistical analysis can all be correct, and yet this type of error still occurs.
  • 15. What causes Type II errors? • Whereas Type I errors are caused by one thing, sample error, there are a host of possible reasons for Type II errors—small effect sizes, small sample sizes, and high data variability. • Furthermore, unlike Type I errors, you can’t set the Type II error rate for your analysis. • Instead, the best that you can do is estimate it before you begin your study by approximating properties of the alternative hypothesis that you’re studying. • When you do this type of estimation, it’s called power analysis.
  • 16. 4 possible outcomes Test Rejects Null Test Fails to Reject Null Null is True Type I Error False Positive Correct decision No effect Null is False Correct decision Effect exists Type II error False negative