SlideShare a Scribd company logo
HYPOTHESIS
TESTING
Chi-Square Goodness of Fit Test:
NADEEM UDDIN
ASSOCIATE PROFESSOR
OF STATISTICS
Chi-Square Goodness of Fit Test:
This lesson explains how to conduct a chi-
square goodness of fit test. The test is
applied when you have one categorical
variable from a single population. It is
used to determine whether sample data
are consistent with a hypothesized
distribution.
Procedure Goodness of fit test
1-Hypothesis H0: Fit is good.
H1: Fit is not good.
2-Level of significance  = 1% or 5% or
any given value.
3-Test of statistic 𝜒2 =
𝑜−𝑒 2
𝑒
Where o = observed value
e = estimated value
4-Critical region𝜒2
, 𝑛−1
5- Computation
6-Conclusion
If the calculated value of test
statistic falls in the area of
rejection, we reject the null
hypothesis otherwise accept it.
Example-8:
To investigate whether the following
distribution of grades is uniform at 5%
level of significance.
Grades A B C D E
F 25 30 22 32 15
Solution:
1- Hypothesis H0: Distribution of grades is uniform.
H1:Distribution of grades is not uniform.
2- Level of significance  = 0.05
3- Test of statistic 𝝌 𝟐
=
𝒐−𝒆 𝟐
𝒆
4- Critical region    
 
2 2
, 1 0.05, 5 1
2 2
0.05,4, 1
9.488
n
n


 
 
 


 
9.488
5. Computation
X O P(x) N.P(x)=
e
A 25 1/5 24.8 0.0016
B 30 1/5 24.8 1.0903
C 22 1/5 24.8 0.3161
D 32 1/5 24.8 2.0903
E 15 1/5 24.8 3.8726
124
 
2
o e
e

2
7.371cal 
6. Conclusion: Accept H0.
(Distribution of grades is uniform)
Example-9:
Historical records indicate that in college students
passing in grades A,B,C,D and E are 10,30,40,10
and 10 percent, respectively. For a particular year
grades earned by students with grade A are 8,
17 with B, 20 with C, 3 with D and 2 with E. Using
 = 0.05 test the null hypotheses that
grades do not differ with historical pattern.
Solution:
1. Hypothesis
H0: Grades do not differ with historical pattern.
H1: Grades differ with historical pattern.
2- Level of significance  = 0.05
3- Test of statistic 𝝌 𝟐 =
𝒐−𝒆 𝟐
𝒆
   
 
2 2
, 1 0.05, 5 1
2 2
0.05,4, 1
9.488
n
n


 
 
 


  9.488
4- Critical Region
5. Computation
6. Conclusion: Accept H0.
(Grades do not differ with historical pattern).
X O P(x) N.P(x)=
e
A 8 0.10 5 1.80
B 17 0.30 15 0.27
C 20 0.40 20 0.00
D 3 0.10 5 0.80
E 2 0.10 5 1.80
50
 
2
o e
e

2
4.67cal 
Example-10:
In a survey of 400 infants chosen at random, it is
found that 185 are girls. Are boy and girl births
equally likely at  = 0.05
Solution:
1. Hypothesis
H0:Boy and girl births are equally likely
H1:Boy and girl births are not equally likely
2- Level of significance  = 0.05
3- Test of statistic 𝜒2 =
𝑜−𝑒 2
𝑒
4. Critical Region
2
 α,(n-1) =
2
 0.05,(2-1)
2
 0.05,1 = 3.841
5. Computation
X O P(x) N.P(x)
=e
Girls 185 ½ 200 1.125
Boys 215 ½ 200 1.125
400
 
2
o e
e

2
2.250cal 
6. Conclusion: Accept H0.

More Related Content

What's hot

ANOVA TEST by shafeek
ANOVA TEST by shafeekANOVA TEST by shafeek
ANOVA TEST by shafeek
Shafeek S
 
wilcoxon signed rank test
wilcoxon signed rank testwilcoxon signed rank test
wilcoxon signed rank test
raj shekar
 
