SlideShare a Scribd company logo
Statistics 3 The Chi Squared ( χ 2 ) Test   - Lesson 1 - ,[object Object],[object Object],[object Object],[object Object]
Purpose of the Chi Squared Test The purpose of the chi squared test is to see whether observed experimental data is a  ‘good fit’  with theoretical expected results. The  χ 2  statistic is calculated in the following way:
Source:   http://en.wikipedia.org/wiki/File:Chi-square_distributionPDF.png
Notes on the Chi Squared Distribution 1.)  ν  (the number of degrees of freedom) is calculated from the number of classes – the number of restrictions. 2.) A restriction is defined as any value that is derived from the observed data set. 3.) The chi squared distribution is continuous and thus offers poor approximation when dealing with small frequencies. When calculating  χ 2  we have to combine any classes which contain expected frequencies of less than 5 elements. 4.) As with most statistical distributions, we do not need to concern ourselves with calculating by hand as all critical values are tabulated for easy reference.
Lesson 1 - Example Question I The table below shows the results when a die is rolled 120 times. Conduct a chi squared test to see whether the die is fair or not at the 5% significance level. 24 20 18 14 29 15 Freq 6 5 4 3 2 1 Score
Lesson 1 - Example Question II  The table below shows the results of an experiment in which four coins thrown 160 times and the number of heads recorded. a.) Fit a Bin (4, ½) distribution to the data. b.) Test the goodness of fit of the Bin (4, ½) model using a chi squared test at the 5% significance level.  10 35 54 46 15 Freq 4 3 2 1 0 Score
Practice Questions  Statistics 3 and 4 by Jane Miller Page 121, Exercise 5A Questions 1 and 3
Statistics 3 The Chi Squared ( χ 2 ) Test   - Lesson 2 - ,[object Object],[object Object],[object Object]
Statistics 3 The Chi Squared ( χ 2 ) Test   - Lesson 3 - ,[object Object],[object Object],[object Object],[object Object]
Lesson 3 - Example Question  The table below shows the number of calls arriving at a switchboard in time intervals of 5 minutes. Test at the 5% significance level whether the Poisson distribution provides a good model for this data. 0 2 4 23 71 Freq 4 or more 3 2 1 0 No
Practice Questions  Statistics 3 and 4 by Jane Miller Page 121, Exercise 5A Questions  11 (part a only) (Poisson) 2 (Ratio) 12 (Geometric) 13 (Poisson)
Statistics 3 The Chi Squared ( χ 2 ) Test   - Lesson 4 - ,[object Object],[object Object]
Lesson 4 - Example Question  The height in centimetres gained by a conifer in its first year after planting is denoted by the random variable H. The value of H is measured for a random sample of 86 conifers and the results obtained are summarised in the table below. Assuming that H is modelled by a N(50, 15 2 ) distribution, test at the 5% level, the goodness of fit of the model. 12 18 28 18 10 Obs Freq >65 55-65 45-55 35-45 <35 H
Practice Questions  Statistics 3 and 4 by Jane Miller Page 128, Exercise 5B Question 1 onwards
Statistics 3 The Chi Squared ( χ 2 ) Test   - Lesson 5 - ,[object Object],[object Object],[object Object],[object Object]
Degrees of Freedom The number of degrees of freedom in a h x k contingency table is given by ν  = (h – 1) x (k – 1).
Lesson 5 - Example Question I Is income level independent of method of transport? 693 129 102 462 Total 266 29 32 205 Large 312 64 49 199 Average 115 36 21 58 Small Income Level Total Self Public Car Method of Transport
Lesson 5 - Example Question II A university sociology department believes that students with a good grade in A Level General Studies tend to do well on sociology degree courses. To check this it has collected information on a random sample of 100 who had just graduated and who also had taken general studies at A Level. The students performance in General Studies was divided into two categories, those with grades A or B and ‘others’. Their degrees were recorded as Class I, II, III or fail. The data is given in the table below. Test at the 1% level, the hypothesis that degree performance is independent of A level performance in General Studies. 100 5 30 50 15 Total 60 4 24 28 4 Others 40 1 6 22 11 Grade A or B Total Fail Class III Class II Class I
Yates Correction χ 2  is a continuous distribution whilst  χ 2 calc   is not. In the case of a 2 x 2 contingency table for which  ν  = 1, the agreement between the two distributions can be improved by applying a continuity correction called Yates Correction. This involves reducing each value of |O – E| by 0.5
Lesson 5 - Example Question III A random sample of 930 companies quoted on the stock exchange revealed the information summarised in the table below, which shows the distribution of these companies classified according to two attributes. In this table, D indicates that the company has diversified its product range during the previous financial year, and P indicates that there has been a significant rise in profits during the previous financial year. The null hypothesis is that D and P are independent. Show that this can rejected at all reasonable significance levels. 377 299 Not P 106 148 P Not D D
Practice Questions  ,[object Object],[object Object],[object Object],[object Object],[object Object]

