SlideShare a Scribd company logo
1 of 25
Hypothesis Testing


By Rama Krishna Kompella
Outline
•   The Null Hypothesis
•   Type I and Type II Error
•   Using Statistics to test the Null Hypothesis
•   The Logic of Data Analysis
Research Questions and Hypotheses
• Research question:
  – Non-directional:
     • No stated expectation about outcome
  – Example:
     • Do men and women differ in terms of brand loyalty?
• Hypothesis:
  – Statement of expected relationship
     • Directionality of relationship
  – Example:
     • Women will have greater brand loyalty than men
Grounding Hypotheses in Theory
• Hypotheses have an underlying rationale:
  – Logical reasoning behind the direction of the
    hypotheses (theoretical rationale – explanation)
  – Why do we expect women to have better brand
    loyalty?
• Theoretical rationale based on:
  – 1. Past research
  – 2. Existing theory
  – 3. Logical reasoning
The Null Hypothesis

• Null Hypothesis - the absence of a relationship
   – E..g., There is no difference between men’s and
     women’s with regards to brand loyalty
• Compare observed results to Null Hypothesis
   – How different are the results from the null hypothesis?
• We do not propose a null hypothesis as research
  hypothesis - need very large sample size / power
   – Used as point of contrast for testing
Hypotheses testing
• When we test observed results against null:
  – We can make two decisions:
     • 1. Accept the null
        – No significant relationship
        – Observed results similar to the Null Hypothesis
     • 2. Reject the null
        – Significant relationship
        – Observed results different from the Null Hypothesis
  – Whichever decision, we risk making an error
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
• 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
Potential outcomes of testing
                             Decision
                    Accept Null             Reject Null




R
E    No
                    1                   2
A    Relationship
L
I    Relationship
T

                    3                   4
Y
Potential outcomes of testing
                              Decision
                     Accept Null             Reject Null




                    Correct
R
E    No
                    decision             2
A    Relationship
L
I    Relationship
T

                    3                    4
Y
Potential outcomes of testing
                             Decision
                    Accept Null              Reject Null




R
E
A
     No
     Relationship
                    1                   2
L
I    Relationship
T
Y
                                        Correct
                    3                   decision
Potential outcomes of testing
                             Decision
                    Accept Null                Reject Null




R
E    No             1                   Type I Error

A    Relationship
L
I    Relationship
T
Y

                    3                    4
Potential outcomes of testing
                                Decision
                       Accept Null             Reject Null




R
E    No               1                    2
A    Relationship
L
I    Relationship
T
Y
                    Type II Error
                                           4
Potential outcomes of testing
                               Decision
                      Accept Null                Reject Null




                      Correct
                                          Type I Error
                      decision
R
E    No
A    Relationship
L
I    Relationship
T
Y                                            Correct
                    Type II Error
                                             decision
Function of Statistical Tests
• Statistical tests determine:
  – Accept or Reject the Null Hypothesis
• Based on probability of making a Type I
  error
  – Observed results compared to the results
    expected by the Null Hypotheses
  – What is the probability of getting observed
    results if Null Hypothesis were true?
     • If results would occur less than 5% of the time by
       simple chance then we reject the Null Hypothesis
Start by setting level of risk of
         making a Type I Error
• How dangerous is it to make a Type I Error:
   – What risk is acceptable?:
       • 5%?
       • 1%?
       • .1%?

   – Smaller percentages are more conservative in
     guarding against a Type I Error
• Level of acceptable risk is called “Significance level” :
   – Usually the cutoff - <.05
Conventional Significance Levels
•   .05 level (5% chance of Type I Error)
•   .01 level (1% chance of Type I Error)
•   .001 level (.1% chance of Type I Error)
•   Rejecting the Null at the .05 level means:
    – Taking a 5% risk of making a Type I Error
Steps in Hypothesis Testing
• 1. State research hypothesis
• 2. State null hypothesis
• 3.Set significance level (e.g., .05 level)
• 4. Observe results
• 5. Statistics calculate probability of results if
  null hypothesis were true
• 6. If probability of observed results is less than
  significance level, then reject the null
Guarding against Type I Error

• Significance level regulates Type I Error
• Conservative standards reduce Type I Error:
  – .01 instead of .05, especially with large sample
