SlideShare a Scribd company logo
1 of 6
Chi-square test ( or χ2 test)
The value of the test-statistic is
X2 = ∑ (O-E)2
E
O= Observed Frequency
E = Expected frequency
d.f. = (n- 1)
ILLUSTRATION 1
Illustration 5 (page no 240)
Genetic theory states that children having one parent
of blood type A and the other of blood type B will
always be one of three types A,AB, B and the
proportion of three types will on an average 1:2:1.
To collect data 300 children ( having one A parent
and B parent)have been observed and on the basis
of observation a report has been made. The report
states that out of 300 children , 30% found to be type
A, 45% found to be type AB, and remainder found to
be type B. Test the hypothesis that genetic theory is
correct by ‫א‬2 test at 5% level of significance.
Use of ‫א‬2 for testing the null hypothesis that two
criterion are independent
The table given below shows the data obtained during
outbreak of smallpox:
Test the effectiveness of vaccination in preventing the attack
for preventing the attack from the smallpox by using ‫א‬2 at
5% level of significance.
Attacked Not Attacked Total
Vaccinated 31 469 500
Not Vaccinated 185 1315 1500
Total 216 1784 2000
Formula for expected frequency:
E( AB) = (Row total for the row A)x ( column total for the coloumn B)
Grand Total
degree of freedom in this case is (r-1) (c-1) where r = total no. of rows
and c= total no. of coloumns in the table.
Attacked: B Not Attacked: b Total
Vaccinated: A 31 469 500
Not Vaccinated: a 185 1315 1500
Total 216 1784 2000=N(grand
Total)

More Related Content

What's hot

itft-Decision making and branching in java
itft-Decision making and branching in javaitft-Decision making and branching in java
itft-Decision making and branching in javaAtul Sehdev
 
Theory of Association in Statistics
Theory of Association in StatisticsTheory of Association in Statistics
Theory of Association in StatisticsOjas Maheshwari
 
Binomial probability distribution
Binomial probability distributionBinomial probability distribution
Binomial probability distributionNadeem Uddin
 
TOPOLOGY and TYPES OF TOPOLOGY PowerPoint
TOPOLOGY and TYPES OF TOPOLOGY PowerPointTOPOLOGY and TYPES OF TOPOLOGY PowerPoint
TOPOLOGY and TYPES OF TOPOLOGY PowerPointAqsaAhmed26
 
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...Simplilearn
 
probability ,and its terminologies full description
probability ,and its terminologies full descriptionprobability ,and its terminologies full description
probability ,and its terminologies full descriptionAMRITGUPTA2345
 
4.5. logistic regression
4.5. logistic regression4.5. logistic regression
4.5. logistic regressionA M
 

What's hot (10)

itft-Decision making and branching in java
itft-Decision making and branching in javaitft-Decision making and branching in java
itft-Decision making and branching in java
 
Theory of Association in Statistics
Theory of Association in StatisticsTheory of Association in Statistics
Theory of Association in Statistics
 
Stat 3203 -pps sampling
Stat 3203 -pps samplingStat 3203 -pps sampling
Stat 3203 -pps sampling
 
Binomial probability distribution
Binomial probability distributionBinomial probability distribution
Binomial probability distribution
 
One way anova
One way anovaOne way anova
One way anova
 
TOPOLOGY and TYPES OF TOPOLOGY PowerPoint
TOPOLOGY and TYPES OF TOPOLOGY PowerPointTOPOLOGY and TYPES OF TOPOLOGY PowerPoint
TOPOLOGY and TYPES OF TOPOLOGY PowerPoint
 
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
 
Hypothsis testing
Hypothsis testingHypothsis testing
Hypothsis testing
 
probability ,and its terminologies full description
probability ,and its terminologies full descriptionprobability ,and its terminologies full description
probability ,and its terminologies full description
 
4.5. logistic regression
4.5. logistic regression4.5. logistic regression
4.5. logistic regression
 

Viewers also liked

