SlideShare a Scribd company logo
1 of 26
Chi Square & Related Procedure
Why do we need Chi Square Procedures?
Limitation of
Binomial Test
Qualitative
Association
Binomial Test is for Binomial
variables. If there are
multinomial variables then
1. Identical Trial
2. There are k different outcomes
3. Probability of outcomes do not change from
trail to trial
4. Independent trials
Measure of Correlation does not work in case of
qualitative variables
Multinomial
Distribution
Multinomial
Distribution is
required
What is Chi Square Distribution?
Distribution Z2 = χ2
(1)
Distribution ΣZ2 = Z1
2 + Z2
2 + Z3
2 + … + Zk
2 = χ2
(k)
Properties
Takes only positive Value
Skewed, but becomes normal with increasing n
Mean = k, Variance = 2k
Shape of Chi Square Distribution
Uses of Chi Square & Assumptions
Goodness of
Fit Test
To check whether the given data
follows a given distribution or not
Test of
Association
To check whether the two
variables are associated or not
Assumptions
Qualitative DataData Type
E > = 1
Expected
Frequency
At most 20% Es can be less than 5
Chi Square = Σ {(O – E)2 /E}
Goodness of Fit test
Hypothesis
The data follows the
said distribution
Test
Chi Square Calculated > Chi Square Tabulated (df)
Reject H0
The distribution of market
share is as it was last year
Chi Square Calculated = Σ {(O – E)2 /E}
Significance
level
1%, or 5%
E = np
Always Check the Assumptions
If Assumptions do not meet then what
P < α
Goodness of Fit test Using SPSS
How the Data
Looks
Issue
Whether the market share of three firms has changed or not.
Last year market share distribution was as follows
(A = 25%, B = 40%, C =35%)
Sample Size = 52
Goodness of Fit test Using SPSS
Press
Goodness of Fit test Using SPSS
Brand
Observed N Expected N Residual
A 12 13.0 -1.0
B 24 20.8 3.2
C 16 18.2 -2.2
Total 52
Test Statistics
Brand
Chi-Square .835
a
df 2
Asymp. Sig. .659
a. 0 cells (0.0%) have expected frequencies less than 5.
The minimum expected cell frequency is 13.0.
Goodness of Fit test Using SPSS
Test of Association
Hypothesis
Variables are associated
or dependent
Test
Chi Square Calculated > Chi Square Tabulated (df)
Reject H0
Result is associated with
Gender
Chi Square Calculated = Σ {(O – E)2 /E}
Significance
level
1%, or 5%
E = CR/T
Always Check the Assumptions
If Assumptions do not meet then what
P < α
Test of Association Using SPSS
How the Data
Looks
Issue Result is associated with Gender
Sample Size = 40
Test of Association
Test of Association
Test of Association
Test of Association
Press
Result
TotalPass Fail
Gender Male 12 8 20
Female 14 6 20
Total 26 14 40
Test of Association
Chi-Square Tests
Value df
Asymp. Sig.
(2-sided)
Exact Sig. (2-
sided)
Exact Sig. (1-
sided)
Pearson Chi-Square .440
a
1 .507
a. 0 cells (0.0%) have expected count less than 5. The minimum expected
count is 7.00.
b. Computed only for a 2x2 table
Fisher Exact Test
Fisher
Probability
If Assumptions do not meet then what
It is the substitute of Chi Square of Association when Sample size is
small
McNamer Test for Dependent Association
McNamer Those who were arrested stealing will be rearrested stealing
Test of
Association
changes in related or paired binomial attributes, whether
changes in one direction is significantly greater than that in
the opposite direction.
Working
Compares the ratio of change with the total who changed.
Opinion After
Favor Not Favor Total
Opion
Before
Favor a b a+b
Not Favor c d c+d
Total a+c b+d a+b+c+d
Opinion After
Favor Not Favor Total
Opion
Before
Favor a b a+b
Not Favor c d c+d
Total a+c b+d a+b+c+d
McNamer Test Using SPSS
Issue
Is there any association in the opinion before and
after the speech given be a political leader?
How the Data
Looks
Sample Size = 20
Opinion_bf & Opinion_after
Opinion_bf
Opinion_after
Favorable Unfavorable
Favorable 7 4
Unfavorable 5 4
Test Statisticsa
Opinion_bf &
Opinion_after
N 20
Exact Sig. (2-tailed) 1.000
b
a. McNemar Test
b. Binomial distribution used.
Hypothesis Testing of Categorical Data
Single Variable Two Variables
One
Population
Two
Population
Binary
Values
Multiple
Values
Goodness
of Fit Test
Independent
Values
Paired Values
Chi Square Test
of Association
Fisher
McNamer
Test
Z Test of
Proportion
Binomial Test
Large Sample
Normal Dist
Small Sample
Chi Square
Assumptions Met
YesNo