• Reducing the probability of Type I Error:
  – Increases the probability of Type II Error
• Sample size regulates Type II Error
  – The larger the sample, the lower the
    probability of Type II Error occurring in
    conservative testing
Statistical Power
• The power to detect significant relationships
  – The larger the sample size, the more power
  – The larger the sample size, the lower the
    probability of Type II Error
• Power = 1 – probability of Type II Error
Statistical Analysis
• Statistical analysis:
   – Examines observed data
   – Calculates the probability that the results could
     occur by chance (I.e., if Null was true)
• Choice of statistical test depends on:
   – Level of measurement of the variables in
     question:
      • Nominal, Ordinal, Interval or Ratio
Logic of data analysis
• Univariate analysis
  – One variable at a time (descriptive)
• Bivariate analysis
  – Two variables at a time (testing relationships)
• Multivariate analysis
  – More than two variables at a time (testing
    relationships and controlling for other variables)
Variables
• Dependent variable:
  – What we are trying to predict
  – E.g., Brand preference
• Independent variables:
  – What we are using as predictors
  – E.g., Gender, Product usage history
Commonality across all statistical
      analysis procedures
• Set the significance level:
  – E.g., .05 level
     • Means that we are willing to conclude that there is a
       relationship if:
         – Chance of Type I error is less than 5%

• Statistical tests tell us whether:
  – The observed relationship has less than a 5%
    chance of occurring by chance
Summary of Statistical Procedures

Variables                     Procedure
Nominal IV, Nominal DV        Chi-square
Nominal IV, Ratio DV          T-test
Multiple Nominal IVs, Ratio   ANOVA
DV
Ratio IV, Ratio DV            Pearson’s R
Multiple Nominal IVs, Ratio   ANCOVA
DV with ratio covariates
Multiple ratio                Multiple Regression
Q & As

More Related Content

Viewers also liked

A secure cloud computing based framework for big data information management ...
A secure cloud computing based framework for big data information management ...A secure cloud computing based framework for big data information management ...
A secure cloud computing based framework for big data information management ...Nexgen Technology
 
Ch. 21 Type I And Type Ii Error
Ch. 21 Type I And Type Ii ErrorCh. 21 Type I And Type Ii Error
Ch. 21 Type I And Type Ii Errorchristjt
 
Ch. 21 Type Ii Error
Ch. 21 Type Ii ErrorCh. 21 Type Ii Error
Ch. 21 Type Ii Errorchristjt
 
Sampling error; the need for sampling distributions
Sampling error; the need for sampling distributionsSampling error; the need for sampling distributions
Sampling error; the need for sampling distributionsazmatmengal
 
Severe Testing: The Key to Error Correction
Severe Testing: The Key to Error CorrectionSevere Testing: The Key to Error Correction
Severe Testing: The Key to Error Correctionjemille6
 
A secure cloud computing based framework for big information management syste...
A secure cloud computing based framework for big information management syste...A secure cloud computing based framework for big information management syste...
A secure cloud computing based framework for big information management syste...Pawan Arya
 
SmartGrid System Report
SmartGrid System ReportSmartGrid System Report
SmartGrid System ReportGruene-it.org
 
Chi square and t tests, Neelam zafar & group
Chi square and t tests, Neelam zafar & groupChi square and t tests, Neelam zafar & group
Chi square and t tests, Neelam zafar & groupNeelam Zafar
 
Smart Grid - An Outline
Smart Grid - An OutlineSmart Grid - An Outline
Smart Grid - An OutlineShyam Penubolu
 
Selective Data Replication with Geographically Distributed Hadoop
Selective Data Replication with Geographically Distributed HadoopSelective Data Replication with Geographically Distributed Hadoop
Selective Data Replication with Geographically Distributed HadoopDataWorks Summit
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testingNirajan Bam
 
Descriptive &amp; inferential statistics presentation 2
Descriptive &amp; inferential statistics presentation 2Descriptive &amp; inferential statistics presentation 2
Descriptive &amp; inferential statistics presentation 2Angela Davidson
 
Intro to Classification: Logistic Regression & SVM
Intro to Classification: Logistic Regression & SVMIntro to Classification: Logistic Regression & SVM
Intro to Classification: Logistic Regression & SVMNYC Predictive Analytics
 
