SlideShare a Scribd company logo
1 of 3
. Chi-Square Test
What is chi-square testing?
o Identifiessignificantdifferencesamongthe observedfrequenciesandthe expected
frequenciesof aparticulargroup
o attemptsto identifywhetheranydifference betweenthe expectedandobserved
frequencies are due tochance,or some otherfactor that isaffectingit.
o There are actuallymanytypesof Chi-square tests,butthe mostcommonone isthe
Pearson Chi-squareTest.
Terms and Definitions
o Categorical Data- 2 types
a. Numerical data- informof numbers.(ex.1,2,3,4)
b. Categorical data- comesinformof divisions.(ex.Yesorno)
o ExpectedFrequencies
-valuesforparametersthatare hypothesizedtooccur
-can be determinedthrough:
1) hypothesizingthatthe frequencies are equal for each category.
2)hypothesizingthe valuesonthe basisof some prior knowledge.
3)a mathematical method
Two applications ofPearson Chi-Square Test
1) Chi-square testforIndependence
-Thistestswhetherthe “category”fromwhichthe data comesfromaffectsthe data.
-May alsobe thoughtof as testingwhetherthe categoriesinthe experiment“prefer”certain
kindsof data.
Example:Isthere a difference inthe carchoicesof male and females?
2) Chi-square testforgoodness-of-fit
-Thistestswhetherthe observed data“fit”the expected data.
Example:Dothe car salesthisyearmatch the car saleslastyear?(ie.Didwe still sell around50
blue cars? 25 redcars?)
Requirementsofthe Chi-squaredTest
1. The valuesof the parameterstobe comparedare quantitative andnominal.
2. There shouldbe one or more categoriesinthe setup.
3. The observationsshouldbe independentof eachother.
4. An adequate sample size.(atleast10)
5. All observationsmustbe used.
Steps of the Chi-squared Test
Step 1: State the null hypothesis and the alternative hypothesis.
NULL HYPOTHESIS:
Ho: There is no significant difference between the expected frequencies and the observed
frequencies.
Or
Ho: There is no significant difference between the number of papers gathered, and the number of papers
in total.
ALTERNATIVE HYPOTHESIS:
Ha: There is a significant difference between the expected frequencies and the observed frequencies.
Step 2: State the level of significance.
Most scientific experiments use the level of significance of:
α = 0.05
Step 3: Construct a table of the following form.
Category O E (O-E) (O-E)2
(O-E)2
/E
Category1
Category2
Category3
O is the observed frequencies
E is the expected frequencies
Step 4: Compute the chi-square value using the table.
Formula for chi-square value:
O is the observed frequencies
E is the expected frequencies
And x2 is the chi-square value

More Related Content

Viewers also liked

Cat room assignments for lakbay-aral (v1).
Cat   room assignments for lakbay-aral (v1).Cat   room assignments for lakbay-aral (v1).
Cat room assignments for lakbay-aral (v1).iamkim
 
Pax romana2
Pax romana2Pax romana2
Pax romana2iamkim
 
Ss greek civilization
Ss   greek civilizationSs   greek civilization
Ss greek civilizationiamkim
 
Family day 2010 newsletter final
Family day 2010 newsletter   finalFamily day 2010 newsletter   final
Family day 2010 newsletter finaliamkim
 
Physics statics
Physics   staticsPhysics   statics
Physics staticsiamkim
 
14 january 2011 congress
14 january 2011 congress14 january 2011 congress
14 january 2011 congressiamkim
 
Chi square hand out (1)
Chi square hand out (1)Chi square hand out (1)
Chi square hand out (1)iamkim
 
Str statistics lec notes
Str   statistics lec notesStr   statistics lec notes
Str statistics lec notesiamkim
 
Fil panitikan
Fil   panitikanFil   panitikan
Fil panitikaniamkim
 
Str tlc
Str   tlcStr   tlc
Str tlciamkim
 
Nat Sci - Minerals
Nat Sci - MineralsNat Sci - Minerals
Nat Sci - Mineralsiamkim
 
3F test / Introduction
3F test / Introduction3F test / Introduction
3F test / Introductionvit_r
 
ejemplo
ejemploejemplo
ejemplojanmar
 
Porter Marcompresentation
Porter MarcompresentationPorter Marcompresentation
Porter MarcompresentationAndrew J Porter
 
Ymsat sched
Ymsat   schedYmsat   sched
Ymsat schediamkim
 