More Related Content

What's hot (19)

Chi(ki) square test
Chi(ki) square testChi(ki) square test
Chi(ki) square test
 
Chi square test
Chi square testChi square test
Chi square test
 
Chi square test presentation
Chi square test presentationChi square test presentation
Chi square test presentation
 
Chi square
Chi squareChi square
Chi square
 
Chi square Test
Chi square TestChi square Test
Chi square Test
 
Chi square test
Chi square testChi square test
Chi square test
 
What is chi square test
What  is  chi square testWhat  is  chi square test
What is chi square test
 
Chi square test final presentation
Chi square test final presentationChi square test final presentation
Chi square test final presentation
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
The chi – square test
The chi – square testThe chi – square test
The chi – square test
 
chi square test ( homo)
chi square test ( homo)chi square test ( homo)
chi square test ( homo)
 
Goodness Of Fit Test
Goodness Of Fit TestGoodness Of Fit Test
Goodness Of Fit Test
 
Chi square test
Chi square testChi square test
Chi square test
 
Research methodology chi square test
Research methodology  chi square testResearch methodology  chi square test
Research methodology chi square test
 
B.9 chi square
B.9 chi squareB.9 chi square
B.9 chi square
 
Chi square
Chi squareChi square
Chi square
 
Freq distribution
Freq distributionFreq distribution
Freq distribution
 
Chi square test
Chi square testChi square test
Chi square test
 
Chi sqyre test
Chi sqyre testChi sqyre test
Chi sqyre test
 

Similar to Chi square & related procedure

Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarAzmi Mohd Tamil
 
Week8finalexamlivelecture2011 mt
Week8finalexamlivelecture2011 mtWeek8finalexamlivelecture2011 mt
Week8finalexamlivelecture2011 mtBrent Heard
 
Res 342 final exam
Res 342 final examRes 342 final exam
Res 342 final exammn8676766
 
Res 342 final exam
Res 342 final examRes 342 final exam
Res 342 final examnbvyut9878
 
Chi square analysis-for_attribute_data_(01-14-06)
Chi square analysis-for_attribute_data_(01-14-06)Chi square analysis-for_attribute_data_(01-14-06)
Chi square analysis-for_attribute_data_(01-14-06)Daniel Augustine
 
RES 342 Final Exam
RES 342 Final Exam RES 342 Final Exam
RES 342 Final Exam heightly
 
RES 342 Final Exam Answers
RES 342 Final Exam AnswersRES 342 Final Exam Answers
RES 342 Final Exam Answersheightly
 
Res 342 Final
Res 342 FinalRes 342 Final
Res 342 Finalheightly
 
Week8 finalexamlivelecture 2010december
Week8 finalexamlivelecture 2010decemberWeek8 finalexamlivelecture 2010december
Week8 finalexamlivelecture 2010decemberBrent Heard
 
Week8finalexamlivelecture2011
Week8finalexamlivelecture2011Week8finalexamlivelecture2011
Week8finalexamlivelecture2011Brent Heard
 
Stat 130 chi-square goodnes-of-fit test
Stat 130   chi-square goodnes-of-fit testStat 130   chi-square goodnes-of-fit test
Stat 130 chi-square goodnes-of-fit testAldrin Lozano
 
Chi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptxChi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptxlushomo3
 
Lesson06_static11
Lesson06_static11Lesson06_static11
Lesson06_static11thangv
 
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
 
RES 342 Final Exam
RES 342 Final ExamRES 342 Final Exam
RES 342 Final ExamClickme1
 
QUANTITATIVE TECHNIQUES IN MANAGEMENT
QUANTITATIVE TECHNIQUES IN MANAGEMENTQUANTITATIVE TECHNIQUES IN MANAGEMENT
QUANTITATIVE TECHNIQUES IN MANAGEMENTamitymbaassignment
 
Module 1 Powerpoint 2.pptx
Module 1 Powerpoint 2.pptxModule 1 Powerpoint 2.pptx
Module 1 Powerpoint 2.pptxZyrenMisaki
 
PRM project report
PRM project reportPRM project report
PRM project reportneha singh
 

Similar to Chi square & related procedure (20)

Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemar
 