Chapter 3 Confidence Interval
Chapter 3 Confidence IntervalChapter 3 Confidence Interval
Chapter 3 Confidence Intervalghalan
 
Quantitative Data Analysis: Hypothesis Testing
Quantitative Data Analysis: Hypothesis TestingQuantitative Data Analysis: Hypothesis Testing
Quantitative Data Analysis: Hypothesis TestingMurni Mohd Yusof
 
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
 

Viewers also liked (20)

A secure cloud computing based framework for big data information management ...
A secure cloud computing based framework for big data information management ...A secure cloud computing based framework for big data information management ...
A secure cloud computing based framework for big data information management ...
 
Ch. 21 Type I And Type Ii Error
Ch. 21 Type I And Type Ii ErrorCh. 21 Type I And Type Ii Error
Ch. 21 Type I And Type Ii Error
 
Sampling
SamplingSampling
Sampling
 
Ch. 21 Type Ii Error
Ch. 21 Type Ii ErrorCh. 21 Type Ii Error
Ch. 21 Type Ii Error
 
Sampling error; the need for sampling distributions
Sampling error; the need for sampling distributionsSampling error; the need for sampling distributions
Sampling error; the need for sampling distributions
 
Severe Testing: The Key to Error Correction
Severe Testing: The Key to Error CorrectionSevere Testing: The Key to Error Correction
Severe Testing: The Key to Error Correction
 
A secure cloud computing based framework for big information management syste...
A secure cloud computing based framework for big information management syste...A secure cloud computing based framework for big information management syste...
A secure cloud computing based framework for big information management syste...
 
SmartGrid System Report
SmartGrid System ReportSmartGrid System Report
SmartGrid System Report
 
Types of sampling
Types of samplingTypes of sampling
Types of sampling
 
Chi square and t tests, Neelam zafar & group
Chi square and t tests, Neelam zafar & groupChi square and t tests, Neelam zafar & group
Chi square and t tests, Neelam zafar & group
 
Smart Grid - An Outline
Smart Grid - An OutlineSmart Grid - An Outline
Smart Grid - An Outline
 
Selective Data Replication with Geographically Distributed Hadoop
Selective Data Replication with Geographically Distributed HadoopSelective Data Replication with Geographically Distributed Hadoop
Selective Data Replication with Geographically Distributed Hadoop
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Descriptive &amp; inferential statistics presentation 2
Descriptive &amp; inferential statistics presentation 2Descriptive &amp; inferential statistics presentation 2
Descriptive &amp; inferential statistics presentation 2
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Intro to Classification: Logistic Regression & SVM
Intro to Classification: Logistic Regression & SVMIntro to Classification: Logistic Regression & SVM
Intro to Classification: Logistic Regression & SVM
 
Chapter 3 Confidence Interval
Chapter 3 Confidence IntervalChapter 3 Confidence Interval
Chapter 3 Confidence Interval
 
Quantitative Data Analysis: Hypothesis Testing
Quantitative Data Analysis: Hypothesis TestingQuantitative Data Analysis: Hypothesis Testing
Quantitative Data Analysis: Hypothesis Testing
 
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
 
Sampling distribution
Sampling distributionSampling distribution
Sampling distribution
 

Similar to T8 hypothesis testing

Hypothesis Testing.pptx
Hypothesis Testing.pptxHypothesis Testing.pptx
Hypothesis Testing.pptxheencomm
 
Research methodology iii
Research methodology iiiResearch methodology iii
Research methodology iiiAnwar Siddiqui
 
HYPOTHESIS TESTING 20200702.pptx
HYPOTHESIS TESTING 20200702.pptxHYPOTHESIS TESTING 20200702.pptx
HYPOTHESIS TESTING 20200702.pptxDr. Gururaj Phatak
 
Hypothesis_Testing.ppt
Hypothesis_Testing.pptHypothesis_Testing.ppt
Hypothesis_Testing.pptssuserac2a40
 
Statistics Presentation week 7
Statistics Presentation week 7Statistics Presentation week 7
Statistics Presentation week 7krookroo
 
Lect w6 hypothesis_testing
Lect w6 hypothesis_testingLect w6 hypothesis_testing
Lect w6 hypothesis_testingRione Drevale
 
hypothesis testing
hypothesis testinghypothesis testing
hypothesis testingilona50
 
