SlideShare a Scribd company logo
1 of 15
Examining difference: chi-squared ( x 2 )
When to use Chi-Squared? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Performing the calculation You would use chi-squared if you were investigating difference between what you actually observed (by collecting primary or secondary data) and what you might normally expect to find. Here is an example from a piece of human geography research into urban development relating to the 2012 Olympics site. First, look at the chi-squared formula: o = the observed frequencies e = the expected frequencies Σ  = the ‘sum of’
Case Study: Using chi-squared to analyse questionnaire responses A student collected data on local people’s viewpoints about the building of the 2012 Olympic venue in Stratford, east London. She was interested in seeing if viewpoints changed according to the perspectives of different groups. Method She decided to collect 20 responses from each category of local person. After this, she discontinued the data collection. She know nothing about the local population’s demographic characteristics and did not try to reflect this in her study. Her questionnaire was a survey of viewpoints about the usefulness of the new Olympic developments for different groups (categories) of locals. This is the statement she posed: ‘ The 2012 Olympic Games development will be of benefit to the whole community of Stratford, east London.’ 1 2 3 4 Strongly agree Agree Disagree Strongly disagree
She wanted to find out if the type of local person influenced feelings about how useful the developments would be. She was particularly interested in those who felt negatively about the Olympic developments (disagreed or strongly disagreed) Here are the results of the survey. The residents had to choose which category best suited their own characteristics. Some of those questioned could have fitted into more than one category. For example, a business owner may also be a local resident. In this case the person questioned was disregarded from the study. Remember that 20 people responded from each category and she only recorded the frequency of negative response, i.e. those who either disagreed or strongly disagreed with the statement/ Category (type) Frequency of negative responses (Observed values: o) Business owner 4 School student 6 Adult male resident 14 Adult female resident 10 Senior citizen 16
The student added up the number of times a negative response to the question above was given. You can see that the categories seem to show large differences of opinion between the groups. A glance at the results suggests that different groups have responded very differently to the questionnaire. The chi-squared calculation helps us decide if there is a statistically significant difference between the groups. You can then use the critical values to assess the likelihood of the results being a chance or fluke set of figures The first task is to generate a  null hypothesis (H ₒ): ‘ There is no significant difference between the category of local person and the frequency of negative response.’ Now lets test this null hypothesis  (H ₒ).  It is much easier to start the calculation with a table.
In this example, the expected data (e) is simply taken as being the mean negative frequency of response. It is calculated by adding up all of the observed data (o) and then dividing by the number of categories, i.e. 5. This gives an expected frequency of 10 for each category. Business owner School student Adult male resident Adult female resident Senior citizen Total o 4 6 14 10 16 50 e 10 10 10 10 10 50 o - e -6 -------- (o – e)² 36 -------- (o – e)² e 3.6 -------- x² 3.6
In this example, the expected data (e) is simply taken as being the mean negative frequency of response. It is calculated by adding up all of the observed data (o) and then dividing by the number of categories, i.e. 5. This gives an expected frequency of 10 for each category. Business owner School student Adult male resident Adult female resident Senior citizen Total o 4 6 14 10 16 50 e 10 10 10 10 10 50 o - e -6 -4 4 0 6 -------- (o – e)² 36 16 16 0 36 -------- (o – e)² e 3.6 1.6 1.6 0 3.6 -------- x² 3.6 1.6 1.6 0 3.6 10.4
Interpreting your Chi-Squared Value ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Interpreting your Chi-Squared Value ,[object Object],[object Object],[object Object],What do our results mean? Confidence level 0.10 90% 0.05 95% 0.01 99% 0.005 99.5% Critical value 7.78 9.49 13.28 14.86
Interpreting the results The value of x² = 10.4 Using degrees of freedom and significance levels we can decide whether we are able to reject the null hypothesis  (H ₒ)  of: There is no significant difference between the category of local person and the frequency of negative response.’ For this study, the degrees of freedom is calculated as n - 1, where n is the number of categories in the sample. As were 5 categories, there are 4 degrees of freedom In order to reject the null hypothesis  (H ₒ) , our chi-squared score must be greater than the critical value at the 0.05 level of significance. Our value of 10.4 is higher than the 0.05 level of significance value of 9.49, therefore we can reject the null hypothesis  (H ₒ). Confidence level 0.10 90% 0.05 95% 0.01 99% 0.005 99.5% Critical value 7.78 9.49 13.28 14.86
Further applications of chi-square Use the tables on the following three slides to practice your working of the chi-squared (x²) Tables taken from chi-squared presentation produced by GeoBlogs on slideshare. http://www.slideshare.net/GeoBlogs/chi-squared
The number of buses observed per minute in relation to the distance from the city centre. Distance (km) No. of buses per min (O) Expected frequency (E) (O-E) (O-E) 2 (O-E) 2 /E 0 10 1 5 2 3 3 2 Σ
The relationship between the size of pebbles in a river in relation to the distance from its source. Distance from source (km) Average Diameter of pebbles (mm) (O) Expected frequency (E) (O-E) (O-E) 2 (O-E) 2 /E 0 100 1 60 2 20 3 20 Total
The number of cars observed in relation to the distance from my house. Distance from house (km) Number of cars seen (O) Expected frequency (E) (O-E) (O-E) 2 (O-E) 2 /E 0 52 1 53 2 51 3 44 Total

