SlideShare une entreprise Scribd logo
1  sur  9
Chi-Square
Goodness of Fit Test
Chi- Square Goodness of Fit test
• This test is applied when you have qualitative data
from one single population
• Used to determine whether sample data is
consistent with the hypothesized distribution
– Example: If the M&M CO. claimed that 30% of M&M’s
were red, 40% green, 10% brown, 10% blue and 10%
yellow, we could gather random samples of M&M’s and
determine whether our distribution was different than
the claim made from the company
Conditions
• Simple Random Sample
• The population size is at least 10 times greater
than the sample size
• The variable of the study is qualitative
• The expected value of the sample
observations in each level of the variable is at
least 5.
Conducting a Hypothesis Test
1- State Hypothesis: Ho & Ha must be mutually exclusive
Ho: data consistent with a particular distribution
Ha: data that are not consistent with a particular distribution
* usually Ho specifies the proportion of observations at each level of
the variable. The alternative hypothesis states that at least one of
the specific proportions is not true
2- Formulate an Analysis Plan
- describes how the sample data is used towards the null hypothesis
* use the chi square goodness of fit test. It is used to determine if
the observed frequencies differ significantly from the expected
frequencies stated in the null hypothesis.
3- Analyze: using sample data, find the degrees of
freedom(DF), expected frequency counts, test statistics, and P-
value corresponding to the TS)
* DF= k-1 k= # of levels of the qualitative variable
*Expected Frequency counts:
E= np E= expected frequency counts
n= sample size
p= hypothesized proportion from the null
hypothesis
*TS: Chi- Square random variable:
O= observed frequency count
E= expected frequency count
*P- value- probability of observing the sample statistic as extreme as the TS where the TS
is a chi square with degrees of freedom)
(can be found using Table C)
4- Interpret: Given the null hypothesis, if the sample results are
unlikely, then reject the null. (done by comparing the P-value to the
significance level and rejecting the null hypothesis if the P-value is
less than the significant level)
B.9 chi square
B.9 chi square
B.9 chi square
B.9 chi square

Contenu connexe

Tendances

Aron chpt 11 ed (2)
Aron chpt 11 ed (2)Aron chpt 11 ed (2)
Aron chpt 11 ed (2)
Sandra Nicks
 

Tendances (19)

Chi square & related procedure
Chi square & related procedureChi square & related procedure
Chi square & related procedure
 
Freq distribution
Freq distributionFreq distribution
Freq distribution
 
Chi square test
Chi square testChi square test
Chi square test
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
Chi square
Chi squareChi square
Chi square
 
Chi square test final presentation
Chi square test final presentationChi square test final presentation
Chi square test final presentation
 
Chi square
Chi squareChi square
Chi square
 
Research methodology chi square test
Research methodology  chi square testResearch methodology  chi square test
Research methodology chi square test
 
Chi(ki) square test
Chi(ki) square testChi(ki) square test
Chi(ki) square test
 
Aron chpt 11 ed (2)
Aron chpt 11 ed (2)Aron chpt 11 ed (2)
Aron chpt 11 ed (2)
 
Chi square test
Chi square testChi square test
Chi square test
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
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
Chi square test finalChi square test final
Chi square test final
 
The Chi Square Test
The Chi Square TestThe Chi Square Test
The Chi Square Test
 
Chi‑square test
Chi‑square test Chi‑square test
Chi‑square test
 
Contingency tables
Contingency tables  Contingency tables
Contingency tables
 

En vedette

Compile logistic1 Idrees waris IUGC
Compile logistic1 Idrees waris IUGCCompile logistic1 Idrees waris IUGC
Compile logistic1 Idrees waris IUGC
Id'rees Waris
 
How to Use Data to Inform Your Design and Drive Your Business
How to Use Data to Inform Your Design and Drive Your BusinessHow to Use Data to Inform Your Design and Drive Your Business
How to Use Data to Inform Your Design and Drive Your Business
Kissmetrics on SlideShare
 
08 test of hypothesis large sample.ppt
08 test of hypothesis large sample.ppt08 test of hypothesis large sample.ppt
08 test of hypothesis large sample.ppt
Pooja Sakhla
 
11 x1 t12 06 maxima & minima (2013)
11 x1 t12 06 maxima & minima (2013)11 x1 t12 06 maxima & minima (2013)
11 x1 t12 06 maxima & minima (2013)
Nigel Simmons
 