L3 sampling fundamentals and estimation
L3 sampling fundamentals and estimationL3 sampling fundamentals and estimation
L3 sampling fundamentals and estimationJags Jagdish
 
Blood type lab questions
Blood type lab questionsBlood type lab questions
Blood type lab questionsjduran9550
 
Blood typing analysis
Blood typing analysisBlood typing analysis
Blood typing analysiszs4033bn
 
Blood typing analysis
Blood typing analysisBlood typing analysis
Blood typing analysismv4428bn
 

Viewers also liked (7)

L3 sampling fundamentals and estimation
L3 sampling fundamentals and estimationL3 sampling fundamentals and estimation
L3 sampling fundamentals and estimation
 
Sampling fundamentals
Sampling fundamentalsSampling fundamentals
Sampling fundamentals
 
Blood type lab questions
Blood type lab questionsBlood type lab questions
Blood type lab questions
 
Blood typing analysis
Blood typing analysisBlood typing analysis
Blood typing analysis
 
Blood typing analysis
Blood typing analysisBlood typing analysis
Blood typing analysis
 
Chap07 interval estimation
Chap07 interval estimationChap07 interval estimation
Chap07 interval estimation
 
Chi square test
Chi square test Chi square test
Chi square test
 

More from Jags Jagdish

Services marketing
Services marketingServices marketing
Services marketingJags Jagdish
 
Internship at dish tv
Internship at dish tvInternship at dish tv
Internship at dish tvJags Jagdish
 
Theory of sampling
Theory of samplingTheory of sampling
Theory of samplingJags Jagdish
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesisJags Jagdish
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inferenceJags Jagdish
 
L4 theory of sampling
L4 theory of samplingL4 theory of sampling
L4 theory of samplingJags Jagdish
 
Hypothesis testing examples on z test
Hypothesis testing examples on z testHypothesis testing examples on z test
Hypothesis testing examples on z testJags Jagdish
 
Data collection techniques
Data collection techniquesData collection techniques
Data collection techniquesJags Jagdish
 
Distribution channel &_physical_distribution.pptx [repaired]
Distribution channel &_physical_distribution.pptx [repaired]Distribution channel &_physical_distribution.pptx [repaired]
Distribution channel &_physical_distribution.pptx [repaired]Jags Jagdish
 
Chapter 13. new product development
Chapter 13. new product developmentChapter 13. new product development
Chapter 13. new product developmentJags Jagdish
 
Chapter 12. promotion mix
Chapter 12. promotion mixChapter 12. promotion mix
Chapter 12. promotion mixJags Jagdish
 
Chapter 11. supply chain management
Chapter 11. supply chain managementChapter 11. supply chain management
Chapter 11. supply chain managementJags Jagdish
 
Chapter 10. distribution channel & logistics management
Chapter 10. distribution channel & logistics managementChapter 10. distribution channel & logistics management
Chapter 10. distribution channel & logistics managementJags Jagdish
 
Chapter 9. service marketing
Chapter 9. service marketingChapter 9. service marketing
Chapter 9. service marketingJags Jagdish
 
Chapter 8. personal selling
Chapter 8. personal sellingChapter 8. personal selling
Chapter 8. personal sellingJags Jagdish
 
Chapter 7. customer relationship management
Chapter 7. customer relationship managementChapter 7. customer relationship management
Chapter 7. customer relationship managementJags Jagdish
 
Chapter 6. retail mgt
Chapter 6. retail mgtChapter 6. retail mgt
Chapter 6. retail mgtJags Jagdish
 
Chapter 3. marketing research
Chapter 3. marketing researchChapter 3. marketing research
Chapter 3. marketing researchJags Jagdish
 
Chapter 4. segmentation, targeting, positioning
Chapter 4. segmentation, targeting, positioningChapter 4. segmentation, targeting, positioning
Chapter 4. segmentation, targeting, positioningJags Jagdish
 
Chapter 1. marketing
Chapter 1. marketingChapter 1. marketing
Chapter 1. marketingJags Jagdish
 