The mann whitney u test
The mann whitney u testThe mann whitney u test
The mann whitney u test
Regent University
 
Friedman's test
Friedman's testFriedman's test
The Sign Test
The Sign TestThe Sign Test
The Sign Test
Sharlaine Ruth
 
Wilcoxon Rank-Sum Test
Wilcoxon Rank-Sum TestWilcoxon Rank-Sum Test
Wilcoxon Rank-Sum Test
Sahil Jain
 
Anova ppt
Anova pptAnova ppt
Anova ppt
Sravani Ganti
 
Factorial design ,full factorial design, fractional factorial design
Factorial design ,full factorial design, fractional factorial designFactorial design ,full factorial design, fractional factorial design
Factorial design ,full factorial design, fractional factorial design
Sayed Shakil Ahmed
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
Khadijah Sohail
 
factorial design.pptx
factorial design.pptxfactorial design.pptx
factorial design.pptx
SreeLatha98
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
Dr NEETHU ASOKAN
 
One Way Anova
One Way AnovaOne Way Anova
One Way Anovashoffma5
 
Non parametric tests
Non parametric testsNon parametric tests
Non parametric tests
Raghavendra Huchchannavar
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
Amany El-seoud
 
Chi square test
Chi square testChi square test
Chi square test
Nayna Azad
 
Regression analysis.
Regression analysis.Regression analysis.
Regression analysis.
sonia gupta
 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta Sawant
PRAJAKTASAWANT33
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVA
MEENURANJI
 
Parametric tests
Parametric testsParametric tests
Parametric tests
Ananya Sree Katta
 

What's hot (20)

ANOVA TEST by shafeek
ANOVA TEST by shafeekANOVA TEST by shafeek
ANOVA TEST by shafeek
 
wilcoxon signed rank test
wilcoxon signed rank testwilcoxon signed rank test
wilcoxon signed rank test
 
Non-Parametric Tests
Non-Parametric TestsNon-Parametric Tests
Non-Parametric Tests
 
The mann whitney u test
The mann whitney u testThe mann whitney u test
The mann whitney u test
 
Friedman's test
Friedman's testFriedman's test
Friedman's test
 
The Sign Test
The Sign TestThe Sign Test
The Sign Test
 
Wilcoxon Rank-Sum Test
Wilcoxon Rank-Sum TestWilcoxon Rank-Sum Test
Wilcoxon Rank-Sum Test
 
Anova ppt
Anova pptAnova ppt
Anova ppt
 
Factorial design ,full factorial design, fractional factorial design
Factorial design ,full factorial design, fractional factorial designFactorial design ,full factorial design, fractional factorial design
Factorial design ,full factorial design, fractional factorial design
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
factorial design.pptx
factorial design.pptxfactorial design.pptx
factorial design.pptx
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
One Way Anova
One Way AnovaOne Way Anova
One Way Anova
 
Non parametric tests
Non parametric testsNon parametric tests
Non parametric tests
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Chi square test
Chi square testChi square test
Chi square test
 
Regression analysis.
Regression analysis.Regression analysis.
Regression analysis.
 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta Sawant
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVA
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 

Similar to Hypothesis testing chi square goodness of fit test

Hypothesis testing part i
Hypothesis testing part iHypothesis testing part i
Hypothesis testing part i
Nadeem Uddin
 
Proportion test using Chi square
Proportion test using Chi squareProportion test using Chi square
Proportion test using Chi square
Parag Shah
 
Nonparametric statistics ppt @ bec doms
Nonparametric statistics ppt @ bec domsNonparametric statistics ppt @ bec doms
Nonparametric statistics ppt @ bec doms
Babasab Patil
 
Nonparametric statistics ppt @ bec doms
Nonparametric statistics ppt @ bec domsNonparametric statistics ppt @ bec doms
Nonparametric statistics ppt @ bec doms
Babasab Patil
 
Testing of Hypothesis.pdf
Testing of Hypothesis.pdfTesting of Hypothesis.pdf
Testing of Hypothesis.pdf
MuhammadFaizan389
 