11 x1 t10 06 maxima & minima (2012)
11 x1 t10 06 maxima & minima (2012)11 x1 t10 06 maxima & minima (2012)
11 x1 t10 06 maxima & minima (2012)
Nigel Simmons
 
09 test of hypothesis small sample.ppt
09 test of hypothesis small sample.ppt09 test of hypothesis small sample.ppt
09 test of hypothesis small sample.ppt
Pooja Sakhla
 

En vedette (20)

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
 
131 141 Chi Square Goodness Of Fit
131 141 Chi Square Goodness Of Fit131 141 Chi Square Goodness Of Fit
131 141 Chi Square Goodness Of Fit
 
Null hypothesis for a chi-square goodness of fit test
Null hypothesis for a chi-square goodness of fit testNull hypothesis for a chi-square goodness of fit test
Null hypothesis for a chi-square goodness of fit test
 
Chi square test
Chi square testChi square test
Chi square test
 
Hypothesis tests for one and two population variances ppt @ bec doms
Hypothesis tests for one and two population variances ppt @ bec domsHypothesis tests for one and two population variances ppt @ bec doms
Hypothesis tests for one and two population variances ppt @ bec doms
 
Business statistics presentation
Business statistics presentationBusiness statistics presentation
Business statistics presentation
 
TEO modelling for non-Linear signals
TEO modelling for non-Linear signalsTEO modelling for non-Linear signals
TEO modelling for non-Linear signals
 
Compile logistic1 Idrees waris IUGC
Compile logistic1 Idrees waris IUGCCompile logistic1 Idrees waris IUGC
Compile logistic1 Idrees waris IUGC
 
Chi square goodness of fit
Chi square goodness of fitChi square goodness of fit
Chi square goodness of fit
 
Lecture slides stats1.13.l19.air
Lecture slides stats1.13.l19.airLecture slides stats1.13.l19.air
Lecture slides stats1.13.l19.air
 
How to Use Data to Inform Your Design and Drive Your Business
How to Use Data to Inform Your Design and Drive Your BusinessHow to Use Data to Inform Your Design and Drive Your Business
How to Use Data to Inform Your Design and Drive Your Business
 
08 test of hypothesis large sample.ppt
08 test of hypothesis large sample.ppt08 test of hypothesis large sample.ppt
08 test of hypothesis large sample.ppt
 
Maths curriculum Poland
Maths curriculum PolandMaths curriculum Poland
Maths curriculum Poland
 
Logistic Modeling with Applications to Marketing and Credit Risk in the Autom...
Logistic Modeling with Applications to Marketing and Credit Risk in the Autom...Logistic Modeling with Applications to Marketing and Credit Risk in the Autom...
Logistic Modeling with Applications to Marketing and Credit Risk in the Autom...
 
11 x1 t12 06 maxima & minima (2013)
11 x1 t12 06 maxima & minima (2013)11 x1 t12 06 maxima & minima (2013)
11 x1 t12 06 maxima & minima (2013)
 
11 x1 t10 06 maxima & minima (2012)
11 x1 t10 06 maxima & minima (2012)11 x1 t10 06 maxima & minima (2012)
11 x1 t10 06 maxima & minima (2012)
 
Innovative use of technology in the teaching of calculus
Innovative use of technology in the teaching of calculusInnovative use of technology in the teaching of calculus
Innovative use of technology in the teaching of calculus
 
09 test of hypothesis small sample.ppt
09 test of hypothesis small sample.ppt09 test of hypothesis small sample.ppt
09 test of hypothesis small sample.ppt
 
Maxima & Minima for IIT JEE | askIITians
Maxima & Minima for IIT JEE | askIITiansMaxima & Minima for IIT JEE | askIITians
Maxima & Minima for IIT JEE | askIITians
 
Reporting chi square goodness of fit test of independence in apa
Reporting chi square goodness of fit test of independence in apaReporting chi square goodness of fit test of independence in apa
Reporting chi square goodness of fit test of independence in apa
 

Similaire à B.9 chi square

Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
Jeremy Lane
 
B.4 tests for proportions
B.4  tests for proportionsB.4  tests for proportions
B.4 tests for proportions
Ulster BOCES
 
sample size phd-finalpresentation111.ppt
sample size phd-finalpresentation111.pptsample size phd-finalpresentation111.ppt
sample size phd-finalpresentation111.ppt
tyagikanishka10
 
sample size new 1111 ppt community-1.ppt
sample size new 1111 ppt community-1.pptsample size new 1111 ppt community-1.ppt
sample size new 1111 ppt community-1.ppt
ParulSingal3
 