More Related Content

What's hot

T test
T testT test
Lecture 5: Interval Estimation
Lecture 5: Interval Estimation Lecture 5: Interval Estimation
Lecture 5: Interval Estimation
Marina Santini
 
Kolmogorov Smirnov good-of-fit test
Kolmogorov Smirnov good-of-fit testKolmogorov Smirnov good-of-fit test
Kolmogorov Smirnov good-of-fit test
Rizwan S A
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
jasondroesch
 
Measures of Central Tendency
Measures of Central TendencyMeasures of Central Tendency
Measures of Central Tendency
jasondroesch
 
Introduction to t-tests (statistics)
Introduction to t-tests (statistics)Introduction to t-tests (statistics)
Introduction to t-tests (statistics)
Dr Bryan Mills
 
Discrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec domsDiscrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec doms
Babasab Patil
 
The t Test for Two Independent Samples
The t Test for Two Independent SamplesThe t Test for Two Independent Samples
The t Test for Two Independent Samples
jasondroesch
 
F Distribution
F  DistributionF  Distribution
F Distributionjravish
 
t-TEst. :D
t-TEst. :Dt-TEst. :D
t-TEst. :D
patatas
 
Bivariate analysis
Bivariate analysisBivariate analysis
Bivariate analysisariassam
 
Continous random variable.
Continous random variable.Continous random variable.
Continous random variable.
Shakeel Nouman
 
Lecture 6 Point and Interval Estimation.pptx
Lecture 6 Point and Interval Estimation.pptxLecture 6 Point and Interval Estimation.pptx
Lecture 6 Point and Interval Estimation.pptx
shakirRahman10
 
TOPIC- HYPOTHESIS TESTING RMS.pptx
TOPIC- HYPOTHESIS TESTING  RMS.pptxTOPIC- HYPOTHESIS TESTING  RMS.pptx
TOPIC- HYPOTHESIS TESTING RMS.pptx
anamikamishra29
 
The Chi-Square Statistic: Tests for Goodness of Fit and Independence
The Chi-Square Statistic: Tests for Goodness of Fit and IndependenceThe Chi-Square Statistic: Tests for Goodness of Fit and Independence
The Chi-Square Statistic: Tests for Goodness of Fit and Independence
jasondroesch
 
Introduction to Analysis of Variance
Introduction to Analysis of VarianceIntroduction to Analysis of Variance
Introduction to Analysis of Variance
jasondroesch
 
Multiple Linear Regression II and ANOVA I
Multiple Linear Regression II and ANOVA IMultiple Linear Regression II and ANOVA I
Multiple Linear Regression II and ANOVA I
James Neill
 

What's hot (20)

T test
T testT test
T test
 
Lecture 5: Interval Estimation
Lecture 5: Interval Estimation Lecture 5: Interval Estimation
Lecture 5: Interval Estimation
 