Testing Of Hypothesis
Testing Of HypothesisTesting Of Hypothesis
Testing Of HypothesisSWATI SINGH
 
Chapter 18 Hypothesis testing (1).pptx
Chapter 18 Hypothesis testing (1).pptxChapter 18 Hypothesis testing (1).pptx
Chapter 18 Hypothesis testing (1).pptxNELVINNOOL1
 
Hypothesis testing- Fundamentals to upload.pptx
Hypothesis testing- Fundamentals to upload.pptxHypothesis testing- Fundamentals to upload.pptx
Hypothesis testing- Fundamentals to upload.pptxarathi
 
Inferential statistics powerpoint
Inferential statistics powerpointInferential statistics powerpoint
Inferential statistics powerpointkellula
 
Inferential stats intro part 1
Inferential stats intro part 1Inferential stats intro part 1
Inferential stats intro part 1beechy01
 
Testing of Hypothesis.pptx
Testing of Hypothesis.pptxTesting of Hypothesis.pptx
Testing of Hypothesis.pptxhemamalini398951
 
hypothesis testing
 hypothesis testing hypothesis testing
hypothesis testingzoheb khan
 
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
 
Presentation chi-square test & Anova
Presentation   chi-square test & AnovaPresentation   chi-square test & Anova
Presentation chi-square test & AnovaSonnappan Sridhar
 

Similar to T8 hypothesis testing (20)

Hypothesis Testing.pptx
Hypothesis Testing.pptxHypothesis Testing.pptx
Hypothesis Testing.pptx
 
Research methodology iii
Research methodology iiiResearch methodology iii
Research methodology iii
 
HYPOTHESIS TESTING 20200702.pptx
HYPOTHESIS TESTING 20200702.pptxHYPOTHESIS TESTING 20200702.pptx
HYPOTHESIS TESTING 20200702.pptx
 
Hypothesis_Testing.ppt
Hypothesis_Testing.pptHypothesis_Testing.ppt
Hypothesis_Testing.ppt
 
Statistics Presentation week 7
Statistics Presentation week 7Statistics Presentation week 7
Statistics Presentation week 7
 
Lect w6 hypothesis_testing
Lect w6 hypothesis_testingLect w6 hypothesis_testing
Lect w6 hypothesis_testing
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
 
hypothesis testing
hypothesis testinghypothesis testing
hypothesis testing
 
Testing Of Hypothesis
Testing Of HypothesisTesting Of Hypothesis
Testing Of Hypothesis
 
Chapter 18 Hypothesis testing (1).pptx
Chapter 18 Hypothesis testing (1).pptxChapter 18 Hypothesis testing (1).pptx
Chapter 18 Hypothesis testing (1).pptx
 
Hypothesis testing- Fundamentals to upload.pptx
Hypothesis testing- Fundamentals to upload.pptxHypothesis testing- Fundamentals to upload.pptx
Hypothesis testing- Fundamentals to upload.pptx
 
Reporting Results of Statistical Analysis
Reporting Results of Statistical Analysis Reporting Results of Statistical Analysis
Reporting Results of Statistical Analysis
 
Inferential statistics powerpoint
Inferential statistics powerpointInferential statistics powerpoint
Inferential statistics powerpoint
 
Inferential stats intro part 1
Inferential stats intro part 1Inferential stats intro part 1
Inferential stats intro part 1
 
Testing of Hypothesis.pptx
Testing of Hypothesis.pptxTesting of Hypothesis.pptx
Testing of Hypothesis.pptx
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
hypothesis testing
 hypothesis testing hypothesis testing
hypothesis testing
 
Hypothesis testing 1.0
Hypothesis testing 1.0Hypothesis testing 1.0
Hypothesis testing 1.0
 
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
 
Presentation chi-square test & Anova
Presentation   chi-square test & AnovaPresentation   chi-square test & Anova
Presentation chi-square test & Anova
 

More from kompellark

T22 research report writing
T22 research report writingT22 research report writing
T22 research report writingkompellark
 
Rubric assignment 2
Rubric   assignment 2Rubric   assignment 2
Rubric assignment 2kompellark
 
Answers mid-term
Answers   mid-termAnswers   mid-term
Answers mid-termkompellark
 