ANOVA-One Way Classification
ANOVA-One Way ClassificationANOVA-One Way Classification
ANOVA-One Way Classification
Sharlaine Ruth
 

Similaire à B.9 chi square (20)

Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
T test^jsample size^j ethics
T test^jsample size^j ethicsT test^jsample size^j ethics
T test^jsample size^j ethics
 
Student t test
Student t testStudent t test
Student t test
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
Sampling fundamentals
Sampling fundamentalsSampling fundamentals
Sampling fundamentals
 
Hypothesis Testing.pptx
Hypothesis Testing.pptxHypothesis Testing.pptx
Hypothesis Testing.pptx
 
Stat 1163 -statistics in environmental science
Stat 1163 -statistics in environmental scienceStat 1163 -statistics in environmental science
Stat 1163 -statistics in environmental science
 
Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1
 
chi_square test.pptx
chi_square test.pptxchi_square test.pptx
chi_square test.pptx
 
Unit 4
Unit 4Unit 4
Unit 4
 
Research methodology
Research methodologyResearch methodology
Research methodology
 
Chi
ChiChi
Chi
 
B.4 tests for proportions
B.4  tests for proportionsB.4  tests for proportions
B.4 tests for proportions
 
Parametric Test
Parametric TestParametric Test
Parametric Test
 
sample size phd-finalpresentation111.ppt
sample size phd-finalpresentation111.pptsample size phd-finalpresentation111.ppt
sample size phd-finalpresentation111.ppt
 
sample size new 1111 ppt community-1.ppt
sample size new 1111 ppt community-1.pptsample size new 1111 ppt community-1.ppt
sample size new 1111 ppt community-1.ppt
 
Research methodology module 3
Research methodology module 3Research methodology module 3
Research methodology module 3
 
Day 12 t test for dependent samples and single samples pdf
Day 12 t test for dependent samples and single samples pdfDay 12 t test for dependent samples and single samples pdf
Day 12 t test for dependent samples and single samples pdf
 
ANOVA-One Way Classification
ANOVA-One Way ClassificationANOVA-One Way Classification
ANOVA-One Way Classification
 
Amrita kumari
Amrita kumariAmrita kumari
Amrita kumari
 

Plus de Ulster BOCES

Sampling distributions
Sampling distributionsSampling distributions
Sampling distributions
Ulster BOCES
 
Geometric distributions
Geometric distributionsGeometric distributions
Geometric distributions
Ulster BOCES
 
Binomial distributions
Binomial distributionsBinomial distributions
Binomial distributions
Ulster BOCES
 
Means and variances of random variables
Means and variances of random variablesMeans and variances of random variables
Means and variances of random variables
Ulster BOCES
 
General probability rules
General probability rulesGeneral probability rules
General probability rules
Ulster BOCES
 
Planning and conducting surveys
Planning and conducting surveysPlanning and conducting surveys
Planning and conducting surveys
Ulster BOCES
 
Overview of data collection methods
Overview of data collection methodsOverview of data collection methods
Overview of data collection methods
Ulster BOCES
 
Exploring bivariate data
Exploring bivariate dataExploring bivariate data
Exploring bivariate data
Ulster BOCES
 
Normal probability plot
Normal probability plotNormal probability plot
Normal probability plot
Ulster BOCES
 
Exploring data stemplot
Exploring data   stemplotExploring data   stemplot
Exploring data stemplot
Ulster BOCES
 
Exploring data other plots
Exploring data   other plotsExploring data   other plots
Exploring data other plots
Ulster BOCES
 
Exploring data histograms
Exploring data   histogramsExploring data   histograms
Exploring data histograms
Ulster BOCES
 
Calculating percentages from z scores
Calculating percentages from z scoresCalculating percentages from z scores
Calculating percentages from z scores
Ulster BOCES
 
Standardizing scores
Standardizing scoresStandardizing scores
Standardizing scores
Ulster BOCES
 
Intro to statistics
Intro to statisticsIntro to statistics
Intro to statistics
Ulster BOCES
 
Describing quantitative data with numbers
Describing quantitative data with numbersDescribing quantitative data with numbers
Describing quantitative data with numbers
Ulster BOCES
 
Displaying quantitative data
Displaying quantitative dataDisplaying quantitative data
Displaying quantitative data
Ulster BOCES
 

Plus de Ulster BOCES (20)

Sampling means
Sampling meansSampling means
Sampling means
 