HypothesisTesting_HANDOUT.pdf
HypothesisTesting_HANDOUT.pdfHypothesisTesting_HANDOUT.pdf
HypothesisTesting_HANDOUT.pdf
Jorge Vega Rodríguez
 
K.A.Sindhura-t,z,f tests
K.A.Sindhura-t,z,f testsK.A.Sindhura-t,z,f tests
K.A.Sindhura-t,z,f tests
Sindhura Kopparthi
 
Significant test using student T test
Significant test using student T testSignificant test using student T test
Significant test using student T test
Lawrence kok
 
Lesson06_static11
Lesson06_static11Lesson06_static11
Lesson06_static11thangv
 
Marketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptxMarketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptx
xababid981
 
Identifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanIdentifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population Mean
MYRABACSAFRA2
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
Denni Domingo
 

Similar to Hypothesis testing chi square goodness of fit test (20)

Hypothesis testing part i
Hypothesis testing part iHypothesis testing part i
Hypothesis testing part i
 
Nonparametric and Distribution- Free Statistics
Nonparametric and Distribution- Free Statistics Nonparametric and Distribution- Free Statistics
Nonparametric and Distribution- Free Statistics
 
Chi square
Chi squareChi square
Chi square
 
Nonparametric and Distribution- Free Statistics _contd
Nonparametric and Distribution- Free Statistics _contdNonparametric and Distribution- Free Statistics _contd
Nonparametric and Distribution- Free Statistics _contd
 
Goodness of fit (ppt)
Goodness of fit (ppt)Goodness of fit (ppt)
Goodness of fit (ppt)
 
Proportion test using Chi square
Proportion test using Chi squareProportion test using Chi square
Proportion test using Chi square
 
Nonparametric statistics ppt @ bec doms
Nonparametric statistics ppt @ bec domsNonparametric statistics ppt @ bec doms
Nonparametric statistics ppt @ bec doms
 
Nonparametric statistics ppt @ bec doms
Nonparametric statistics ppt @ bec domsNonparametric statistics ppt @ bec doms
Nonparametric statistics ppt @ bec doms
 
Testing of Hypothesis.pdf
Testing of Hypothesis.pdfTesting of Hypothesis.pdf
Testing of Hypothesis.pdf
 
HypothesisTesting_HANDOUT.pdf
HypothesisTesting_HANDOUT.pdfHypothesisTesting_HANDOUT.pdf
HypothesisTesting_HANDOUT.pdf
 
K.A.Sindhura-t,z,f tests
K.A.Sindhura-t,z,f testsK.A.Sindhura-t,z,f tests
K.A.Sindhura-t,z,f tests
 
Presentation2 bucks-1
Presentation2 bucks-1Presentation2 bucks-1
Presentation2 bucks-1
 
Significant test using student T test
Significant test using student T testSignificant test using student T test
Significant test using student T test
 
Lesson06_static11
Lesson06_static11Lesson06_static11
Lesson06_static11
 
Marketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptxMarketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptx
 
Identifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanIdentifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population Mean
 
95313_CH07_PP.ppt
95313_CH07_PP.ppt95313_CH07_PP.ppt
95313_CH07_PP.ppt
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Aron chpt 8 ed
Aron chpt 8 edAron chpt 8 ed
Aron chpt 8 ed
 
Aron chpt 8 ed
Aron chpt 8 edAron chpt 8 ed
Aron chpt 8 ed
 

More from Nadeem Uddin

A corporation has 15 salesmen.pdf
A corporation has 15 salesmen.pdfA corporation has 15 salesmen.pdf
A corporation has 15 salesmen.pdf
Nadeem Uddin
 
A question paper is divided into three groups A.docx
A question paper is divided into three groups A.docxA question paper is divided into three groups A.docx
A question paper is divided into three groups A.docx
Nadeem Uddin
 
If on the average the rain falls on twelve days in every thirty day.docx
If on the average  the rain falls on twelve days in every thirty day.docxIf on the average  the rain falls on twelve days in every thirty day.docx
If on the average the rain falls on twelve days in every thirty day.docx
Nadeem Uddin
 