Kolmogorov Smirnov good-of-fit test
Kolmogorov Smirnov good-of-fit testKolmogorov Smirnov good-of-fit test
Kolmogorov Smirnov good-of-fit test
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Measures of Central Tendency
Measures of Central TendencyMeasures of Central Tendency
Measures of Central Tendency
 
Introduction to t-tests (statistics)
Introduction to t-tests (statistics)Introduction to t-tests (statistics)
Introduction to t-tests (statistics)
 
Discrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec domsDiscrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec doms
 
The t Test for Two Independent Samples
The t Test for Two Independent SamplesThe t Test for Two Independent Samples
The t Test for Two Independent Samples
 
F Distribution
F  DistributionF  Distribution
F Distribution
 
t-TEst. :D
t-TEst. :Dt-TEst. :D
t-TEst. :D
 
Bivariate analysis
Bivariate analysisBivariate analysis
Bivariate analysis
 
Continous random variable.
Continous random variable.Continous random variable.
Continous random variable.
 
Lecture 6 Point and Interval Estimation.pptx
Lecture 6 Point and Interval Estimation.pptxLecture 6 Point and Interval Estimation.pptx
Lecture 6 Point and Interval Estimation.pptx
 
Confidence Intervals
Confidence IntervalsConfidence Intervals
Confidence Intervals
 
TOPIC- HYPOTHESIS TESTING RMS.pptx
TOPIC- HYPOTHESIS TESTING  RMS.pptxTOPIC- HYPOTHESIS TESTING  RMS.pptx
TOPIC- HYPOTHESIS TESTING RMS.pptx
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
The Chi-Square Statistic: Tests for Goodness of Fit and Independence
The Chi-Square Statistic: Tests for Goodness of Fit and IndependenceThe Chi-Square Statistic: Tests for Goodness of Fit and Independence
The Chi-Square Statistic: Tests for Goodness of Fit and Independence
 
Introduction to Analysis of Variance
Introduction to Analysis of VarianceIntroduction to Analysis of Variance
Introduction to Analysis of Variance
 
F-Distribution
F-DistributionF-Distribution
F-Distribution
 
Multiple Linear Regression II and ANOVA I
Multiple Linear Regression II and ANOVA IMultiple Linear Regression II and ANOVA I
Multiple Linear Regression II and ANOVA I
 

Viewers also liked

Chi square test
Chi square testChi square test
Chi – square test
Chi – square testChi – square test
Chi – square test
Dr.M.Prasad Naidu
 
Chi squared test
Chi squared testChi squared test
Chi squared test
vikas232190
 
Chi Squared
Chi SquaredChi Squared
Chi Squared
GeoBlogs
 
Chi square test final presentation
Chi square test final presentationChi square test final presentation
Chi square test final presentation
Ritesh Tiwari
 
The Chi-Squared Test
The Chi-Squared TestThe Chi-Squared Test
The Chi-Squared Test
Stephen Taylor
 
03 The Chi Squared Test
03 The Chi Squared Test03 The Chi Squared Test
03 The Chi Squared TestJaya Kumar
 
Chisquare
ChisquareChisquare
Auto Correlation Presentation
Auto Correlation PresentationAuto Correlation Presentation
Auto Correlation Presentation
Irfan Hussain
 
The kolmogorov smirnov test
The kolmogorov smirnov testThe kolmogorov smirnov test
The kolmogorov smirnov testSubhradeep Mitra
 
Chi square
Chi squareChi square
Chi square
utpal sharma
 
Z test
Z testZ test
Z test
kagil
 
Hrm practices in uk
Hrm practices in ukHrm practices in uk
Hrm practices in ukPARIMITTAL10
 
Anomaly detection, part 1
Anomaly detection, part 1Anomaly detection, part 1
Anomaly detection, part 1
David Khosid
 