Sampling distributions
Sampling distributionsSampling distributions
Sampling distributions
 
Geometric distributions
Geometric distributionsGeometric distributions
Geometric distributions
 
Binomial distributions
Binomial distributionsBinomial distributions
Binomial distributions
 
Means and variances of random variables
Means and variances of random variablesMeans and variances of random variables
Means and variances of random variables
 
Simulation
SimulationSimulation
Simulation
 
General probability rules
General probability rulesGeneral probability rules
General probability rules
 
Planning and conducting surveys
Planning and conducting surveysPlanning and conducting surveys
Planning and conducting surveys
 
Overview of data collection methods
Overview of data collection methodsOverview of data collection methods
Overview of data collection methods
 
Exploring bivariate data
Exploring bivariate dataExploring bivariate data
Exploring bivariate data
 
Normal probability plot
Normal probability plotNormal probability plot
Normal probability plot
 
Exploring data stemplot
Exploring data   stemplotExploring data   stemplot
Exploring data stemplot
 
Exploring data other plots
Exploring data   other plotsExploring data   other plots
Exploring data other plots
 
Exploring data histograms
Exploring data   histogramsExploring data   histograms
Exploring data histograms
 
Calculating percentages from z scores
Calculating percentages from z scoresCalculating percentages from z scores
Calculating percentages from z scores
 
Density curve
Density curveDensity curve
Density curve
 
Standardizing scores
Standardizing scoresStandardizing scores
Standardizing scores
 
Intro to statistics
Intro to statisticsIntro to statistics
Intro to statistics
 
Describing quantitative data with numbers
Describing quantitative data with numbersDescribing quantitative data with numbers
Describing quantitative data with numbers
 
Displaying quantitative data
Displaying quantitative dataDisplaying quantitative data
Displaying quantitative data
 

Dernier

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Dernier (19)

UEFA Euro 2024 Clash and Eurovision 2024 Poll Insights.docx
UEFA Euro 2024 Clash and Eurovision 2024 Poll Insights.docxUEFA Euro 2024 Clash and Eurovision 2024 Poll Insights.docx
UEFA Euro 2024 Clash and Eurovision 2024 Poll Insights.docx
 
Personal Brand Exploration - By Bradley Dennis
Personal Brand Exploration - By Bradley DennisPersonal Brand Exploration - By Bradley Dennis
Personal Brand Exploration - By Bradley Dennis
 
Cricket Api Solution.pdfCricket Api Solution.pdf
Cricket Api Solution.pdfCricket Api Solution.pdfCricket Api Solution.pdfCricket Api Solution.pdf
Cricket Api Solution.pdfCricket Api Solution.pdf
 
Genuine 8617370543 Hot and Beautiful 💕 Etah Escorts call Girls
Genuine 8617370543 Hot and Beautiful 💕 Etah Escorts call GirlsGenuine 8617370543 Hot and Beautiful 💕 Etah Escorts call Girls
Genuine 8617370543 Hot and Beautiful 💕 Etah Escorts call Girls
 
Albania Vs Spain South American coaches lead Albania to Euro 2024 spot.docx
Albania Vs Spain South American coaches lead Albania to Euro 2024 spot.docxAlbania Vs Spain South American coaches lead Albania to Euro 2024 spot.docx
Albania Vs Spain South American coaches lead Albania to Euro 2024 spot.docx
 
Belgium Vs Slovakia Belgium at Euro 2024 Teams in group, fixtures, schedule, ...
Belgium Vs Slovakia Belgium at Euro 2024 Teams in group, fixtures, schedule, ...Belgium Vs Slovakia Belgium at Euro 2024 Teams in group, fixtures, schedule, ...
Belgium Vs Slovakia Belgium at Euro 2024 Teams in group, fixtures, schedule, ...
 
Luka Modric Elevating Croatia's Stars for Euro Cup 2024.docx
Luka Modric Elevating Croatia's Stars for Euro Cup 2024.docxLuka Modric Elevating Croatia's Stars for Euro Cup 2024.docx
Luka Modric Elevating Croatia's Stars for Euro Cup 2024.docx
 
Spain to be banned from participating in Euro 2024.docx
Spain to be banned from participating in Euro 2024.docxSpain to be banned from participating in Euro 2024.docx
Spain to be banned from participating in Euro 2024.docx
 
Unveiling the Mystery of Main Bazar Chart
Unveiling the Mystery of Main Bazar ChartUnveiling the Mystery of Main Bazar Chart
Unveiling the Mystery of Main Bazar Chart
 