If on the average the rain falls on twelve days in every thirty days.docx
If on the average  the rain falls on twelve days in every thirty days.docxIf on the average  the rain falls on twelve days in every thirty days.docx
If on the average the rain falls on twelve days in every thirty days.docx
Nadeem Uddin
 
If A and B play a game in which the probability that A wins is (2).docx
If A and B play a game in which the probability that A wins is (2).docxIf A and B play a game in which the probability that A wins is (2).docx
If A and B play a game in which the probability that A wins is (2).docx
Nadeem Uddin
 
If A and B play a game in which the probability that A wins is.docx
If A and B play a game in which the probability that A wins is.docxIf A and B play a game in which the probability that A wins is.docx
If A and B play a game in which the probability that A wins is.docx
Nadeem Uddin
 
Suppose you are eating at cafeteria with two friends.docx
Suppose you are eating at cafeteria with two friends.docxSuppose you are eating at cafeteria with two friends.docx
Suppose you are eating at cafeteria with two friends.docx
Nadeem Uddin
 
Three men toss in succession for a prize to be given to the one.docx
Three men toss in succession for a prize to be given to the one.docxThree men toss in succession for a prize to be given to the one.docx
Three men toss in succession for a prize to be given to the one.docx
Nadeem Uddin
 
Two men A and B toss in succession for a prize to be given to the one.docx
Two men A and B toss in succession for a prize to be given to the one.docxTwo men A and B toss in succession for a prize to be given to the one.docx
Two men A and B toss in succession for a prize to be given to the one.docx
Nadeem Uddin
 
For the following venn diagram.docx
For the following venn diagram.docxFor the following venn diagram.docx
For the following venn diagram.docx
Nadeem Uddin
 
A group of 50 people was asked of three newspapers.docx
A group of 50 people was asked of three newspapers.docxA group of 50 people was asked of three newspapers.docx
A group of 50 people was asked of three newspapers.docx
Nadeem Uddin
 
In a survey of 100 participants.docx
In a survey of 100 participants.docxIn a survey of 100 participants.docx
In a survey of 100 participants.docx
Nadeem Uddin
 
Probability by venn diagram.docx
Probability by venn diagram.docxProbability by venn diagram.docx
Probability by venn diagram.docx
Nadeem Uddin
 
A bag contains 6 red and 4 black balls.docx
A bag contains 6 red and 4 black balls.docxA bag contains 6 red and 4 black balls.docx
A bag contains 6 red and 4 black balls.docx
Nadeem Uddin
 
Suppose that the probability is 0.8 that any given person will believe a tale...
Suppose that the probability is 0.8 that any given person will believe a tale...Suppose that the probability is 0.8 that any given person will believe a tale...
Suppose that the probability is 0.8 that any given person will believe a tale...
Nadeem Uddin
 
A man draws 2 balls from a bag containing 3 white and 5 black balls.docx
A man draws 2 balls from a bag containing 3 white and 5 black balls.docxA man draws 2 balls from a bag containing 3 white and 5 black balls.docx
A man draws 2 balls from a bag containing 3 white and 5 black balls.docx
Nadeem Uddin
 
The probability that a candidate passes a certain professional examination is...
The probability that a candidate passes a certain professional examination is...The probability that a candidate passes a certain professional examination is...
The probability that a candidate passes a certain professional examination is...
Nadeem Uddin
 
The probability that three men hit a target are respectively 1.docx
The probability that  three men hit a target are respectively 1.docxThe probability that  three men hit a target are respectively 1.docx
The probability that three men hit a target are respectively 1.docx
Nadeem Uddin
 
In a survey of a group of people the following results are obtained.docx
In a survey of a group of people the following results are obtained.docxIn a survey of a group of people the following results are obtained.docx
In a survey of a group of people the following results are obtained.docx
Nadeem Uddin
 
The probability that a student passes mathematics is 2.docx
The probability that a student passes mathematics is 2.docxThe probability that a student passes mathematics is 2.docx
The probability that a student passes mathematics is 2.docx
Nadeem Uddin
 