T21 conjoint analysis
T21 conjoint analysisT21 conjoint analysis
T21 conjoint analysiskompellark
 
T20 cluster analysis
T20 cluster analysisT20 cluster analysis
T20 cluster analysiskompellark
 
T19 factor analysis
T19 factor analysisT19 factor analysis
T19 factor analysiskompellark
 
T18 discriminant analysis
T18 discriminant analysisT18 discriminant analysis
T18 discriminant analysiskompellark
 
T17 correlation
T17 correlationT17 correlation
T17 correlationkompellark
 
T16 multiple regression
T16 multiple regressionT16 multiple regression
T16 multiple regressionkompellark
 
T13 parametric tests
T13 parametric testsT13 parametric tests
T13 parametric testskompellark
 
T11 types of tests
T11 types of testsT11 types of tests
T11 types of testskompellark
 
T13 parametric tests
T13 parametric testsT13 parametric tests
T13 parametric testskompellark
 
T12 non-parametric tests
T12 non-parametric testsT12 non-parametric tests
T12 non-parametric testskompellark
 
T11 types of tests
T11 types of testsT11 types of tests
T11 types of testskompellark
 
T16 multiple regression
T16 multiple regressionT16 multiple regression
T16 multiple regressionkompellark
 

More from kompellark (20)

T22 research report writing
T22 research report writingT22 research report writing
T22 research report writing
 
Rubric assignment 2
Rubric   assignment 2Rubric   assignment 2
Rubric assignment 2
 
Answers mid-term
Answers   mid-termAnswers   mid-term
Answers mid-term
 
Exam paper
Exam paperExam paper
Exam paper
 
T21 conjoint analysis
T21 conjoint analysisT21 conjoint analysis
T21 conjoint analysis
 
T20 cluster analysis
T20 cluster analysisT20 cluster analysis
T20 cluster analysis
 
T19 factor analysis
T19 factor analysisT19 factor analysis
T19 factor analysis
 
T18 discriminant analysis
T18 discriminant analysisT18 discriminant analysis
T18 discriminant analysis
 
T17 correlation
T17 correlationT17 correlation
T17 correlation
 
T16 multiple regression
T16 multiple regressionT16 multiple regression
T16 multiple regression
 
T15 ancova
T15 ancovaT15 ancova
T15 ancova
 
T14 anova
T14 anovaT14 anova
T14 anova
 
T13 parametric tests
T13 parametric testsT13 parametric tests
T13 parametric tests
 
T11 types of tests
T11 types of testsT11 types of tests
T11 types of tests
 
T15 ancova
T15 ancovaT15 ancova
T15 ancova
 
T14 anova
T14 anovaT14 anova
T14 anova
 
T13 parametric tests
T13 parametric testsT13 parametric tests
T13 parametric tests
 
T12 non-parametric tests
T12 non-parametric testsT12 non-parametric tests
T12 non-parametric tests
 
T11 types of tests
T11 types of testsT11 types of tests
T11 types of tests
 
T16 multiple regression
T16 multiple regressionT16 multiple regression
T16 multiple regression
 

Recently uploaded

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 

Recently uploaded (20)

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 