Chi squared test
Chi squared testChi squared test
Chi squared test
Ramakanth Gadepalli
 

Viewers also liked (20)

Chi square test
Chi square testChi square test
Chi square test
 
Chi square
Chi squareChi square
Chi square
 
Chi square test
Chi square test Chi square test
Chi square test
 
Chi – square test
Chi – square testChi – square test
Chi – square test
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
Chi Squared
Chi SquaredChi Squared
Chi Squared
 
Chi square test final presentation
Chi square test final presentationChi square test final presentation
Chi square test final presentation
 
The Chi-Squared Test
The Chi-Squared TestThe Chi-Squared Test
The Chi-Squared Test
 
Chi square test
Chi square testChi square test
Chi square test
 
03 The Chi Squared Test
03 The Chi Squared Test03 The Chi Squared Test
03 The Chi Squared Test
 
Chisquare
ChisquareChisquare
Chisquare
 
Auto Correlation Presentation
Auto Correlation PresentationAuto Correlation Presentation
Auto Correlation Presentation
 
The kolmogorov smirnov test
The kolmogorov smirnov testThe kolmogorov smirnov test
The kolmogorov smirnov test
 
Chi square
Chi squareChi square
Chi square
 
Z test
Z testZ test
Z test
 
Hrm practices in uk
Hrm practices in ukHrm practices in uk
Hrm practices in uk
 
Path analysis
Path analysisPath analysis
Path analysis
 
Anomaly detection, part 1
Anomaly detection, part 1Anomaly detection, part 1
Anomaly detection, part 1
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
Chi square analysis
Chi square analysisChi square analysis
Chi square analysis
 

Similar to Chi Squared Test

Statistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docxStatistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docx
dessiechisomjj4
 
Hypothesis testing part i
Hypothesis testing part iHypothesis testing part i
Hypothesis testing part i
Nadeem Uddin
 
qm2CHAP12.ppt
qm2CHAP12.pptqm2CHAP12.ppt
qm2CHAP12.ppt
HieuNguyen477759
 
Chisquare Test
Chisquare Test Chisquare Test
Chisquare Test
Manas Mondal
 
JKN 10 Inference 2 Populations.Consider the following set of d.docx
JKN 10 Inference 2 Populations.Consider the following set of d.docxJKN 10 Inference 2 Populations.Consider the following set of d.docx
JKN 10 Inference 2 Populations.Consider the following set of d.docx
christiandean12115
 
Chi- Square test.pptx
Chi- Square test.pptxChi- Square test.pptx
Chi- Square test.pptx
MuskanKhan320706
 
ELEMENTS OF STATISTICS / TUTORIALOUTLET DOT COM
ELEMENTS OF STATISTICS / TUTORIALOUTLET DOT COMELEMENTS OF STATISTICS / TUTORIALOUTLET DOT COM
ELEMENTS OF STATISTICS / TUTORIALOUTLET DOT COM
albert0076
 
Practice Test 1
Practice Test 1Practice Test 1
Practice Test 1
Long Beach City College
 
Chapter12
Chapter12Chapter12
Chapter12
Richard Ferreria
 
Part 1 of 16 -Question 1 of 231.0 PointsThe data presented i.docx
Part 1 of 16 -Question 1 of 231.0 PointsThe data presented i.docxPart 1 of 16 -Question 1 of 231.0 PointsThe data presented i.docx
Part 1 of 16 -Question 1 of 231.0 PointsThe data presented i.docx
odiliagilby
 
Categorical Data and Statistical Analysis
Categorical Data and Statistical AnalysisCategorical Data and Statistical Analysis
Categorical Data and Statistical Analysis
Michael770443
 
Day 3 SPSS
Day 3 SPSSDay 3 SPSS
Day 3 SPSS
abir hossain
 
Hypothesis testing chi square goodness of fit test
Hypothesis testing chi square goodness of fit testHypothesis testing chi square goodness of fit test
Hypothesis testing chi square goodness of fit test
Nadeem Uddin
 