Platoon assignments (no signatures)
Platoon assignments (no signatures)Platoon assignments (no signatures)
Platoon assignments (no signatures)iamkim
 
Aljona Radzivill Resume 2
Aljona Radzivill Resume 2Aljona Radzivill Resume 2
Aljona Radzivill Resume 2Aljona
 
Aprendizaje participativo foro
Aprendizaje participativo foroAprendizaje participativo foro
Aprendizaje participativo foroIUV
 
Gpw 2013, Konstruktive Paranoia, 2013-03-15
Gpw 2013, Konstruktive Paranoia,  2013-03-15Gpw 2013, Konstruktive Paranoia,  2013-03-15
Gpw 2013, Konstruktive Paranoia, 2013-03-15vit_r
 

Viewers also liked (20)

Cat room assignments for lakbay-aral (v1).
Cat   room assignments for lakbay-aral (v1).Cat   room assignments for lakbay-aral (v1).
Cat room assignments for lakbay-aral (v1).
 
Pax romana2
Pax romana2Pax romana2
Pax romana2
 
Ss greek civilization
Ss   greek civilizationSs   greek civilization
Ss greek civilization
 
Family day 2010 newsletter final
Family day 2010 newsletter   finalFamily day 2010 newsletter   final
Family day 2010 newsletter final
 
Physics statics
Physics   staticsPhysics   statics
Physics statics
 
14 january 2011 congress
14 january 2011 congress14 january 2011 congress
14 january 2011 congress
 
Chi square hand out (1)
Chi square hand out (1)Chi square hand out (1)
Chi square hand out (1)
 
Str statistics lec notes
Str   statistics lec notesStr   statistics lec notes
Str statistics lec notes
 
Fil panitikan
Fil   panitikanFil   panitikan
Fil panitikan
 
Str tlc
Str   tlcStr   tlc
Str tlc
 
Nat Sci - Minerals
Nat Sci - MineralsNat Sci - Minerals
Nat Sci - Minerals
 
3F test / Introduction
3F test / Introduction3F test / Introduction
3F test / Introduction
 
ejemplo
ejemploejemplo
ejemplo
 
Porter Marcompresentation
Porter MarcompresentationPorter Marcompresentation
Porter Marcompresentation
 
Ymsat sched
Ymsat   schedYmsat   sched
Ymsat sched
 
Platoon assignments (no signatures)
Platoon assignments (no signatures)Platoon assignments (no signatures)
Platoon assignments (no signatures)
 
Lac presentation
Lac presentationLac presentation
Lac presentation
 
Aljona Radzivill Resume 2
Aljona Radzivill Resume 2Aljona Radzivill Resume 2
Aljona Radzivill Resume 2
 
Aprendizaje participativo foro
Aprendizaje participativo foroAprendizaje participativo foro
Aprendizaje participativo foro
 
Gpw 2013, Konstruktive Paranoia, 2013-03-15
Gpw 2013, Konstruktive Paranoia,  2013-03-15Gpw 2013, Konstruktive Paranoia,  2013-03-15
Gpw 2013, Konstruktive Paranoia, 2013-03-15
 

Similar to Chi square hand out

Similar to Chi square hand out (20)

Categorical Data and Statistical Analysis
Categorical Data and Statistical AnalysisCategorical Data and Statistical Analysis
Categorical Data and Statistical Analysis
 
Chi square mahmoud
Chi square mahmoudChi square mahmoud
Chi square mahmoud
 
chi-squaretest-170826142554 (1).ppt
chi-squaretest-170826142554 (1).pptchi-squaretest-170826142554 (1).ppt
chi-squaretest-170826142554 (1).ppt
 
Chi square
Chi square Chi square
Chi square
 
Chi square
Chi squareChi square
Chi square
 
Chi
ChiChi
Chi
 
Qt theory at a glance
Qt theory at a glanceQt theory at a glance
Qt theory at a glance
 
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptxCHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
 
Statistics
Statistics Statistics
Statistics
 
Chi square[1]
Chi square[1]Chi square[1]
Chi square[1]
 
chapter18.ppt
chapter18.pptchapter18.ppt
chapter18.ppt
 
chapter18.ppt
chapter18.pptchapter18.ppt
chapter18.ppt
 
chi sqare test.ppt
chi sqare test.pptchi sqare test.ppt
chi sqare test.ppt
 
chapter18.ppt
chapter18.pptchapter18.ppt
chapter18.ppt
 