More from Nadeem Uddin (20)

A corporation has 15 salesmen.pdf
A corporation has 15 salesmen.pdfA corporation has 15 salesmen.pdf
A corporation has 15 salesmen.pdf
 
A question paper is divided into three groups A.docx
A question paper is divided into three groups A.docxA question paper is divided into three groups A.docx
A question paper is divided into three groups A.docx
 
If on the average the rain falls on twelve days in every thirty day.docx
If on the average  the rain falls on twelve days in every thirty day.docxIf on the average  the rain falls on twelve days in every thirty day.docx
If on the average the rain falls on twelve days in every thirty day.docx
 
If on the average the rain falls on twelve days in every thirty days.docx
If on the average  the rain falls on twelve days in every thirty days.docxIf on the average  the rain falls on twelve days in every thirty days.docx
If on the average the rain falls on twelve days in every thirty days.docx
 
If A and B play a game in which the probability that A wins is (2).docx
If A and B play a game in which the probability that A wins is (2).docxIf A and B play a game in which the probability that A wins is (2).docx
If A and B play a game in which the probability that A wins is (2).docx
 
If A and B play a game in which the probability that A wins is.docx
If A and B play a game in which the probability that A wins is.docxIf A and B play a game in which the probability that A wins is.docx
If A and B play a game in which the probability that A wins is.docx
 
Suppose you are eating at cafeteria with two friends.docx
Suppose you are eating at cafeteria with two friends.docxSuppose you are eating at cafeteria with two friends.docx
Suppose you are eating at cafeteria with two friends.docx
 
Three men toss in succession for a prize to be given to the one.docx
Three men toss in succession for a prize to be given to the one.docxThree men toss in succession for a prize to be given to the one.docx
Three men toss in succession for a prize to be given to the one.docx
 
Two men A and B toss in succession for a prize to be given to the one.docx
Two men A and B toss in succession for a prize to be given to the one.docxTwo men A and B toss in succession for a prize to be given to the one.docx
Two men A and B toss in succession for a prize to be given to the one.docx
 
For the following venn diagram.docx
For the following venn diagram.docxFor the following venn diagram.docx
For the following venn diagram.docx
 
A group of 50 people was asked of three newspapers.docx
A group of 50 people was asked of three newspapers.docxA group of 50 people was asked of three newspapers.docx
A group of 50 people was asked of three newspapers.docx
 
In a survey of 100 participants.docx
In a survey of 100 participants.docxIn a survey of 100 participants.docx
In a survey of 100 participants.docx
 
Probability by venn diagram.docx
Probability by venn diagram.docxProbability by venn diagram.docx
Probability by venn diagram.docx
 
A bag contains 6 red and 4 black balls.docx
A bag contains 6 red and 4 black balls.docxA bag contains 6 red and 4 black balls.docx
A bag contains 6 red and 4 black balls.docx
 
Suppose that the probability is 0.8 that any given person will believe a tale...
Suppose that the probability is 0.8 that any given person will believe a tale...Suppose that the probability is 0.8 that any given person will believe a tale...
Suppose that the probability is 0.8 that any given person will believe a tale...
 
A man draws 2 balls from a bag containing 3 white and 5 black balls.docx
A man draws 2 balls from a bag containing 3 white and 5 black balls.docxA man draws 2 balls from a bag containing 3 white and 5 black balls.docx
A man draws 2 balls from a bag containing 3 white and 5 black balls.docx
 
The probability that a candidate passes a certain professional examination is...
The probability that a candidate passes a certain professional examination is...The probability that a candidate passes a certain professional examination is...
The probability that a candidate passes a certain professional examination is...
 
The probability that three men hit a target are respectively 1.docx
The probability that  three men hit a target are respectively 1.docxThe probability that  three men hit a target are respectively 1.docx
The probability that three men hit a target are respectively 1.docx
 
In a survey of a group of people the following results are obtained.docx
In a survey of a group of people the following results are obtained.docxIn a survey of a group of people the following results are obtained.docx
In a survey of a group of people the following results are obtained.docx
 