T8 hypothesis testing

  • 1. Hypothesis Testing By Rama Krishna Kompella
  • 2. Outline • The Null Hypothesis • Type I and Type II Error • Using Statistics to test the Null Hypothesis • The Logic of Data Analysis
  • 3. Research Questions and Hypotheses • Research question: – Non-directional: • No stated expectation about outcome – Example: • Do men and women differ in terms of brand loyalty? • Hypothesis: – Statement of expected relationship • Directionality of relationship – Example: • Women will have greater brand loyalty than men
  • 4. Grounding Hypotheses in Theory • Hypotheses have an underlying rationale: – Logical reasoning behind the direction of the hypotheses (theoretical rationale – explanation) – Why do we expect women to have better brand loyalty? • Theoretical rationale based on: – 1. Past research – 2. Existing theory – 3. Logical reasoning
  • 5. The Null Hypothesis • Null Hypothesis - the absence of a relationship – E..g., There is no difference between men’s and women’s with regards to brand loyalty • Compare observed results to Null Hypothesis – How different are the results from the null hypothesis? • We do not propose a null hypothesis as research hypothesis - need very large sample size / power – Used as point of contrast for testing
  • 6. Hypotheses testing • When we test observed results against null: – We can make two decisions: • 1. Accept the null – No significant relationship – Observed results similar to the Null Hypothesis • 2. Reject the null – Significant relationship – Observed results different from the Null Hypothesis – Whichever decision, we risk making an error
  • 7. 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 • 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
  • 8. Potential outcomes of testing Decision Accept Null Reject Null R E No 1 2 A Relationship L I Relationship T 3 4 Y
  • 9. Potential outcomes of testing Decision Accept Null Reject Null Correct R E No decision 2 A Relationship L I Relationship T 3 4 Y
  • 10. Potential outcomes of testing Decision Accept Null Reject Null R E A No Relationship 1 2 L I Relationship T Y Correct 3 decision
  • 11. Potential outcomes of testing Decision Accept Null Reject Null R E No 1 Type I Error A Relationship L I Relationship T Y 3 4
  • 12. Potential outcomes of testing Decision Accept Null Reject Null R E No 1 2 A Relationship L I Relationship T Y Type II Error 4
  • 13. Potential outcomes of testing Decision Accept Null Reject Null Correct Type I Error decision R E No A Relationship L I Relationship T Y Correct Type II Error decision
  • 14. Function of Statistical Tests • Statistical tests determine: – Accept or Reject the Null Hypothesis • Based on probability of making a Type I error – Observed results compared to the results expected by the Null Hypotheses – What is the probability of getting observed results if Null Hypothesis were true? • If results would occur less than 5% of the time by simple chance then we reject the Null Hypothesis
  • 15. Start by setting level of risk of making a Type I Error • How dangerous is it to make a Type I Error: – What risk is acceptable?: • 5%? • 1%? • .1%? – Smaller percentages are more conservative in guarding against a Type I Error • Level of acceptable risk is called “Significance level” : – Usually the cutoff - <.05
  • 16. Conventional Significance Levels • .05 level (5% chance of Type I Error) • .01 level (1% chance of Type I Error) • .001 level (.1% chance of Type I Error) • Rejecting the Null at the .05 level means: – Taking a 5% risk of making a Type I Error
  • 17. Steps in Hypothesis Testing • 1. State research hypothesis • 2. State null hypothesis • 3.Set significance level (e.g., .05 level) • 4. Observe results • 5. Statistics calculate probability of results if null hypothesis were true • 6. If probability of observed results is less than significance level, then reject the null
  • 18. Guarding against Type I Error • Significance level regulates Type I Error • Conservative standards reduce Type I Error: – .01 instead of .05, especially with large sample • Reducing the probability of Type I Error: – Increases the probability of Type II Error • Sample size regulates Type II Error – The larger the sample, the lower the probability of Type II Error occurring in conservative testing
  • 19. Statistical Power • The power to detect significant relationships – The larger the sample size, the more power – The larger the sample size, the lower the probability of Type II Error • Power = 1 – probability of Type II Error
  • 20. Statistical Analysis • Statistical analysis: – Examines observed data – Calculates the probability that the results could occur by chance (I.e., if Null was true) • Choice of statistical test depends on: – Level of measurement of the variables in question: • Nominal, Ordinal, Interval or Ratio
  • 21. Logic of data analysis • Univariate analysis – One variable at a time (descriptive) • Bivariate analysis – Two variables at a time (testing relationships) • Multivariate analysis – More than two variables at a time (testing relationships and controlling for other variables)
  • 22. Variables • Dependent variable: – What we are trying to predict – E.g., Brand preference • Independent variables: – What we are using as predictors – E.g., Gender, Product usage history
  • 23. Commonality across all statistical analysis procedures • Set the significance level: – E.g., .05 level • Means that we are willing to conclude that there is a relationship if: – Chance of Type I error is less than 5% • Statistical tests tell us whether: – The observed relationship has less than a 5% chance of occurring by chance
  • 24. Summary of Statistical Procedures Variables Procedure Nominal IV, Nominal DV Chi-square Nominal IV, Ratio DV T-test Multiple Nominal IVs, Ratio ANOVA DV Ratio IV, Ratio DV Pearson’s R Multiple Nominal IVs, Ratio ANCOVA DV with ratio covariates Multiple ratio Multiple Regression