501 assignment1
501 assignment1501 assignment1
501 assignment1Wa Ain
 
Confidence Intervals And The T Distribution
Confidence Intervals And The T   DistributionConfidence Intervals And The T   Distribution
Confidence Intervals And The T DistributionDarren Barton
 
Statistics question and answers with mcqs
Statistics question and answers with mcqsStatistics question and answers with mcqs
Statistics question and answers with mcqs
NandiniYadav69
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
Atula Ahuja
 

Similar to Chi Squared Test (20)

Statistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docxStatistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docx
 
Hypothesis testing part i
Hypothesis testing part iHypothesis testing part i
Hypothesis testing part i
 
Chi square
Chi squareChi square
Chi square
 
qm2CHAP12.ppt
qm2CHAP12.pptqm2CHAP12.ppt
qm2CHAP12.ppt
 
Chisquare Test
Chisquare Test Chisquare Test
Chisquare Test
 
JKN 10 Inference 2 Populations.Consider the following set of d.docx
JKN 10 Inference 2 Populations.Consider the following set of d.docxJKN 10 Inference 2 Populations.Consider the following set of d.docx
JKN 10 Inference 2 Populations.Consider the following set of d.docx
 
Chi- Square test.pptx
Chi- Square test.pptxChi- Square test.pptx
Chi- Square test.pptx
 
Goodness of fit (ppt)
Goodness of fit (ppt)Goodness of fit (ppt)
Goodness of fit (ppt)
 
ELEMENTS OF STATISTICS / TUTORIALOUTLET DOT COM
ELEMENTS OF STATISTICS / TUTORIALOUTLET DOT COMELEMENTS OF STATISTICS / TUTORIALOUTLET DOT COM
ELEMENTS OF STATISTICS / TUTORIALOUTLET DOT COM
 
Practice Test 1
Practice Test 1Practice Test 1
Practice Test 1
 
Chapter12
Chapter12Chapter12
Chapter12
 
Part 1 of 16 -Question 1 of 231.0 PointsThe data presented i.docx
Part 1 of 16 -Question 1 of 231.0 PointsThe data presented i.docxPart 1 of 16 -Question 1 of 231.0 PointsThe data presented i.docx
Part 1 of 16 -Question 1 of 231.0 PointsThe data presented i.docx
 
Categorical Data and Statistical Analysis
Categorical Data and Statistical AnalysisCategorical Data and Statistical Analysis
Categorical Data and Statistical Analysis
 
Day 3 SPSS
Day 3 SPSSDay 3 SPSS
Day 3 SPSS
 
Hypothesis testing chi square goodness of fit test
Hypothesis testing chi square goodness of fit testHypothesis testing chi square goodness of fit test
Hypothesis testing chi square goodness of fit test
 
501 assignment1
501 assignment1501 assignment1
501 assignment1
 
Confidence Intervals And The T Distribution
Confidence Intervals And The T   DistributionConfidence Intervals And The T   Distribution
Confidence Intervals And The T Distribution
 
Chapter12
Chapter12Chapter12
Chapter12
 
Statistics question and answers with mcqs
Statistics question and answers with mcqsStatistics question and answers with mcqs
Statistics question and answers with mcqs
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
 

Recently uploaded

The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 

Recently uploaded (20)

The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 