Churu Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Churu Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsChuru Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Churu Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
 
Hire 💕 8617370543 Amethi Call Girls Service Call Girls Agency
Hire 💕 8617370543 Amethi Call Girls Service Call Girls AgencyHire 💕 8617370543 Amethi Call Girls Service Call Girls Agency
Hire 💕 8617370543 Amethi Call Girls Service Call Girls Agency
 
Croatia vs Italy Inter Milan Looking to Carry On Success at Euro 2024.pdf
Croatia vs Italy Inter Milan Looking to Carry On Success at Euro 2024.pdfCroatia vs Italy Inter Milan Looking to Carry On Success at Euro 2024.pdf
Croatia vs Italy Inter Milan Looking to Carry On Success at Euro 2024.pdf
 
JORNADA 6 LIGA MURO 2024TUXTEPECOAXACA.pdf
JORNADA 6 LIGA MURO 2024TUXTEPECOAXACA.pdfJORNADA 6 LIGA MURO 2024TUXTEPECOAXACA.pdf
JORNADA 6 LIGA MURO 2024TUXTEPECOAXACA.pdf
 
basketball evolution History Slides.pdf
basketball evolution  History Slides.pdfbasketball evolution  History Slides.pdf
basketball evolution History Slides.pdf
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Netherlands Players expected to miss UEFA Euro 2024 due to injury.docx
Netherlands Players expected to miss UEFA Euro 2024 due to injury.docxNetherlands Players expected to miss UEFA Euro 2024 due to injury.docx
Netherlands Players expected to miss UEFA Euro 2024 due to injury.docx
 
Italy Vs Albania Italy vs Albania Euro 2024 Prediction Can Albania pull off a...
Italy Vs Albania Italy vs Albania Euro 2024 Prediction Can Albania pull off a...Italy Vs Albania Italy vs Albania Euro 2024 Prediction Can Albania pull off a...
Italy Vs Albania Italy vs Albania Euro 2024 Prediction Can Albania pull off a...
 
Slovenia Vs Serbia Eurovision odds Slovenia have top.docx
Slovenia Vs Serbia Eurovision odds Slovenia have top.docxSlovenia Vs Serbia Eurovision odds Slovenia have top.docx
Slovenia Vs Serbia Eurovision odds Slovenia have top.docx
 
Trusted Cricket Betting ID Provider In India: Get your Cricket ID Now
Trusted Cricket Betting ID Provider In India: Get your Cricket ID NowTrusted Cricket Betting ID Provider In India: Get your Cricket ID Now
Trusted Cricket Betting ID Provider In India: Get your Cricket ID Now
 

B.9 chi square

  • 2. Chi- Square Goodness of Fit test • This test is applied when you have qualitative data from one single population • Used to determine whether sample data is consistent with the hypothesized distribution – Example: If the M&M CO. claimed that 30% of M&M’s were red, 40% green, 10% brown, 10% blue and 10% yellow, we could gather random samples of M&M’s and determine whether our distribution was different than the claim made from the company
  • 3. Conditions • Simple Random Sample • The population size is at least 10 times greater than the sample size • The variable of the study is qualitative • The expected value of the sample observations in each level of the variable is at least 5.
  • 4. Conducting a Hypothesis Test 1- State Hypothesis: Ho & Ha must be mutually exclusive Ho: data consistent with a particular distribution Ha: data that are not consistent with a particular distribution * usually Ho specifies the proportion of observations at each level of the variable. The alternative hypothesis states that at least one of the specific proportions is not true 2- Formulate an Analysis Plan - describes how the sample data is used towards the null hypothesis * use the chi square goodness of fit test. It is used to determine if the observed frequencies differ significantly from the expected frequencies stated in the null hypothesis.
  • 5. 3- Analyze: using sample data, find the degrees of freedom(DF), expected frequency counts, test statistics, and P- value corresponding to the TS) * DF= k-1 k= # of levels of the qualitative variable *Expected Frequency counts: E= np E= expected frequency counts n= sample size p= hypothesized proportion from the null hypothesis *TS: Chi- Square random variable: O= observed frequency count E= expected frequency count *P- value- probability of observing the sample statistic as extreme as the TS where the TS is a chi square with degrees of freedom) (can be found using Table C) 4- Interpret: Given the null hypothesis, if the sample results are unlikely, then reject the null. (done by comparing the P-value to the significance level and rejecting the null hypothesis if the P-value is less than the significant level)