Week8finalexamlivelecture2011 mt
Week8finalexamlivelecture2011 mtWeek8finalexamlivelecture2011 mt
Week8finalexamlivelecture2011 mt
 
Res 342 final exam
Res 342 final examRes 342 final exam
Res 342 final exam
 
Res 342 final exam
Res 342 final examRes 342 final exam
Res 342 final exam
 
Chi square analysis-for_attribute_data_(01-14-06)
Chi square analysis-for_attribute_data_(01-14-06)Chi square analysis-for_attribute_data_(01-14-06)
Chi square analysis-for_attribute_data_(01-14-06)
 
RES 342 Final Exam
RES 342 Final Exam RES 342 Final Exam
RES 342 Final Exam
 
RES 342 Final Exam Answers
RES 342 Final Exam AnswersRES 342 Final Exam Answers
RES 342 Final Exam Answers
 
Res 342 Final
Res 342 FinalRes 342 Final
Res 342 Final
 
Chisquared test.pptx
Chisquared test.pptxChisquared test.pptx
Chisquared test.pptx
 
Week8 finalexamlivelecture 2010december
Week8 finalexamlivelecture 2010decemberWeek8 finalexamlivelecture 2010december
Week8 finalexamlivelecture 2010december
 
Week8finalexamlivelecture2011
Week8finalexamlivelecture2011Week8finalexamlivelecture2011
Week8finalexamlivelecture2011
 
Stat 130 chi-square goodnes-of-fit test
Stat 130   chi-square goodnes-of-fit testStat 130   chi-square goodnes-of-fit test
Stat 130 chi-square goodnes-of-fit test
 
Chi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptxChi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptx
 
Res 342 final exams
Res 342 final examsRes 342 final exams
Res 342 final exams
 
Lesson06_static11
Lesson06_static11Lesson06_static11
Lesson06_static11
 
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
 
RES 342 Final Exam
RES 342 Final ExamRES 342 Final Exam
RES 342 Final Exam
 
QUANTITATIVE TECHNIQUES IN MANAGEMENT
QUANTITATIVE TECHNIQUES IN MANAGEMENTQUANTITATIVE TECHNIQUES IN MANAGEMENT
QUANTITATIVE TECHNIQUES IN MANAGEMENT
 
Module 1 Powerpoint 2.pptx
Module 1 Powerpoint 2.pptxModule 1 Powerpoint 2.pptx
Module 1 Powerpoint 2.pptx
 
PRM project report
PRM project reportPRM project report
PRM project report
 

More from Pakistan Gum Industries Pvt. Ltd (20)

Transportation management
Transportation  managementTransportation  management
Transportation management
 
Anum alam initial pages. 090
Anum alam initial pages. 090Anum alam initial pages. 090
Anum alam initial pages. 090
 
Airlineres
AirlineresAirlineres
Airlineres
 
Farehalet
FarehaletFarehalet
Farehalet
 
Cv ali final
Cv ali finalCv ali final
Cv ali final
 
Ali hasan
Ali hasanAli hasan
Ali hasan
 
(Resume) tariq pervez
(Resume) tariq pervez(Resume) tariq pervez
(Resume) tariq pervez
 
Graded businessvocabularylist
Graded businessvocabularylistGraded businessvocabularylist
Graded businessvocabularylist
 
Vacation accrued
Vacation accruedVacation accrued
Vacation accrued
 
Sick time
Sick timeSick time
Sick time
 
Blank employee letter
Blank employee letterBlank employee letter
Blank employee letter
 
Mobile advertising final
Mobile advertising finalMobile advertising final
Mobile advertising final
 
Introduction
IntroductionIntroduction
Introduction
 
Final iran
Final iranFinal iran
Final iran
 
Saudi arabia
Saudi arabiaSaudi arabia
Saudi arabia
 
The united nations security council
The united nations security councilThe united nations security council
The united nations security council
 
Presentation 6
Presentation 6Presentation 6
Presentation 6
 
Paper saad niazi
Paper saad niaziPaper saad niazi
Paper saad niazi
 
History of e bay in china
History of e bay in chinaHistory of e bay in china
History of e bay in china
 
Case 1
Case 1Case 1
Case 1
 

Recently uploaded

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
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
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
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
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
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
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
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 

Recently uploaded (20)

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
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
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
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
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
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
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🔝
 
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
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 