More Related Content

What's hot

What's hot (20)

Z test
Z testZ test
Z test
 
Introduction to t-tests (statistics)
Introduction to t-tests (statistics)Introduction to t-tests (statistics)
Introduction to t-tests (statistics)
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
HYPOTHESIS TESTING
HYPOTHESIS TESTINGHYPOTHESIS TESTING
HYPOTHESIS TESTING
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testing
 
Two sample t-test
Two sample t-testTwo sample t-test
Two sample t-test
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
chi square test ( homo)
chi square test ( homo)chi square test ( homo)
chi square test ( homo)
 
6 estimation hypothesis testing t test
6 estimation hypothesis testing t test6 estimation hypothesis testing t test
6 estimation hypothesis testing t test
 
Quantitative analysis
Quantitative analysisQuantitative analysis
Quantitative analysis
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
The kolmogorov smirnov test
The kolmogorov smirnov testThe kolmogorov smirnov test
The kolmogorov smirnov test
 
Chi – square test
Chi – square testChi – square test
Chi – square test
 
One sided or one-tailed tests
One sided or one-tailed testsOne sided or one-tailed tests
One sided or one-tailed tests
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
Four steps to hypothesis testing
Four steps to hypothesis testingFour steps to hypothesis testing
Four steps to hypothesis testing
 
T test
T testT test
T test
 

Viewers also liked

Standard Deviation
Standard DeviationStandard Deviation
Standard DeviationJRisi
 
regression and correlation
regression and correlationregression and correlation
regression and correlationPriya Sharma
 
Chi square test final
Chi square test finalChi square test final
Chi square test finalHar Jindal
 
Mann Whitney U Test And Chi Squared
Mann Whitney U Test And Chi SquaredMann Whitney U Test And Chi Squared
Mann Whitney U Test And Chi Squaredguest2137aa
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionMohit Asija
 
GCSE Geography: How And Why To Use Spearman’s Rank
GCSE Geography: How And Why To Use Spearman’s RankGCSE Geography: How And Why To Use Spearman’s Rank
GCSE Geography: How And Why To Use Spearman’s RankMark Cowan
 
Statistical Methods
Statistical MethodsStatistical Methods
Statistical Methodsguest9fa52
 

Viewers also liked (9)

Chi square test
Chi square testChi square test
Chi square test
 
Standard Deviation
Standard DeviationStandard Deviation
Standard Deviation
 
regression and correlation
regression and correlationregression and correlation
regression and correlation
 
Chi square test final
Chi square test finalChi square test final
Chi square test final
 