The probability that a student passes mathematics is 2.docx
The probability that a student passes mathematics is 2.docxThe probability that a student passes mathematics is 2.docx
The probability that a student passes mathematics is 2.docx
 

Recently uploaded

June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
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
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
NelTorrente
 
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
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 

Recently uploaded (20)

June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
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
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
 
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 ...
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 

Hypothesis testing chi square goodness of fit test

  • 1. HYPOTHESIS TESTING Chi-Square Goodness of Fit Test: NADEEM UDDIN ASSOCIATE PROFESSOR OF STATISTICS
  • 2. Chi-Square Goodness of Fit Test: This lesson explains how to conduct a chi- square goodness of fit test. The test is applied when you have one categorical variable from a single population. It is used to determine whether sample data are consistent with a hypothesized distribution.
  • 3. Procedure Goodness of fit test 1-Hypothesis H0: Fit is good. H1: Fit is not good. 2-Level of significance  = 1% or 5% or any given value. 3-Test of statistic 𝜒2 = 𝑜−𝑒 2 𝑒 Where o = observed value e = estimated value
  • 4. 4-Critical region𝜒2 , 𝑛−1 5- Computation 6-Conclusion If the calculated value of test statistic falls in the area of rejection, we reject the null hypothesis otherwise accept it.
  • 5. Example-8: To investigate whether the following distribution of grades is uniform at 5% level of significance. Grades A B C D E F 25 30 22 32 15
  • 6. Solution: 1- Hypothesis H0: Distribution of grades is uniform. H1:Distribution of grades is not uniform. 2- Level of significance  = 0.05 3- Test of statistic 𝝌 𝟐 = 𝒐−𝒆 𝟐 𝒆 4- Critical region       2 2 , 1 0.05, 5 1 2 2 0.05,4, 1 9.488 n n             9.488
  • 7. 5. Computation X O P(x) N.P(x)= e A 25 1/5 24.8 0.0016 B 30 1/5 24.8 1.0903 C 22 1/5 24.8 0.3161 D 32 1/5 24.8 2.0903 E 15 1/5 24.8 3.8726 124   2 o e e  2 7.371cal  6. Conclusion: Accept H0. (Distribution of grades is uniform)
  • 8. Example-9: Historical records indicate that in college students passing in grades A,B,C,D and E are 10,30,40,10 and 10 percent, respectively. For a particular year grades earned by students with grade A are 8, 17 with B, 20 with C, 3 with D and 2 with E. Using  = 0.05 test the null hypotheses that grades do not differ with historical pattern.
  • 9. Solution: 1. Hypothesis H0: Grades do not differ with historical pattern. H1: Grades differ with historical pattern. 2- Level of significance  = 0.05 3- Test of statistic 𝝌 𝟐 = 𝒐−𝒆 𝟐 𝒆
  • 10.       2 2 , 1 0.05, 5 1 2 2 0.05,4, 1 9.488 n n             9.488 4- Critical Region 5. Computation 6. Conclusion: Accept H0. (Grades do not differ with historical pattern). X O P(x) N.P(x)= e A 8 0.10 5 1.80 B 17 0.30 15 0.27 C 20 0.40 20 0.00 D 3 0.10 5 0.80 E 2 0.10 5 1.80 50   2 o e e  2 4.67cal 
  • 11. Example-10: In a survey of 400 infants chosen at random, it is found that 185 are girls. Are boy and girl births equally likely at  = 0.05 Solution: 1. Hypothesis H0:Boy and girl births are equally likely H1:Boy and girl births are not equally likely 2- Level of significance  = 0.05 3- Test of statistic 𝜒2 = 𝑜−𝑒 2 𝑒
  • 12. 4. Critical Region 2  α,(n-1) = 2  0.05,(2-1) 2  0.05,1 = 3.841 5. Computation X O P(x) N.P(x) =e Girls 185 ½ 200 1.125 Boys 215 ½ 200 1.125 400   2 o e e  2 2.250cal  6. Conclusion: Accept H0.