Chi square & related procedure

  • 1. Chi Square & Related Procedure
  • 2. Why do we need Chi Square Procedures? Limitation of Binomial Test Qualitative Association Binomial Test is for Binomial variables. If there are multinomial variables then 1. Identical Trial 2. There are k different outcomes 3. Probability of outcomes do not change from trail to trial 4. Independent trials Measure of Correlation does not work in case of qualitative variables Multinomial Distribution Multinomial Distribution is required
  • 3. What is Chi Square Distribution? Distribution Z2 = χ2 (1) Distribution ΣZ2 = Z1 2 + Z2 2 + Z3 2 + … + Zk 2 = χ2 (k) Properties Takes only positive Value Skewed, but becomes normal with increasing n Mean = k, Variance = 2k
  • 4. Shape of Chi Square Distribution
  • 5. Uses of Chi Square & Assumptions Goodness of Fit Test To check whether the given data follows a given distribution or not Test of Association To check whether the two variables are associated or not Assumptions Qualitative DataData Type E > = 1 Expected Frequency At most 20% Es can be less than 5 Chi Square = Σ {(O – E)2 /E}
  • 6. Goodness of Fit test Hypothesis The data follows the said distribution Test Chi Square Calculated > Chi Square Tabulated (df) Reject H0 The distribution of market share is as it was last year Chi Square Calculated = Σ {(O – E)2 /E} Significance level 1%, or 5% E = np Always Check the Assumptions If Assumptions do not meet then what P < α
  • 7. Goodness of Fit test Using SPSS How the Data Looks Issue Whether the market share of three firms has changed or not. Last year market share distribution was as follows (A = 25%, B = 40%, C =35%) Sample Size = 52
  • 8. Goodness of Fit test Using SPSS
  • 9. Press Goodness of Fit test Using SPSS
  • 10. Brand Observed N Expected N Residual A 12 13.0 -1.0 B 24 20.8 3.2 C 16 18.2 -2.2 Total 52 Test Statistics Brand Chi-Square .835 a df 2 Asymp. Sig. .659 a. 0 cells (0.0%) have expected frequencies less than 5. The minimum expected cell frequency is 13.0. Goodness of Fit test Using SPSS
  • 11. Test of Association Hypothesis Variables are associated or dependent Test Chi Square Calculated > Chi Square Tabulated (df) Reject H0 Result is associated with Gender Chi Square Calculated = Σ {(O – E)2 /E} Significance level 1%, or 5% E = CR/T Always Check the Assumptions If Assumptions do not meet then what P < α
  • 12. Test of Association Using SPSS How the Data Looks Issue Result is associated with Gender Sample Size = 40
  • 17. Result TotalPass Fail Gender Male 12 8 20 Female 14 6 20 Total 26 14 40 Test of Association Chi-Square Tests Value df Asymp. Sig. (2-sided) Exact Sig. (2- sided) Exact Sig. (1- sided) Pearson Chi-Square .440 a 1 .507 a. 0 cells (0.0%) have expected count less than 5. The minimum expected count is 7.00. b. Computed only for a 2x2 table
  • 18. Fisher Exact Test Fisher Probability If Assumptions do not meet then what It is the substitute of Chi Square of Association when Sample size is small
  • 19. McNamer Test for Dependent Association McNamer Those who were arrested stealing will be rearrested stealing Test of Association changes in related or paired binomial attributes, whether changes in one direction is significantly greater than that in the opposite direction. Working Compares the ratio of change with the total who changed.
  • 20. Opinion After Favor Not Favor Total Opion Before Favor a b a+b Not Favor c d c+d Total a+c b+d a+b+c+d Opinion After Favor Not Favor Total Opion Before Favor a b a+b Not Favor c d c+d Total a+c b+d a+b+c+d
  • 21. McNamer Test Using SPSS Issue Is there any association in the opinion before and after the speech given be a political leader? How the Data Looks Sample Size = 20
  • 22.
  • 23.
  • 24.
  • 25. Opinion_bf & Opinion_after Opinion_bf Opinion_after Favorable Unfavorable Favorable 7 4 Unfavorable 5 4 Test Statisticsa Opinion_bf & Opinion_after N 20 Exact Sig. (2-tailed) 1.000 b a. McNemar Test b. Binomial distribution used.
  • 26. Hypothesis Testing of Categorical Data Single Variable Two Variables One Population Two Population Binary Values Multiple Values Goodness of Fit Test Independent Values Paired Values Chi Square Test of Association Fisher McNamer Test Z Test of Proportion Binomial Test Large Sample Normal Dist Small Sample Chi Square Assumptions Met YesNo