Inferential Statistics: Chi Square (X2) - DAY 6 - B.ED - 8614 - AIOU
Inferential Statistics: Chi Square (X2) - DAY 6 - B.ED - 8614 - AIOUInferential Statistics: Chi Square (X2) - DAY 6 - B.ED - 8614 - AIOU
Inferential Statistics: Chi Square (X2) - DAY 6 - B.ED - 8614 - AIOU
 
Chi-square IMP.ppt
Chi-square IMP.pptChi-square IMP.ppt
Chi-square IMP.ppt
 
Statistic and orthodontic by almuzian
Statistic and orthodontic by almuzianStatistic and orthodontic by almuzian
Statistic and orthodontic by almuzian
 
Chi – square test
Chi – square testChi – square test
Chi – square test
 
Basen Network
Basen NetworkBasen Network
Basen Network
 
36086 Topic Discussion3Number of Pages 2 (Double Spaced).docx
36086 Topic Discussion3Number of Pages 2 (Double Spaced).docx36086 Topic Discussion3Number of Pages 2 (Double Spaced).docx
36086 Topic Discussion3Number of Pages 2 (Double Spaced).docx
 

More from iamkim

Nat sci minerals part1
Nat sci   minerals part1Nat sci   minerals part1
Nat sci minerals part1iamkim
 
Batch 2012 schedule of exit interview
Batch 2012 schedule of exit interviewBatch 2012 schedule of exit interview
Batch 2012 schedule of exit interviewiamkim
 
College test results b2012
College test results b2012College test results b2012
College test results b2012iamkim
 
Chem cations
Chem   cationsChem   cations
Chem cationsiamkim
 
Chem anions
Chem   anionsChem   anions
Chem anionsiamkim
 
Grad ball collections per section(01 28-12)
Grad ball collections per section(01 28-12)Grad ball collections per section(01 28-12)
Grad ball collections per section(01 28-12)iamkim
 
Congratulations to batch 2012 star scholar candidates
Congratulations to batch 2012 star scholar candidatesCongratulations to batch 2012 star scholar candidates
Congratulations to batch 2012 star scholar candidatesiamkim
 
Retreat consent form
Retreat consent formRetreat consent form
Retreat consent formiamkim
 
Retreat agreements
Retreat agreementsRetreat agreements
Retreat agreementsiamkim
 
Fil la loba negra
Fil   la loba negraFil   la loba negra
Fil la loba negraiamkim
 
Fil fray botod
Fil   fray botodFil   fray botod
Fil fray botodiamkim
 
Fil 3 q readings
Fil   3 q readingsFil   3 q readings
Fil 3 q readingsiamkim
 
Dasalan at tocsohan
Dasalan at tocsohanDasalan at tocsohan
Dasalan at tocsohaniamkim
 
Chem ps electrolysis
Chem   ps electrolysisChem   ps electrolysis
Chem ps electrolysisiamkim
 
Physics waves
Physics   wavesPhysics   waves
Physics wavesiamkim
 
Math 3 hw ps2
Math   3 hw ps2Math   3 hw ps2
Math 3 hw ps2iamkim
 
Memo circular # 4 dtd nov 4, 2011
Memo circular # 4 dtd nov 4, 2011Memo circular # 4 dtd nov 4, 2011
Memo circular # 4 dtd nov 4, 2011iamkim
 
Final creative shots hair & makeup evaluation (110211)
Final creative shots hair & makeup evaluation (110211)Final creative shots hair & makeup evaluation (110211)
Final creative shots hair & makeup evaluation (110211)iamkim
 
Creative shots hair & makeup evaluation (110211)
Creative shots hair & makeup evaluation (110211)Creative shots hair & makeup evaluation (110211)
Creative shots hair & makeup evaluation (110211)iamkim
 
Cat creative marching guidelines
Cat   creative marching guidelinesCat   creative marching guidelines
Cat creative marching guidelinesiamkim
 

More from iamkim (20)

Nat sci minerals part1
Nat sci   minerals part1Nat sci   minerals part1
Nat sci minerals part1
 
Batch 2012 schedule of exit interview
Batch 2012 schedule of exit interviewBatch 2012 schedule of exit interview
Batch 2012 schedule of exit interview
 
College test results b2012
College test results b2012College test results b2012
College test results b2012
 
Chem cations
Chem   cationsChem   cations
Chem cations
 
Chem anions
Chem   anionsChem   anions
Chem anions
 
Grad ball collections per section(01 28-12)
Grad ball collections per section(01 28-12)Grad ball collections per section(01 28-12)
Grad ball collections per section(01 28-12)
 