Mann Whitney U Test And Chi Squared
Mann Whitney U Test And Chi SquaredMann Whitney U Test And Chi Squared
Mann Whitney U Test And Chi Squared
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
GCSE Geography: How And Why To Use Spearman’s Rank
GCSE Geography: How And Why To Use Spearman’s RankGCSE Geography: How And Why To Use Spearman’s Rank
GCSE Geography: How And Why To Use Spearman’s Rank
 
Statistical Methods
Statistical MethodsStatistical Methods
Statistical Methods
 
Correlation and Simple Regression
Correlation  and Simple RegressionCorrelation  and Simple Regression
Correlation and Simple Regression
 

Similar to Chi Square Worked Example

Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research dataAtula Ahuja
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research dataAtula Ahuja
 
Question1The Tri-City School District has instituted a zero-tol.docx
Question1The Tri-City School District has instituted a zero-tol.docxQuestion1The Tri-City School District has instituted a zero-tol.docx
Question1The Tri-City School District has instituted a zero-tol.docxmakdul
 
This is my statistics exam I need help I have been lost this whole s.docx
This is my statistics exam I need help I have been lost this whole s.docxThis is my statistics exam I need help I have been lost this whole s.docx
This is my statistics exam I need help I have been lost this whole s.docxdivinapavey
 
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
 
Mba103 statistics for management
Mba103  statistics for managementMba103  statistics for management
Mba103 statistics for managementsmumbahelp
 
InstructionDue Date 6 pm on October 28 (Wed)Part IProbability a.docx
InstructionDue Date 6 pm on October 28 (Wed)Part IProbability a.docxInstructionDue Date 6 pm on October 28 (Wed)Part IProbability a.docx
InstructionDue Date 6 pm on October 28 (Wed)Part IProbability a.docxdirkrplav
 
F ProjHOSPITAL INPATIENT P & L20162017Variance Variance Per DC 20.docx
F ProjHOSPITAL INPATIENT P & L20162017Variance Variance Per DC 20.docxF ProjHOSPITAL INPATIENT P & L20162017Variance Variance Per DC 20.docx
F ProjHOSPITAL INPATIENT P & L20162017Variance Variance Per DC 20.docxmecklenburgstrelitzh
 
Mb0050 research methodology
Mb0050   research methodologyMb0050   research methodology
Mb0050 research methodologysmumbahelp
 
Identify each of the following as examples of nominal, ordinal, inte.docx
Identify each of the following as examples of nominal, ordinal, inte.docxIdentify each of the following as examples of nominal, ordinal, inte.docx
Identify each of the following as examples of nominal, ordinal, inte.docxscuttsginette
 
PSY520 – Module 7Answer SheetSubmit your answers in the .docx
PSY520 – Module 7Answer SheetSubmit your answers in the .docxPSY520 – Module 7Answer SheetSubmit your answers in the .docx
PSY520 – Module 7Answer SheetSubmit your answers in the .docxwoodruffeloisa
 
QNT 561 Week 4 Weekly Learning Assessments
QNT 561 Week 4 Weekly Learning Assessments  QNT 561 Week 4 Weekly Learning Assessments
QNT 561 Week 4 Weekly Learning Assessments student ehelp
 