Chi Squared Test

  • 1.
  • 2. Purpose of the Chi Squared Test The purpose of the chi squared test is to see whether observed experimental data is a ‘good fit’ with theoretical expected results. The χ 2 statistic is calculated in the following way:
  • 3. Source: http://en.wikipedia.org/wiki/File:Chi-square_distributionPDF.png
  • 4. Notes on the Chi Squared Distribution 1.) ν (the number of degrees of freedom) is calculated from the number of classes – the number of restrictions. 2.) A restriction is defined as any value that is derived from the observed data set. 3.) The chi squared distribution is continuous and thus offers poor approximation when dealing with small frequencies. When calculating χ 2 we have to combine any classes which contain expected frequencies of less than 5 elements. 4.) As with most statistical distributions, we do not need to concern ourselves with calculating by hand as all critical values are tabulated for easy reference.
  • 5. Lesson 1 - Example Question I The table below shows the results when a die is rolled 120 times. Conduct a chi squared test to see whether the die is fair or not at the 5% significance level. 24 20 18 14 29 15 Freq 6 5 4 3 2 1 Score
  • 6. Lesson 1 - Example Question II The table below shows the results of an experiment in which four coins thrown 160 times and the number of heads recorded. a.) Fit a Bin (4, ½) distribution to the data. b.) Test the goodness of fit of the Bin (4, ½) model using a chi squared test at the 5% significance level. 10 35 54 46 15 Freq 4 3 2 1 0 Score
  • 7. Practice Questions Statistics 3 and 4 by Jane Miller Page 121, Exercise 5A Questions 1 and 3
  • 8.
  • 9.
  • 10. Lesson 3 - Example Question The table below shows the number of calls arriving at a switchboard in time intervals of 5 minutes. Test at the 5% significance level whether the Poisson distribution provides a good model for this data. 0 2 4 23 71 Freq 4 or more 3 2 1 0 No
  • 11. Practice Questions Statistics 3 and 4 by Jane Miller Page 121, Exercise 5A Questions 11 (part a only) (Poisson) 2 (Ratio) 12 (Geometric) 13 (Poisson)
  • 12.
  • 13. Lesson 4 - Example Question The height in centimetres gained by a conifer in its first year after planting is denoted by the random variable H. The value of H is measured for a random sample of 86 conifers and the results obtained are summarised in the table below. Assuming that H is modelled by a N(50, 15 2 ) distribution, test at the 5% level, the goodness of fit of the model. 12 18 28 18 10 Obs Freq >65 55-65 45-55 35-45 <35 H
  • 14. Practice Questions Statistics 3 and 4 by Jane Miller Page 128, Exercise 5B Question 1 onwards
  • 15.
  • 16. Degrees of Freedom The number of degrees of freedom in a h x k contingency table is given by ν = (h – 1) x (k – 1).
  • 17. Lesson 5 - Example Question I Is income level independent of method of transport? 693 129 102 462 Total 266 29 32 205 Large 312 64 49 199 Average 115 36 21 58 Small Income Level Total Self Public Car Method of Transport
  • 18. Lesson 5 - Example Question II A university sociology department believes that students with a good grade in A Level General Studies tend to do well on sociology degree courses. To check this it has collected information on a random sample of 100 who had just graduated and who also had taken general studies at A Level. The students performance in General Studies was divided into two categories, those with grades A or B and ‘others’. Their degrees were recorded as Class I, II, III or fail. The data is given in the table below. Test at the 1% level, the hypothesis that degree performance is independent of A level performance in General Studies. 100 5 30 50 15 Total 60 4 24 28 4 Others 40 1 6 22 11 Grade A or B Total Fail Class III Class II Class I
  • 19. Yates Correction χ 2 is a continuous distribution whilst χ 2 calc is not. In the case of a 2 x 2 contingency table for which ν = 1, the agreement between the two distributions can be improved by applying a continuity correction called Yates Correction. This involves reducing each value of |O – E| by 0.5
  • 20. Lesson 5 - Example Question III A random sample of 930 companies quoted on the stock exchange revealed the information summarised in the table below, which shows the distribution of these companies classified according to two attributes. In this table, D indicates that the company has diversified its product range during the previous financial year, and P indicates that there has been a significant rise in profits during the previous financial year. The null hypothesis is that D and P are independent. Show that this can rejected at all reasonable significance levels. 377 299 Not P 106 148 P Not D D
  • 21.