Congratulations to batch 2012 star scholar candidates
Congratulations to batch 2012 star scholar candidatesCongratulations to batch 2012 star scholar candidates
Congratulations to batch 2012 star scholar candidates
 
Retreat consent form
Retreat consent formRetreat consent form
Retreat consent form
 
Retreat agreements
Retreat agreementsRetreat agreements
Retreat agreements
 
Fil la loba negra
Fil   la loba negraFil   la loba negra
Fil la loba negra
 
Fil fray botod
Fil   fray botodFil   fray botod
Fil fray botod
 
Fil 3 q readings
Fil   3 q readingsFil   3 q readings
Fil 3 q readings
 
Dasalan at tocsohan
Dasalan at tocsohanDasalan at tocsohan
Dasalan at tocsohan
 
Chem ps electrolysis
Chem   ps electrolysisChem   ps electrolysis
Chem ps electrolysis
 
Physics waves
Physics   wavesPhysics   waves
Physics waves
 
Math 3 hw ps2
Math   3 hw ps2Math   3 hw ps2
Math 3 hw ps2
 
Memo circular # 4 dtd nov 4, 2011
Memo circular # 4 dtd nov 4, 2011Memo circular # 4 dtd nov 4, 2011
Memo circular # 4 dtd nov 4, 2011
 
Final creative shots hair & makeup evaluation (110211)
Final creative shots hair & makeup evaluation (110211)Final creative shots hair & makeup evaluation (110211)
Final creative shots hair & makeup evaluation (110211)
 
Creative shots hair & makeup evaluation (110211)
Creative shots hair & makeup evaluation (110211)Creative shots hair & makeup evaluation (110211)
Creative shots hair & makeup evaluation (110211)
 
Cat creative marching guidelines
Cat   creative marching guidelinesCat   creative marching guidelines
Cat creative marching guidelines
 

Chi square hand out

  • 1. . Chi-Square Test What is chi-square testing? o Identifiessignificantdifferencesamongthe observedfrequenciesandthe expected frequenciesof aparticulargroup o attemptsto identifywhetheranydifference betweenthe expectedandobserved frequencies are due tochance,or some otherfactor that isaffectingit. o There are actuallymanytypesof Chi-square tests,butthe mostcommonone isthe Pearson Chi-squareTest. Terms and Definitions o Categorical Data- 2 types a. Numerical data- informof numbers.(ex.1,2,3,4) b. Categorical data- comesinformof divisions.(ex.Yesorno) o ExpectedFrequencies -valuesforparametersthatare hypothesizedtooccur -can be determinedthrough: 1) hypothesizingthatthe frequencies are equal for each category. 2)hypothesizingthe valuesonthe basisof some prior knowledge. 3)a mathematical method Two applications ofPearson Chi-Square Test 1) Chi-square testforIndependence -Thistestswhetherthe “category”fromwhichthe data comesfromaffectsthe data. -May alsobe thoughtof as testingwhetherthe categoriesinthe experiment“prefer”certain kindsof data. Example:Isthere a difference inthe carchoicesof male and females? 2) Chi-square testforgoodness-of-fit -Thistestswhetherthe observed data“fit”the expected data. Example:Dothe car salesthisyearmatch the car saleslastyear?(ie.Didwe still sell around50 blue cars? 25 redcars?) Requirementsofthe Chi-squaredTest 1. The valuesof the parameterstobe comparedare quantitative andnominal. 2. There shouldbe one or more categoriesinthe setup.
  • 2. 3. The observationsshouldbe independentof eachother. 4. An adequate sample size.(atleast10) 5. All observationsmustbe used. Steps of the Chi-squared Test Step 1: State the null hypothesis and the alternative hypothesis. NULL HYPOTHESIS: Ho: There is no significant difference between the expected frequencies and the observed frequencies. Or Ho: There is no significant difference between the number of papers gathered, and the number of papers in total. ALTERNATIVE HYPOTHESIS: Ha: There is a significant difference between the expected frequencies and the observed frequencies. Step 2: State the level of significance. Most scientific experiments use the level of significance of: α = 0.05 Step 3: Construct a table of the following form. Category O E (O-E) (O-E)2 (O-E)2 /E Category1 Category2 Category3 O is the observed frequencies E is the expected frequencies Step 4: Compute the chi-square value using the table. Formula for chi-square value:
  • 3. O is the observed frequencies E is the expected frequencies And x2 is the chi-square value