1. What type of research uses numeric measurement data (Points .docx
1. What type of research uses numeric measurement data (Points  .docx1. What type of research uses numeric measurement data (Points  .docx
1. What type of research uses numeric measurement data (Points .docxpaynetawnya
 
1. What type of research uses numeric measurement data (Points .docx
1. What type of research uses numeric measurement data (Points  .docx1. What type of research uses numeric measurement data (Points  .docx
1. What type of research uses numeric measurement data (Points .docxjackiewalcutt
 
Exam III Tian Xia
Exam III Tian XiaExam III Tian Xia
Exam III Tian XiaTIAN XIA
 
Statistics question and answers with mcqs
Statistics question and answers with mcqsStatistics question and answers with mcqs
Statistics question and answers with mcqsNandiniYadav69
 
QNT Weekly learning assessments - Questions and Answers | UOP E Assignments
QNT Weekly learning assessments - Questions and Answers | UOP E AssignmentsQNT Weekly learning assessments - Questions and Answers | UOP E Assignments
QNT Weekly learning assessments - Questions and Answers | UOP E AssignmentsUOP E Assignments
 
Math 221 Massive Success / snaptutorial.com
Math 221 Massive Success / snaptutorial.comMath 221 Massive Success / snaptutorial.com
Math 221 Massive Success / snaptutorial.comStephenson164
 
Mb0050 research methodology
Mb0050   research methodologyMb0050   research methodology
Mb0050 research methodologysmumbahelp
 

Similar to Chi Square Worked Example (20)

Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
 
Question1The Tri-City School District has instituted a zero-tol.docx
Question1The Tri-City School District has instituted a zero-tol.docxQuestion1The Tri-City School District has instituted a zero-tol.docx
Question1The Tri-City School District has instituted a zero-tol.docx
 
This is my statistics exam I need help I have been lost this whole s.docx
This is my statistics exam I need help I have been lost this whole s.docxThis is my statistics exam I need help I have been lost this whole s.docx
This is my statistics exam I need help I have been lost this whole s.docx
 
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
 
Mba103 statistics for management
Mba103  statistics for managementMba103  statistics for management
Mba103 statistics for management
 
InstructionDue Date 6 pm on October 28 (Wed)Part IProbability a.docx
InstructionDue Date 6 pm on October 28 (Wed)Part IProbability a.docxInstructionDue Date 6 pm on October 28 (Wed)Part IProbability a.docx
InstructionDue Date 6 pm on October 28 (Wed)Part IProbability a.docx
 
F ProjHOSPITAL INPATIENT P & L20162017Variance Variance Per DC 20.docx
F ProjHOSPITAL INPATIENT P & L20162017Variance Variance Per DC 20.docxF ProjHOSPITAL INPATIENT P & L20162017Variance Variance Per DC 20.docx
F ProjHOSPITAL INPATIENT P & L20162017Variance Variance Per DC 20.docx
 
Mb0050 research methodology
Mb0050   research methodologyMb0050   research methodology
Mb0050 research methodology
 
Identify each of the following as examples of nominal, ordinal, inte.docx
Identify each of the following as examples of nominal, ordinal, inte.docxIdentify each of the following as examples of nominal, ordinal, inte.docx
Identify each of the following as examples of nominal, ordinal, inte.docx
 
PSY520 – Module 7Answer SheetSubmit your answers in the .docx
PSY520 – Module 7Answer SheetSubmit your answers in the .docxPSY520 – Module 7Answer SheetSubmit your answers in the .docx
PSY520 – Module 7Answer SheetSubmit your answers in the .docx
 
QNT 561 Week 4 Weekly Learning Assessments
QNT 561 Week 4 Weekly Learning Assessments  QNT 561 Week 4 Weekly Learning Assessments
QNT 561 Week 4 Weekly Learning Assessments
 
1. What type of research uses numeric measurement data (Points .docx
1. What type of research uses numeric measurement data (Points  .docx1. What type of research uses numeric measurement data (Points  .docx
1. What type of research uses numeric measurement data (Points .docx
 
Sampling
 Sampling Sampling
Sampling
 
1. What type of research uses numeric measurement data (Points .docx
1. What type of research uses numeric measurement data (Points  .docx1. What type of research uses numeric measurement data (Points  .docx
1. What type of research uses numeric measurement data (Points .docx
 
Exam III Tian Xia
Exam III Tian XiaExam III Tian Xia
Exam III Tian Xia
 
Statistics question and answers with mcqs
Statistics question and answers with mcqsStatistics question and answers with mcqs
Statistics question and answers with mcqs
 
QNT Weekly learning assessments - Questions and Answers | UOP E Assignments
QNT Weekly learning assessments - Questions and Answers | UOP E AssignmentsQNT Weekly learning assessments - Questions and Answers | UOP E Assignments
QNT Weekly learning assessments - Questions and Answers | UOP E Assignments
 
Math 221 Massive Success / snaptutorial.com
Math 221 Massive Success / snaptutorial.comMath 221 Massive Success / snaptutorial.com
Math 221 Massive Success / snaptutorial.com
 
Mb0050 research methodology
Mb0050   research methodologyMb0050   research methodology
Mb0050 research methodology
 

More from John Barlow

Haiti Earthquake Twitter Feed
Haiti Earthquake Twitter FeedHaiti Earthquake Twitter Feed
Haiti Earthquake Twitter FeedJohn Barlow
 
Mann Whitney U Test
Mann Whitney U TestMann Whitney U Test
Mann Whitney U TestJohn Barlow
 
Where Plates Meet
Where Plates MeetWhere Plates Meet
Where Plates MeetJohn Barlow
 
Mountain Building
Mountain BuildingMountain Building
Mountain BuildingJohn Barlow
 
Touching The Void
Touching The VoidTouching The Void
Touching The VoidJohn Barlow
 
High In The Andes
High In The AndesHigh In The Andes
High In The AndesJohn Barlow
 
Easter Revision Session
Easter Revision SessionEaster Revision Session
Easter Revision SessionJohn Barlow
 
Industries In LEDC's
Industries In LEDC'sIndustries In LEDC's
Industries In LEDC'sJohn Barlow
 
Types Of Manufacturing Industry
Types Of Manufacturing IndustryTypes Of Manufacturing Industry
Types Of Manufacturing IndustryJohn Barlow
 
Footloose Industries
Footloose IndustriesFootloose Industries
Footloose IndustriesJohn Barlow
 
Globalisation Of Food Production
Globalisation Of Food ProductionGlobalisation Of Food Production
Globalisation Of Food ProductionJohn Barlow
 

More from John Barlow (14)

Haiti Earthquake Twitter Feed
Haiti Earthquake Twitter FeedHaiti Earthquake Twitter Feed
Haiti Earthquake Twitter Feed
 
Mann Whitney U Test
Mann Whitney U TestMann Whitney U Test
Mann Whitney U Test
 
Where Plates Meet
Where Plates MeetWhere Plates Meet
Where Plates Meet
 
Mountain Building
Mountain BuildingMountain Building
Mountain Building
 
Touching The Void
Touching The VoidTouching The Void
Touching The Void
 
High In The Andes
High In The AndesHigh In The Andes
High In The Andes
 
Easter Revision Session
Easter Revision SessionEaster Revision Session
Easter Revision Session
 
Globalisation
GlobalisationGlobalisation
Globalisation
 
Industries In LEDC's
Industries In LEDC'sIndustries In LEDC's
Industries In LEDC's
 
Industry2
Industry2Industry2
Industry2
 
Types Of Manufacturing Industry
Types Of Manufacturing IndustryTypes Of Manufacturing Industry
Types Of Manufacturing Industry
 
Footloose Industries
Footloose IndustriesFootloose Industries
Footloose Industries
 
Urbanisation
UrbanisationUrbanisation
Urbanisation
 
Globalisation Of Food Production
Globalisation Of Food ProductionGlobalisation Of Food Production
Globalisation Of Food Production
 

Recently uploaded

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
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
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 

Recently uploaded (20)

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
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
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 

Chi Square Worked Example

  • 2.
  • 3. Performing the calculation You would use chi-squared if you were investigating difference between what you actually observed (by collecting primary or secondary data) and what you might normally expect to find. Here is an example from a piece of human geography research into urban development relating to the 2012 Olympics site. First, look at the chi-squared formula: o = the observed frequencies e = the expected frequencies Σ = the ‘sum of’
  • 4. Case Study: Using chi-squared to analyse questionnaire responses A student collected data on local people’s viewpoints about the building of the 2012 Olympic venue in Stratford, east London. She was interested in seeing if viewpoints changed according to the perspectives of different groups. Method She decided to collect 20 responses from each category of local person. After this, she discontinued the data collection. She know nothing about the local population’s demographic characteristics and did not try to reflect this in her study. Her questionnaire was a survey of viewpoints about the usefulness of the new Olympic developments for different groups (categories) of locals. This is the statement she posed: ‘ The 2012 Olympic Games development will be of benefit to the whole community of Stratford, east London.’ 1 2 3 4 Strongly agree Agree Disagree Strongly disagree
  • 5. She wanted to find out if the type of local person influenced feelings about how useful the developments would be. She was particularly interested in those who felt negatively about the Olympic developments (disagreed or strongly disagreed) Here are the results of the survey. The residents had to choose which category best suited their own characteristics. Some of those questioned could have fitted into more than one category. For example, a business owner may also be a local resident. In this case the person questioned was disregarded from the study. Remember that 20 people responded from each category and she only recorded the frequency of negative response, i.e. those who either disagreed or strongly disagreed with the statement/ Category (type) Frequency of negative responses (Observed values: o) Business owner 4 School student 6 Adult male resident 14 Adult female resident 10 Senior citizen 16
  • 6. The student added up the number of times a negative response to the question above was given. You can see that the categories seem to show large differences of opinion between the groups. A glance at the results suggests that different groups have responded very differently to the questionnaire. The chi-squared calculation helps us decide if there is a statistically significant difference between the groups. You can then use the critical values to assess the likelihood of the results being a chance or fluke set of figures The first task is to generate a null hypothesis (H ₒ): ‘ There is no significant difference between the category of local person and the frequency of negative response.’ Now lets test this null hypothesis (H ₒ). It is much easier to start the calculation with a table.
  • 7. In this example, the expected data (e) is simply taken as being the mean negative frequency of response. It is calculated by adding up all of the observed data (o) and then dividing by the number of categories, i.e. 5. This gives an expected frequency of 10 for each category. Business owner School student Adult male resident Adult female resident Senior citizen Total o 4 6 14 10 16 50 e 10 10 10 10 10 50 o - e -6 -------- (o – e)² 36 -------- (o – e)² e 3.6 -------- x² 3.6
  • 8. In this example, the expected data (e) is simply taken as being the mean negative frequency of response. It is calculated by adding up all of the observed data (o) and then dividing by the number of categories, i.e. 5. This gives an expected frequency of 10 for each category. Business owner School student Adult male resident Adult female resident Senior citizen Total o 4 6 14 10 16 50 e 10 10 10 10 10 50 o - e -6 -4 4 0 6 -------- (o – e)² 36 16 16 0 36 -------- (o – e)² e 3.6 1.6 1.6 0 3.6 -------- x² 3.6 1.6 1.6 0 3.6 10.4
  • 9.
  • 10.
  • 11. Interpreting the results The value of x² = 10.4 Using degrees of freedom and significance levels we can decide whether we are able to reject the null hypothesis (H ₒ) of: There is no significant difference between the category of local person and the frequency of negative response.’ For this study, the degrees of freedom is calculated as n - 1, where n is the number of categories in the sample. As were 5 categories, there are 4 degrees of freedom In order to reject the null hypothesis (H ₒ) , our chi-squared score must be greater than the critical value at the 0.05 level of significance. Our value of 10.4 is higher than the 0.05 level of significance value of 9.49, therefore we can reject the null hypothesis (H ₒ). Confidence level 0.10 90% 0.05 95% 0.01 99% 0.005 99.5% Critical value 7.78 9.49 13.28 14.86
  • 12. Further applications of chi-square Use the tables on the following three slides to practice your working of the chi-squared (x²) Tables taken from chi-squared presentation produced by GeoBlogs on slideshare. http://www.slideshare.net/GeoBlogs/chi-squared
  • 13. The number of buses observed per minute in relation to the distance from the city centre. Distance (km) No. of buses per min (O) Expected frequency (E) (O-E) (O-E) 2 (O-E) 2 /E 0 10 1 5 2 3 3 2 Σ
  • 14. The relationship between the size of pebbles in a river in relation to the distance from its source. Distance from source (km) Average Diameter of pebbles (mm) (O) Expected frequency (E) (O-E) (O-E) 2 (O-E) 2 /E 0 100 1 60 2 20 3 20 Total
  • 15. The number of cars observed in relation to the distance from my house. Distance from house (km) Number of cars seen (O) Expected frequency (E) (O-E) (O-E) 2 (O-E) 2 /E 0 52 1 53 2 51 3 44 Total