More from Jags Jagdish (20)

Services marketing
Services marketingServices marketing
Services marketing
 
Internship at dish tv
Internship at dish tvInternship at dish tv
Internship at dish tv
 
Theory of sampling
Theory of samplingTheory of sampling
Theory of sampling
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inference
 
L4 theory of sampling
L4 theory of samplingL4 theory of sampling
L4 theory of sampling
 
Hypothesis testing examples on z test
Hypothesis testing examples on z testHypothesis testing examples on z test
Hypothesis testing examples on z test
 
Data collection techniques
Data collection techniquesData collection techniques
Data collection techniques
 
Distribution channel &_physical_distribution.pptx [repaired]
Distribution channel &_physical_distribution.pptx [repaired]Distribution channel &_physical_distribution.pptx [repaired]
Distribution channel &_physical_distribution.pptx [repaired]
 
Chapter 13. new product development
Chapter 13. new product developmentChapter 13. new product development
Chapter 13. new product development
 
Chapter 12. promotion mix
Chapter 12. promotion mixChapter 12. promotion mix
Chapter 12. promotion mix
 
Chapter 11. supply chain management
Chapter 11. supply chain managementChapter 11. supply chain management
Chapter 11. supply chain management
 
Chapter 10. distribution channel & logistics management
Chapter 10. distribution channel & logistics managementChapter 10. distribution channel & logistics management
Chapter 10. distribution channel & logistics management
 
Chapter 9. service marketing
Chapter 9. service marketingChapter 9. service marketing
Chapter 9. service marketing
 
Chapter 8. personal selling
Chapter 8. personal sellingChapter 8. personal selling
Chapter 8. personal selling
 
Chapter 7. customer relationship management
Chapter 7. customer relationship managementChapter 7. customer relationship management
Chapter 7. customer relationship management
 
Chapter 6. retail mgt
Chapter 6. retail mgtChapter 6. retail mgt
Chapter 6. retail mgt
 
Chapter 3. marketing research
Chapter 3. marketing researchChapter 3. marketing research
Chapter 3. marketing research
 
Chapter 4. segmentation, targeting, positioning
Chapter 4. segmentation, targeting, positioningChapter 4. segmentation, targeting, positioning
Chapter 4. segmentation, targeting, positioning
 
Chapter 1. marketing
Chapter 1. marketingChapter 1. marketing
Chapter 1. marketing
 

Chi-square test for genetic theory and vaccination effectiveness

  • 1. Chi-square test ( or χ2 test)
  • 2. The value of the test-statistic is X2 = ∑ (O-E)2 E O= Observed Frequency E = Expected frequency d.f. = (n- 1)
  • 4. Illustration 5 (page no 240) Genetic theory states that children having one parent of blood type A and the other of blood type B will always be one of three types A,AB, B and the proportion of three types will on an average 1:2:1. To collect data 300 children ( having one A parent and B parent)have been observed and on the basis of observation a report has been made. The report states that out of 300 children , 30% found to be type A, 45% found to be type AB, and remainder found to be type B. Test the hypothesis that genetic theory is correct by ‫א‬2 test at 5% level of significance.
  • 5. Use of ‫א‬2 for testing the null hypothesis that two criterion are independent The table given below shows the data obtained during outbreak of smallpox: Test the effectiveness of vaccination in preventing the attack for preventing the attack from the smallpox by using ‫א‬2 at 5% level of significance. Attacked Not Attacked Total Vaccinated 31 469 500 Not Vaccinated 185 1315 1500 Total 216 1784 2000
  • 6. Formula for expected frequency: E( AB) = (Row total for the row A)x ( column total for the coloumn B) Grand Total degree of freedom in this case is (r-1) (c-1) where r = total no. of rows and c= total no. of coloumns in the table. Attacked: B Not Attacked: b Total Vaccinated: A 31 469 500 Not Vaccinated: a 185 1315 1500 Total 216 1784 2000=N(grand Total)