SlideShare a Scribd company logo
Chi-Square Test of Goodness of Fit
(Conceptual)
Question of Goodness of Fit
Question of Goodness of Fit
Questions of goodness of fit have become
increasingly important in modern statistics.
Question of Goodness of Fit
Questions of goodness of fit juxtapose complex
observed patterns against hypothesized or
previously observed patterns to test overall and
specific differences among them.
Observed Hypothesized Difference
Observed Hypothesized Difference
If the difference is small then the FIT IS GOOD
Observed Hypothesized Difference
If the difference is small then the FIT IS GOOD
Observed Hypothesized Difference
Observed Hypothesized Difference
If the difference is small then the FIT IS GOOD
Observed Hypothesized Difference
For example:
Observed Hypothesized Difference
If the difference is small then the FIT IS GOOD
Observed Hypothesized Difference
For example:
51% Females 50% Females 1%
Observed Hypothesized Difference
Observed Hypothesized Difference
If the difference is BIG then the FIT IS NOT GOOD
Observed Hypothesized Difference
If the difference is BIG then the FIT IS NOT GOOD
Observed Hypothesized Difference
Observed Hypothesized Difference
If the difference is BIG then the FIT IS NOT GOOD
Observed Hypothesized Difference
For example:
Observed Hypothesized Difference
If the difference is BIG then the FIT IS NOT GOOD
Observed Hypothesized Difference
For example:
50% Females 22% Females 18%
Here is an example:
Here is an example:
We want to know if a sample we have selected
has the national percentages of a certain ethnic
groups.
Here is an example:
We want to know if a sample we have selected
has the national percentages of a certain ethnic
groups.
2% of sample
is made of
members of
this ethnic
group
10% of the
population is
made of this
ethnic group
8% Difference
You will use certain statistical methods
to determine if the goodness of fit is
significant or not.
You will use certain statistical methods
to determine if the goodness of fit is
significant or not.
Here is an example:
You will use certain statistical methods
to determine if the goodness of fit is
significant or not.
Here is an example:
Problem โ€“ The chair of a statistics department
suspects that some of her faculty are more
popular with students than others.
There are three sections of introductory stats
that are taught at the same time in the morning
by Professors Cauforek, Kerr, and Rector.
There are three sections of introductory stats
that are taught at the same time in the morning
by Professors Cauforek, Kerr, and Rector.
66 students are planning on enrolling in one of
the three classes.
What would you expect the number of enrollees
to be in each class if popularity were not an
issue?
Professor Cauforek Professor Kerr Professor Rector
22 22 22
What would you expect the number of enrollees
to be in each class if popularity were not an
issue?
Professor Cauforek Professor Kerr Professor Rector
22 22 22
What would you expect the number of enrollees
to be in each class if popularity were not an
issue?
This is our expected value.
Now letโ€™s see what was observed.
Now letโ€™s see what was observed.
The number who enroll for each class was:
Now letโ€™s see what was observed.
The number who enroll for each class was:
Professor Cauforek Professor Kerr Professor Rector
31 25 10
We will test the degree to which the observed
data...
We will test the degree to which the observed
data...
Professor Cauforek Professor Kerr Professor Rector
31 25 10
We will test the degree to which the observed
data...
โ€ฆfits the expected enrollments.
Professor Cauforek Professor Kerr Professor Rector
31 25 10
We will test the degree to which the observed
data...
โ€ฆfits the expected enrollments.
Professor Cauforek Professor Kerr Professor Rector
31 25 10
Professor Cauforek Professor Kerr Professor Rector
22 22 22
Here is the formula:
Here is the formula:
๐‘ฅ2
= ฮฃ
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
Where:
๐‘ฅ2
= ฮฃ
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
Where:
๐‘ฅ2
= ฮฃ
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
๐’™ ๐Ÿ
= ๐ถโ„Ž๐‘– ๐‘†๐‘ž๐‘ข๐‘Ž๐‘Ÿ๐‘’
Where:
๐‘ฅ2
= ฮฃ
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
๐’™ ๐Ÿ
= ๐ถโ„Ž๐‘– ๐‘†๐‘ž๐‘ข๐‘Ž๐‘Ÿ๐‘’
๐’™ ๐Ÿ
= ฮฃ
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
๐šบ = ๐‘†๐‘ข๐‘š ๐‘œ๐‘“
๐šบ = ๐‘†๐‘ข๐‘š ๐‘œ๐‘“
๐‘ฅ2
= ๐šบ
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
๐Ž = ๐‘œ๐‘๐‘ ๐‘’๐‘Ÿ๐‘ฃ๐‘’๐‘‘ ๐‘ ๐‘๐‘œ๐‘Ÿ๐‘’
๐Ž = ๐‘œ๐‘๐‘ ๐‘’๐‘Ÿ๐‘ฃ๐‘’๐‘‘ ๐‘ ๐‘๐‘œ๐‘Ÿ๐‘’
๐‘ฅ2
= ฮฃ
(๐‘ถ โˆ’ ๐ธ)2
๐ธ
๐Ž = ๐‘œ๐‘๐‘ ๐‘’๐‘Ÿ๐‘ฃ๐‘’๐‘‘ ๐‘ ๐‘๐‘œ๐‘Ÿ๐‘’
๐‘ฅ2
= ฮฃ
(๐‘ถ โˆ’ ๐ธ)2
๐ธ
Professor Cauforek Professor Kerr Professor Rector
31 25 10
๐Ž = ๐‘œ๐‘๐‘ ๐‘’๐‘Ÿ๐‘ฃ๐‘’๐‘‘ ๐‘ ๐‘๐‘œ๐‘Ÿ๐‘’
๐‘ฅ2
= ฮฃ
(๐‘ถ โˆ’ ๐ธ)2
๐ธ
Professor Cauforek Professor Kerr Professor Rector
31 25 10
๐‘ฌ = ๐‘’๐‘ฅ๐‘๐‘’๐‘๐‘ก๐‘’๐‘‘ ๐‘ ๐‘๐‘œ๐‘Ÿ๐‘’
๐‘ฌ = ๐‘’๐‘ฅ๐‘๐‘’๐‘๐‘ก๐‘’๐‘‘ ๐‘ ๐‘๐‘œ๐‘Ÿ๐‘’
๐‘ฅ2
= ฮฃ
(๐‘‚ โˆ’ ๐‘ฌ)2
๐ธ
๐‘ฌ = ๐‘’๐‘ฅ๐‘๐‘’๐‘๐‘ก๐‘’๐‘‘ ๐‘ ๐‘๐‘œ๐‘Ÿ๐‘’
๐‘ฅ2
= ฮฃ
(๐‘‚ โˆ’ ๐‘ฌ)2
๐ธ
Professor Cauforek Professor Kerr Professor Rector
22 22 22
๐‘ฌ = ๐‘’๐‘ฅ๐‘๐‘’๐‘๐‘ก๐‘’๐‘‘ ๐‘ ๐‘๐‘œ๐‘Ÿ๐‘’
๐‘ฅ2
= ฮฃ
(๐‘‚ โˆ’ ๐‘ฌ)2
๐ธ
Professor Cauforek Professor Kerr Professor Rector
22 22 22
๐‘ฌ = ๐‘’๐‘ฅ๐‘๐‘’๐‘๐‘ก๐‘’๐‘‘ ๐‘ ๐‘๐‘œ๐‘Ÿ๐‘’
๐‘ฅ2
= ฮฃ
(๐‘‚ โˆ’ ๐ธ)2
๐‘ฌ
Professor Cauforek Professor Kerr Professor Rector
22 22 22
Here is the null-hypothesis:
Here is the null-hypothesis:
There is no significant difference between the
expected and the observed number of students
enrolled in three stats professorsโ€™ classes.
Now we will compute the ๐‘ฅ2
value and compare
it with the ๐‘ฅ2
critical value.
Now we will compute the ๐‘ฅ2
value and compare
it with the ๐‘ฅ2
critical value.
โ€ข If the value exceeds the critical value, then
we will reject the null-hypothesis.
Now we will compute the ๐‘ฅ2
value and compare
it with the ๐‘ฅ2
critical value.
โ€ข If the value exceeds the critical value, then
we will reject the null-hypothesis.
โ€ข If the value DOES NOT exceed the critical
value, then we will fail to reject the null-
hypothesis.
Letโ€™s compute the ๐‘ฅ2
value.
Letโ€™s compute the ๐‘ฅ2
value.
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 31 25 10
Letโ€™s compute the ๐‘ฅ2
value.
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 31 25 10
๐‘ฅ2
= ๐šบ
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
Letโ€™s compute the ๐‘ฅ2
value.
OR
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 31 25 10
๐‘ฅ2
= ๐šบ
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
Letโ€™s compute the ๐‘ฅ2
value.
OR
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 31 25 10
๐‘ฅ2
= ๐šบ
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
๐‘ฅ2
=
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
+
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
+
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
Letโ€™s compute the ๐‘ฅ2
value.
OR
๐‘ฅ2
=
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
+
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
+
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
๐‘ฅ2
= ๐šบ
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 31 25 10
Letโ€™s input each professorโ€™s data into the
equation.
Letโ€™s input each professorโ€™s data into the
equation.
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 31 25 10
Letโ€™s input each professorโ€™s data into the
equation.
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 31 25 10
๐‘ฅ2
=
(๐Ÿ‘๐Ÿ โˆ’ ๐ธ)2
๐ธ
+
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
+
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
Letโ€™s input each professorโ€™s data into the
equation.
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 31 25 10
๐‘ฅ2
=
(31 โˆ’ ๐Ÿ๐Ÿ)2
๐ธ
+
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
+
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
Letโ€™s input each professorโ€™s data into the
equation.
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 31 25 10
๐‘ฅ2
=
(31 โˆ’ 22)2
๐Ÿ๐Ÿ
+
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
+
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
Letโ€™s input each professorโ€™s data into the
equation.
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 31 25 10
๐‘ฅ2
=
(31 โˆ’ 22)2
22
+
(๐Ÿ๐Ÿ“ โˆ’ ๐ธ)2
๐ธ
+
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
Letโ€™s input each professorโ€™s data into the
equation.
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 31 25 10
๐‘ฅ2
=
(31 โˆ’ 22)2
22
+
(25 โˆ’ ๐Ÿ๐Ÿ)2
๐Ÿ๐Ÿ
+
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
Letโ€™s input each professorโ€™s data into the
equation.
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 31 25 10
๐‘ฅ2
=
(31 โˆ’ 22)2
22
+
(25 โˆ’ 22)2
22
+
(๐Ÿ๐ŸŽ โˆ’ ๐ธ)2
๐ธ
Letโ€™s input each professorโ€™s data into the
equation.
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 31 25 10
๐‘ฅ2
=
(31 โˆ’ 22)2
22
+
(25 โˆ’ 22)2
22
+
(10 โˆ’ ๐Ÿ๐Ÿ)2
๐Ÿ๐Ÿ
Now for the calculation:
Now for the calculation:
๐‘ฅ2
=
(31 โˆ’ 22)2
22
+
(25 โˆ’ 22)2
22
+
(10 โˆ’ 22)2
22
Now for the calculation:
๐‘ฅ2
=
(๐Ÿ—)2
22
+
(25 โˆ’ 22)2
22
+
(10 โˆ’ 22)2
22
Now for the calculation:
๐‘ฅ2
=
๐Ÿ–๐Ÿ
22
+
(25 โˆ’ 22)2
22
+
(10 โˆ’ 22)2
22
Now for the calculation:
๐‘ฅ2
=
81
22
+
(๐Ÿ‘)2
22
+
(10 โˆ’ 22)2
22
Now for the calculation:
๐‘ฅ2
=
81
22
+
๐Ÿ—
22
+
(10 โˆ’ 22)2
22
Now for the calculation:
๐‘ฅ2
=
81
22
+
๐Ÿ—
22
+
(โˆ’๐Ÿ๐Ÿ)2
22
Now for the calculation:
๐‘ฅ2
=
81
22
+
9
22
+
๐Ÿ๐Ÿ’๐Ÿ’
22
Convert the fractions into decimals:
๐‘ฅ2
=
81
22
+
9
22
+
๐Ÿ๐Ÿ’๐Ÿ’
22
Convert the fractions into decimals:
๐‘ฅ2
=
81
22
+
9
22
+
144
22
Convert the fractions into decimals:
๐‘ฅ2
= ๐Ÿ‘. ๐Ÿ• +
9
22
+
144
22
Convert the fractions into decimals:
๐‘ฅ2
= 3.7 + ๐ŸŽ. ๐Ÿ’ +
144
22
Convert the fractions into decimals:
๐‘ฅ2
= 3.7 + 0.4 + ๐Ÿ”. ๐Ÿ“
Sum the terms:
๐‘ฅ2
= 3.7 + 0.4 + 6.5
Sum the terms:
๐‘ฅ2
= 10.6
As a contrasting example note what the ๐‘ฅ2
value
would be if the observed and expected values
were more similar:
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 24 22 20
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 24 22 20
๐‘ฅ2
=
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
+
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
+
(๐‘‚ โˆ’ ๐ธ)2
๐ธ
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 24 22 20
๐‘ฅ2
=
(๐‘‚ โˆ’ ๐Ÿ๐Ÿ)2
๐Ÿ๐Ÿ
+
(๐‘‚ โˆ’ ๐Ÿ๐Ÿ)2
๐Ÿ๐Ÿ
+
(๐‘‚ โˆ’ ๐Ÿ๐Ÿ)2
๐Ÿ๐Ÿ
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 24 22 20
๐‘ฅ2
=
(๐Ÿ๐Ÿ’ โˆ’ 22)2
22
+
(๐Ÿ๐Ÿ โˆ’ 22)2
22
+
(๐Ÿ๐ŸŽ โˆ’ 22)2
22
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 24 22 20
๐‘ฅ2
=
(๐Ÿ)2
22
+
(๐ŸŽ)2
22
+
(โˆ’๐Ÿ)2
22
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 24 22 20
๐‘ฅ2
=
๐Ÿ’
22
+
๐ŸŽ
22
+
๐Ÿ’
22
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 24 22 20
๐‘ฅ2
= ๐ŸŽ. ๐Ÿ + ๐ŸŽ. ๐ŸŽ + ๐ŸŽ. ๐Ÿ
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 24 22 20
๐‘ฅ2
= ๐ŸŽ. ๐Ÿ’
So the moral of the story is that the closer the
expected and observed values are to one
another, the smaller the Chi-square value or the
greater the goodness of fit (as seen below).
So the moral of the story is that the closer the
expected and observed values are to one
another, the smaller the Chi-square value or the
greater the goodness of fit (as seen below).
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 31 25 10
So the moral of the story is that the closer the
expected and observed values are to one
another, the smaller the Chi-square value or the
greater the goodness of fit (as seen below).
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 31 25 10
๐‘ฅ2
= ๐Ÿ๐ŸŽ. ๐Ÿ”
On the other hand, the farther the expected and
observed values are from one another the
smaller the Chi-square value or the greater the
goodness of fit (as seen below).
On the other hand, the farther the expected and
observed values are from one another the
smaller the Chi-square value or the greater the
goodness of fit (as seen below).
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 31 25 10
On the other hand, the farther the expected and
observed values are from one another the
smaller the Chi-square value or the greater the
goodness of fit (as seen below).
Professor Cauforek Professor Kerr Professor Rector
Expected 22 22 22
Observed 31 25 10
๐‘ฅ2
= ๐Ÿ๐ŸŽ. ๐Ÿ”
Now we determine if a ๐‘ฅ2
of 10.6 exceeds the
critical ๐‘ฅ2
for terms.
To calculate the ๐‘ฅ2
critical we first must
determine the degrees of freedom as well as set
the probability level.
To calculate the ๐‘ฅ2
critical we first must
determine the degrees of freedom as well as set
the probability level.
The probability or alpha level means the
probability of a type 1 error we are willing to live
with (i.e., this is the probability of being wrong
when we reject the null hypothesis).
To calculate the ๐‘ฅ2
critical we first must
determine the degrees of freedom as well as set
the probability level.
The probability or alpha level means the
probability of a type 1 error we are willing to live
with (i.e., this is the probability of being wrong
when we reject the null hypothesis). Generally
this value is 0.5 which is like saying we are
willing to be wrong 5 out of 100 times (0.05)
before we will reject the null-hypothesis.
Degrees of Freedom are calculated by taking the
number of groups and subtracting them by 1.
(Three groups minus 1 = 2)
We now have all of the information we need to
determine the critical ๐‘ฅ2
.
We now have all of the information we need to
determine the critical ๐‘ฅ2
.
We go to the Chi-Square Distribution Table and
locate the degrees of freedom.
We now have all of the information we need to
determine the critical ๐‘ฅ2
.
We go to the Chi-Square Distribution Table and
locate the degrees of freedom.
df 0.100 0.050 0.025
1 2.71 3.84 5.02
2 4.61 5.99 7.38
3 6.25 7.82 9.35
4 7.78 9.49 11.14
5 9.24 11.07 12.83
6 10.64 12.59 14.45
7 12.02 14.07 16.10
8 13.36 15.51 17.54
9 14.68 16.92 19.20
โ€ฆ โ€ฆ โ€ฆ โ€ฆ
We now have all of the information we need to
determine the critical ๐‘ฅ2
.
We go to the Chi-Square Distribution Table and
locate the degrees of freedom.
And then we locate the probability or alpha level:
df 0.100 0.050 0.025
1 2.71 3.84 5.02
2 4.61 5.99 7.38
3 6.25 7.82 9.35
4 7.78 9.49 11.14
5 9.24 11.07 12.83
6 10.64 12.59 14.45
7 12.02 14.07 16.10
8 13.36 15.51 17.54
9 14.68 16.92 19.20
โ€ฆ โ€ฆ โ€ฆ โ€ฆ
We now have all of the information we need to
determine the critical ๐‘ฅ2
.
We go to the Chi-Square Distribution Table and
locate the degrees of freedom.
And then we locate the probability or alpha level:
df 0.100 0.050 0.025
1 2.71 3.84 5.02
2 4.61 5.99 7.38
3 6.25 7.82 9.35
4 7.78 9.49 11.14
5 9.24 11.07 12.83
6 10.64 12.59 14.45
7 12.02 14.07 16.10
8 13.36 15.51 17.54
9 14.68 16.92 19.20
โ€ฆ โ€ฆ โ€ฆ โ€ฆ
We now have all of the information we need to
determine the critical ๐‘ฅ2
.
We go to the Chi-Square Distribution Table and
locate the degrees of freedom.
And then we locate the probability or alpha level:
df 0.100 0.050 0.025
1 2.71 3.84 5.02
2 4.61 5.99 7.38
3 6.25 7.82 9.35
4 7.78 9.49 11.14
5 9.24 11.07 12.83
6 10.64 12.59 14.45
7 12.02 14.07 16.10
8 13.36 15.51 17.54
9 14.68 16.92 19.20
โ€ฆ โ€ฆ โ€ฆ โ€ฆ
Where these two values
intersect in the table we
find the critical ๐‘ฅ2
.
df 0.100 0.050 0.025
1 2.71 3.84 5.02
2 4.61 5.99 7.38
3 6.25 7.82 9.35
4 7.78 9.49 11.14
5 9.24 11.07 12.83
6 10.64 12.59 14.45
7 12.02 14.07 16.10
8 13.36 15.51 17.54
9 14.68 16.92 19.20
โ€ฆ โ€ฆ โ€ฆ โ€ฆ
We now have all of the information we need to
determine the critical ๐‘ฅ2
.
We go to the Chi-Square Distribution Table and
locate the degrees of freedom.
And then we locate the probability or alpha level:
Where these two values
intersect in the table we
find the critical ๐‘ฅ2
.
We now have all of the information we need to
determine the critical ๐‘ฅ2
.
We go to the Chi-Square Distribution Table and
locate the degrees of freedom.
And then we locate the probability or alpha level:
df 0.100 0.050 0.025
1 2.71 3.84 5.02
2 4.61 5.99 7.38
3 6.25 7.82 9.35
4 7.78 9.49 11.14
5 9.24 11.07 12.83
6 10.64 12.59 14.45
7 12.02 14.07 16.10
8 13.36 15.51 17.54
9 14.68 16.92 19.20
โ€ฆ โ€ฆ โ€ฆ โ€ฆ
Where these two values
intersect in the table we
find the critical ๐‘ฅ2
.
Since the chi-square goodness of fit value (10.6)
exceeds the critical ๐‘ฅ2
(5.99) we will reject the
null hypothesis:
Since the chi-square goodness of fit value (10.6)
exceeds the critical ๐‘ฅ2
(5.99) we will reject the
null hypothesis:
There is no significant difference between the
expected and the observed number of students
enrolled in three stats professorsโ€™ classes.
Since the chi-square goodness of fit value (10.6)
exceeds the critical ๐‘ฅ2
(5.99) we will reject the
null hypothesis:
There is no significant difference between the
expected and the observed number of students
enrolled in three stats professorsโ€™ classes.
Since the chi-square goodness of fit value (10.6)
exceeds the critical ๐‘ฅ2
(5.99) we will reject the
null hypothesis:
There actually is a significant difference.
There is no significant difference between the
expected and the observed number of students
enrolled in three stats professorsโ€™ classes.
In summary,
In summary,
Questions of goodness of fit juxtapose observed
patterns against hypothesized to test overall and
specific differences among them.
In summary,
Questions of goodness of fit juxtapose observed
patterns against hypothesized to test overall and
specific differences among them.
Observed Hypothesized Difference

More Related Content

What's hot

Trade-Based Money Laundering: What Compliance Professionals Need to Know
Trade-Based Money Laundering: What Compliance Professionals Need to KnowTrade-Based Money Laundering: What Compliance Professionals Need to Know
Trade-Based Money Laundering: What Compliance Professionals Need to Know
Alessa
ย 
Spss measurement scales
Spss measurement scalesSpss measurement scales
Spss measurement scales
Naveed Saeed
ย 
Descriptive Statistics
Descriptive StatisticsDescriptive Statistics
Descriptive Statistics
Bhagya Silva
ย 
Regression analysis
Regression analysisRegression analysis
Regression analysis
University of Jaffna
ย 
Linear regression
Linear regression Linear regression
Linear regression
Babasab Patil
ย 
Measures of central tendancy
Measures of central tendancy Measures of central tendancy
Measures of central tendancy
Pranav Krishna
ย 
Statistics report THE RANGE
Statistics report THE RANGEStatistics report THE RANGE
Statistics report THE RANGE
Charliez Jane Soriano
ย 
Factor analysis (fa)
Factor analysis (fa)Factor analysis (fa)
Factor analysis (fa)
Rajdeep Raut
ย 
Factor analysis ppt
Factor analysis pptFactor analysis ppt
Factor analysis ppt
Mukesh Bisht
ย 
Credit Card Fraudulent Transaction Detection Research Paper
Credit Card Fraudulent Transaction Detection Research PaperCredit Card Fraudulent Transaction Detection Research Paper
Credit Card Fraudulent Transaction Detection Research Paper
Garvit Burad
ย 
Mean Deviation
Mean DeviationMean Deviation
Mean Deviation
Carlo Luna
ย 
LEVEL OF SIGNIFICANCE.pptx
LEVEL OF SIGNIFICANCE.pptxLEVEL OF SIGNIFICANCE.pptx
LEVEL OF SIGNIFICANCE.pptx
RingoNavarro3
ย 
Normal distribution
Normal distributionNormal distribution
Normal distribution
SonamWadhwa3
ย 
Diagnostic in poisson regression models
Diagnostic in poisson regression modelsDiagnostic in poisson regression models
Diagnostic in poisson regression models
University of Southampton
ย 
Four data types Data Scientist should know
Four data types Data Scientist should knowFour data types Data Scientist should know
Four data types Data Scientist should know
Ranjit Nambisan
ย 
Multiple Regression.ppt
Multiple Regression.pptMultiple Regression.ppt
Multiple Regression.ppt
TanyaWadhwani4
ย 
Chi square
Chi squareChi square
Chi square
Jags Jagdish
ย 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
saba khan
ย 
Descriptive statistics
Descriptive statisticsDescriptive statistics
Descriptive statistics
Anand Thokal
ย 
Logistic Regression Analysis
Logistic Regression AnalysisLogistic Regression Analysis
Logistic Regression Analysis
COSTARCH Analytical Consulting (P) Ltd.
ย 

What's hot (20)

Trade-Based Money Laundering: What Compliance Professionals Need to Know
Trade-Based Money Laundering: What Compliance Professionals Need to KnowTrade-Based Money Laundering: What Compliance Professionals Need to Know
Trade-Based Money Laundering: What Compliance Professionals Need to Know
ย 
Spss measurement scales
Spss measurement scalesSpss measurement scales
Spss measurement scales
ย 
Descriptive Statistics
Descriptive StatisticsDescriptive Statistics
Descriptive Statistics
ย 
Regression analysis
Regression analysisRegression analysis
Regression analysis
ย 
Linear regression
Linear regression Linear regression
Linear regression
ย 
Measures of central tendancy
Measures of central tendancy Measures of central tendancy
Measures of central tendancy
ย 
Statistics report THE RANGE
Statistics report THE RANGEStatistics report THE RANGE
Statistics report THE RANGE
ย 
Factor analysis (fa)
Factor analysis (fa)Factor analysis (fa)
Factor analysis (fa)
ย 
Factor analysis ppt
Factor analysis pptFactor analysis ppt
Factor analysis ppt
ย 
Credit Card Fraudulent Transaction Detection Research Paper
Credit Card Fraudulent Transaction Detection Research PaperCredit Card Fraudulent Transaction Detection Research Paper
Credit Card Fraudulent Transaction Detection Research Paper
ย 
Mean Deviation
Mean DeviationMean Deviation
Mean Deviation
ย 
LEVEL OF SIGNIFICANCE.pptx
LEVEL OF SIGNIFICANCE.pptxLEVEL OF SIGNIFICANCE.pptx
LEVEL OF SIGNIFICANCE.pptx
ย 
Normal distribution
Normal distributionNormal distribution
Normal distribution
ย 
Diagnostic in poisson regression models
Diagnostic in poisson regression modelsDiagnostic in poisson regression models
Diagnostic in poisson regression models
ย 
Four data types Data Scientist should know
Four data types Data Scientist should knowFour data types Data Scientist should know
Four data types Data Scientist should know
ย 
Multiple Regression.ppt
Multiple Regression.pptMultiple Regression.ppt
Multiple Regression.ppt
ย 
Chi square
Chi squareChi square
Chi square
ย 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
ย 
Descriptive statistics
Descriptive statisticsDescriptive statistics
Descriptive statistics
ย 
Logistic Regression Analysis
Logistic Regression AnalysisLogistic Regression Analysis
Logistic Regression Analysis
ย 

Viewers also liked

Chi square goodness of fit
Chi square goodness of fitChi square goodness of fit
Chi square goodness of fit
Ken Plummer
ย 
Lecture slides stats1.13.l19.air
Lecture slides stats1.13.l19.airLecture slides stats1.13.l19.air
Lecture slides stats1.13.l19.air
atutor_te
ย 
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
ย 
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
CardinaleWay Mazda
ย 
B.9 chi square
B.9 chi squareB.9 chi square
B.9 chi squareUlster BOCES
ย 
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
ย 
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
Aldrin Lozano
ย 
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
Ken Plummer
ย 
Goodness of fit (ppt)
Goodness of fit (ppt)Goodness of fit (ppt)
Goodness of fit (ppt)
Sharlaine Ruth
ย 
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
ย 
Chi square test
Chi square testChi square test
Chi square test
Anandapadmanabhan Kottiyam
ย 
Z test
Z testZ test
Hypothesis Testing-Z-Test
Hypothesis Testing-Z-TestHypothesis Testing-Z-Test
Hypothesis Testing-Z-Test
Roger Binschus
ย 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
Harish Lunani
ย 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
piyushdhaker
ย 
T test
T testT test
T test
sai precious
ย 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-test
Shakehand with Life
ย 

Viewers also liked (17)

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
ย 
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
ย 
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
ย 
B.9 chi square
B.9 chi squareB.9 chi square
B.9 chi square
ย 
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
ย 
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
ย 
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
ย 
Goodness of fit (ppt)
Goodness of fit (ppt)Goodness of fit (ppt)
Goodness of fit (ppt)
ย 
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
ย 
Chi square test
Chi square testChi square test
Chi square test
ย 
Z test
Z testZ test
Z test
ย 
Hypothesis Testing-Z-Test
Hypothesis Testing-Z-TestHypothesis Testing-Z-Test
Hypothesis Testing-Z-Test
ย 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
ย 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
ย 
T test
T testT test
T test
ย 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-test
ย 

Similar to Chi square goodness of fit

An Outsider Looks at Geoscience
An Outsider Looks at GeoscienceAn Outsider Looks at Geoscience
An Outsider Looks at Geoscience
SERC at Carleton College
ย 
BKS-MidsemPPT.pptx
BKS-MidsemPPT.pptxBKS-MidsemPPT.pptx
BKS-MidsemPPT.pptx
dr_bhupen
ย 
On generating functions of biorthogonal polynomials
On generating functions of biorthogonal polynomialsOn generating functions of biorthogonal polynomials
On generating functions of biorthogonal polynomials
eSAT Journals
ย 
Module1 flexibility-2-problems- rajesh sir
Module1 flexibility-2-problems- rajesh sirModule1 flexibility-2-problems- rajesh sir
Module1 flexibility-2-problems- rajesh sir
SHAMJITH KM
ย 
Module1 flexibility-2-problems- rajesh sir
Module1 flexibility-2-problems- rajesh sirModule1 flexibility-2-problems- rajesh sir
Module1 flexibility-2-problems- rajesh sir
SHAMJITH KM
ย 
Antiderivatives: Power, Sum and Difference
Antiderivatives: Power, Sum and DifferenceAntiderivatives: Power, Sum and Difference
Antiderivatives: Power, Sum and Difference
RivenBarquilla
ย 
Using Semantics of Textbook Highlights to Predict Student Comprehension and K...
Using Semantics of Textbook Highlights to Predict Student Comprehension and K...Using Semantics of Textbook Highlights to Predict Student Comprehension and K...
Using Semantics of Textbook Highlights to Predict Student Comprehension and K...
Sergey Sosnovsky
ย 
Biology xii
Biology xiiBiology xii
Biology xii
Biology cpcri
ย 
Module3 direct stiffness- rajesh sir
Module3 direct stiffness- rajesh sirModule3 direct stiffness- rajesh sir
Module3 direct stiffness- rajesh sir
SHAMJITH KM
ย 
Module3 direct stiffness- rajesh sir
Module3 direct stiffness- rajesh sirModule3 direct stiffness- rajesh sir
Module3 direct stiffness- rajesh sir
SHAMJITH KM
ย 
Control system stability root locus
Control system stability root locusControl system stability root locus
Control system stability root locus
Nilesh Bhaskarrao Bahadure
ย 
REJECTION REGIONxxxxxxxxxxxxxxxxxxxxxx.pptx
REJECTION REGIONxxxxxxxxxxxxxxxxxxxxxx.pptxREJECTION REGIONxxxxxxxxxxxxxxxxxxxxxx.pptx
REJECTION REGIONxxxxxxxxxxxxxxxxxxxxxx.pptx
mantilejoshua05
ย 
The importance of exploring the effect of individual behaviour change techniq...
The importance of exploring the effect of individual behaviour change techniq...The importance of exploring the effect of individual behaviour change techniq...
The importance of exploring the effect of individual behaviour change techniq...
Tracy Epton
ย 
statistical lesson for senior high school g11
statistical lesson for senior high school g11statistical lesson for senior high school g11
statistical lesson for senior high school g11
CharleneFiguracion
ย 
Experimental design
Experimental designExperimental design
Experimental design
metalkid132
ย 
About testing the hypothesis of equality of two bernoulli
About testing the hypothesis of equality of two bernoulliAbout testing the hypothesis of equality of two bernoulli
About testing the hypothesis of equality of two bernoulli
Alexander Decker
ย 
Lec002 math1 Fall 2021.pdf
Lec002 math1 Fall 2021.pdfLec002 math1 Fall 2021.pdf
Lec002 math1 Fall 2021.pdf
YassinAlaraby
ย 
Day 10 prediction and regression
Day 10 prediction and regressionDay 10 prediction and regression
Day 10 prediction and regression
Elih Sutisna Yanto
ย 

Similar to Chi square goodness of fit (18)

An Outsider Looks at Geoscience
An Outsider Looks at GeoscienceAn Outsider Looks at Geoscience
An Outsider Looks at Geoscience
ย 
BKS-MidsemPPT.pptx
BKS-MidsemPPT.pptxBKS-MidsemPPT.pptx
BKS-MidsemPPT.pptx
ย 
On generating functions of biorthogonal polynomials
On generating functions of biorthogonal polynomialsOn generating functions of biorthogonal polynomials
On generating functions of biorthogonal polynomials
ย 
Module1 flexibility-2-problems- rajesh sir
Module1 flexibility-2-problems- rajesh sirModule1 flexibility-2-problems- rajesh sir
Module1 flexibility-2-problems- rajesh sir
ย 
Module1 flexibility-2-problems- rajesh sir
Module1 flexibility-2-problems- rajesh sirModule1 flexibility-2-problems- rajesh sir
Module1 flexibility-2-problems- rajesh sir
ย 
Antiderivatives: Power, Sum and Difference
Antiderivatives: Power, Sum and DifferenceAntiderivatives: Power, Sum and Difference
Antiderivatives: Power, Sum and Difference
ย 
Using Semantics of Textbook Highlights to Predict Student Comprehension and K...
Using Semantics of Textbook Highlights to Predict Student Comprehension and K...Using Semantics of Textbook Highlights to Predict Student Comprehension and K...
Using Semantics of Textbook Highlights to Predict Student Comprehension and K...
ย 
Biology xii
Biology xiiBiology xii
Biology xii
ย 
Module3 direct stiffness- rajesh sir
Module3 direct stiffness- rajesh sirModule3 direct stiffness- rajesh sir
Module3 direct stiffness- rajesh sir
ย 
Module3 direct stiffness- rajesh sir
Module3 direct stiffness- rajesh sirModule3 direct stiffness- rajesh sir
Module3 direct stiffness- rajesh sir
ย 
Control system stability root locus
Control system stability root locusControl system stability root locus
Control system stability root locus
ย 
REJECTION REGIONxxxxxxxxxxxxxxxxxxxxxx.pptx
REJECTION REGIONxxxxxxxxxxxxxxxxxxxxxx.pptxREJECTION REGIONxxxxxxxxxxxxxxxxxxxxxx.pptx
REJECTION REGIONxxxxxxxxxxxxxxxxxxxxxx.pptx
ย 
The importance of exploring the effect of individual behaviour change techniq...
The importance of exploring the effect of individual behaviour change techniq...The importance of exploring the effect of individual behaviour change techniq...
The importance of exploring the effect of individual behaviour change techniq...
ย 
statistical lesson for senior high school g11
statistical lesson for senior high school g11statistical lesson for senior high school g11
statistical lesson for senior high school g11
ย 
Experimental design
Experimental designExperimental design
Experimental design
ย 
About testing the hypothesis of equality of two bernoulli
About testing the hypothesis of equality of two bernoulliAbout testing the hypothesis of equality of two bernoulli
About testing the hypothesis of equality of two bernoulli
ย 
Lec002 math1 Fall 2021.pdf
Lec002 math1 Fall 2021.pdfLec002 math1 Fall 2021.pdf
Lec002 math1 Fall 2021.pdf
ย 
Day 10 prediction and regression
Day 10 prediction and regressionDay 10 prediction and regression
Day 10 prediction and regression
ย 

More from CTLTLA

Covariates practice
Covariates practice Covariates practice
Covariates practice
CTLTLA
ย 
Covariates explain & demo (revised)
Covariates   explain & demo (revised)Covariates   explain & demo (revised)
Covariates explain & demo (revised)
CTLTLA
ย 
Chi square test of independence (conceptual)
Chi square test of independence (conceptual)Chi square test of independence (conceptual)
Chi square test of independence (conceptual)
CTLTLA
ย 
Central tendency spread
Central tendency spreadCentral tendency spread
Central tendency spread
CTLTLA
ย 
Null hypothesis for pearson correlation (conceptual)
Null hypothesis for pearson correlation (conceptual)Null hypothesis for pearson correlation (conceptual)
Null hypothesis for pearson correlation (conceptual)
CTLTLA
ย 
Null hypothesis for point biserial (conceptual)
Null hypothesis for point biserial (conceptual)Null hypothesis for point biserial (conceptual)
Null hypothesis for point biserial (conceptual)
CTLTLA
ย 
Pearson product moment correlation
Pearson product moment correlationPearson product moment correlation
Pearson product moment correlation
CTLTLA
ย 
Single sample z test - explain (final)
Single sample z test - explain (final)Single sample z test - explain (final)
Single sample z test - explain (final)
CTLTLA
ย 

More from CTLTLA (8)

Covariates practice
Covariates practice Covariates practice
Covariates practice
ย 
Covariates explain & demo (revised)
Covariates   explain & demo (revised)Covariates   explain & demo (revised)
Covariates explain & demo (revised)
ย 
Chi square test of independence (conceptual)
Chi square test of independence (conceptual)Chi square test of independence (conceptual)
Chi square test of independence (conceptual)
ย 
Central tendency spread
Central tendency spreadCentral tendency spread
Central tendency spread
ย 
Null hypothesis for pearson correlation (conceptual)
Null hypothesis for pearson correlation (conceptual)Null hypothesis for pearson correlation (conceptual)
Null hypothesis for pearson correlation (conceptual)
ย 
Null hypothesis for point biserial (conceptual)
Null hypothesis for point biserial (conceptual)Null hypothesis for point biserial (conceptual)
Null hypothesis for point biserial (conceptual)
ย 
Pearson product moment correlation
Pearson product moment correlationPearson product moment correlation
Pearson product moment correlation
ย 
Single sample z test - explain (final)
Single sample z test - explain (final)Single sample z test - explain (final)
Single sample z test - explain (final)
ย 

Recently uploaded

Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
ย 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
ย 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
ย 
เธ„เธณเธจเธฑเธžเธ—เนŒ เธ„เธณเธžเธทเน‰เธ™เธเธฒเธ™เธเธฒเธฃเธญเนˆเธฒเธ™ เธ เธฒเธฉเธฒเธญเธฑเธ‡เธเธคเธฉ เธฃเธฐเธ”เธฑเธšเธŠเธฑเน‰เธ™ เธก.1
เธ„เธณเธจเธฑเธžเธ—เนŒ เธ„เธณเธžเธทเน‰เธ™เธเธฒเธ™เธเธฒเธฃเธญเนˆเธฒเธ™ เธ เธฒเธฉเธฒเธญเธฑเธ‡เธเธคเธฉ เธฃเธฐเธ”เธฑเธšเธŠเธฑเน‰เธ™ เธก.1เธ„เธณเธจเธฑเธžเธ—เนŒ เธ„เธณเธžเธทเน‰เธ™เธเธฒเธ™เธเธฒเธฃเธญเนˆเธฒเธ™ เธ เธฒเธฉเธฒเธญเธฑเธ‡เธเธคเธฉ เธฃเธฐเธ”เธฑเธšเธŠเธฑเน‰เธ™ เธก.1
เธ„เธณเธจเธฑเธžเธ—เนŒ เธ„เธณเธžเธทเน‰เธ™เธเธฒเธ™เธเธฒเธฃเธญเนˆเธฒเธ™ เธ เธฒเธฉเธฒเธญเธฑเธ‡เธเธคเธฉ เธฃเธฐเธ”เธฑเธšเธŠเธฑเน‰เธ™ เธก.1
เธชเธกเนƒเธˆ เธˆเธฑเธ™เธชเธธเธเธชเธต
ย 
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 9 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2024-2025 - ...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 9 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2024-2025 - ...Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 9 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2024-2025 - ...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 9 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2024-2025 - ...
Nguyen Thanh Tu Collection
ย 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
ย 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Leena Ghag-Sakpal
ย 
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdfA Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixรฃo
ย 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
ย 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
ย 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
ย 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
ย 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
ย 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
ย 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
ย 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
ย 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
ย 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
ย 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
dot55audits
ย 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
ย 

Recently uploaded (20)

Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
ย 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
ย 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
ย 
เธ„เธณเธจเธฑเธžเธ—เนŒ เธ„เธณเธžเธทเน‰เธ™เธเธฒเธ™เธเธฒเธฃเธญเนˆเธฒเธ™ เธ เธฒเธฉเธฒเธญเธฑเธ‡เธเธคเธฉ เธฃเธฐเธ”เธฑเธšเธŠเธฑเน‰เธ™ เธก.1
เธ„เธณเธจเธฑเธžเธ—เนŒ เธ„เธณเธžเธทเน‰เธ™เธเธฒเธ™เธเธฒเธฃเธญเนˆเธฒเธ™ เธ เธฒเธฉเธฒเธญเธฑเธ‡เธเธคเธฉ เธฃเธฐเธ”เธฑเธšเธŠเธฑเน‰เธ™ เธก.1เธ„เธณเธจเธฑเธžเธ—เนŒ เธ„เธณเธžเธทเน‰เธ™เธเธฒเธ™เธเธฒเธฃเธญเนˆเธฒเธ™ เธ เธฒเธฉเธฒเธญเธฑเธ‡เธเธคเธฉ เธฃเธฐเธ”เธฑเธšเธŠเธฑเน‰เธ™ เธก.1
เธ„เธณเธจเธฑเธžเธ—เนŒ เธ„เธณเธžเธทเน‰เธ™เธเธฒเธ™เธเธฒเธฃเธญเนˆเธฒเธ™ เธ เธฒเธฉเธฒเธญเธฑเธ‡เธเธคเธฉ เธฃเธฐเธ”เธฑเธšเธŠเธฑเน‰เธ™ เธก.1
ย 
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 9 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2024-2025 - ...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 9 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2024-2025 - ...Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 9 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2024-2025 - ...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH LแปšP 9 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2024-2025 - ...
ย 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ย 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
ย 
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdfA Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
ย 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
ย 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
ย 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
ย 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
ย 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
ย 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
ย 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
ย 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
ย 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
ย 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
ย 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
ย 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
ย 

Chi square goodness of fit

  • 1. Chi-Square Test of Goodness of Fit (Conceptual)
  • 3. Question of Goodness of Fit Questions of goodness of fit have become increasingly important in modern statistics.
  • 4. Question of Goodness of Fit Questions of goodness of fit juxtapose complex observed patterns against hypothesized or previously observed patterns to test overall and specific differences among them.
  • 6. Observed Hypothesized Difference If the difference is small then the FIT IS GOOD
  • 7. Observed Hypothesized Difference If the difference is small then the FIT IS GOOD Observed Hypothesized Difference
  • 8. Observed Hypothesized Difference If the difference is small then the FIT IS GOOD Observed Hypothesized Difference For example:
  • 9. Observed Hypothesized Difference If the difference is small then the FIT IS GOOD Observed Hypothesized Difference For example: 51% Females 50% Females 1%
  • 11. Observed Hypothesized Difference If the difference is BIG then the FIT IS NOT GOOD
  • 12. Observed Hypothesized Difference If the difference is BIG then the FIT IS NOT GOOD Observed Hypothesized Difference
  • 13. Observed Hypothesized Difference If the difference is BIG then the FIT IS NOT GOOD Observed Hypothesized Difference For example:
  • 14. Observed Hypothesized Difference If the difference is BIG then the FIT IS NOT GOOD Observed Hypothesized Difference For example: 50% Females 22% Females 18%
  • 15. Here is an example:
  • 16. Here is an example: We want to know if a sample we have selected has the national percentages of a certain ethnic groups.
  • 17. Here is an example: We want to know if a sample we have selected has the national percentages of a certain ethnic groups. 2% of sample is made of members of this ethnic group 10% of the population is made of this ethnic group 8% Difference
  • 18. You will use certain statistical methods to determine if the goodness of fit is significant or not.
  • 19. You will use certain statistical methods to determine if the goodness of fit is significant or not. Here is an example:
  • 20. You will use certain statistical methods to determine if the goodness of fit is significant or not. Here is an example: Problem โ€“ The chair of a statistics department suspects that some of her faculty are more popular with students than others.
  • 21. There are three sections of introductory stats that are taught at the same time in the morning by Professors Cauforek, Kerr, and Rector.
  • 22. There are three sections of introductory stats that are taught at the same time in the morning by Professors Cauforek, Kerr, and Rector. 66 students are planning on enrolling in one of the three classes.
  • 23. What would you expect the number of enrollees to be in each class if popularity were not an issue?
  • 24. Professor Cauforek Professor Kerr Professor Rector 22 22 22 What would you expect the number of enrollees to be in each class if popularity were not an issue?
  • 25. Professor Cauforek Professor Kerr Professor Rector 22 22 22 What would you expect the number of enrollees to be in each class if popularity were not an issue? This is our expected value.
  • 26. Now letโ€™s see what was observed.
  • 27. Now letโ€™s see what was observed. The number who enroll for each class was:
  • 28. Now letโ€™s see what was observed. The number who enroll for each class was: Professor Cauforek Professor Kerr Professor Rector 31 25 10
  • 29. We will test the degree to which the observed data...
  • 30. We will test the degree to which the observed data... Professor Cauforek Professor Kerr Professor Rector 31 25 10
  • 31. We will test the degree to which the observed data... โ€ฆfits the expected enrollments. Professor Cauforek Professor Kerr Professor Rector 31 25 10
  • 32. We will test the degree to which the observed data... โ€ฆfits the expected enrollments. Professor Cauforek Professor Kerr Professor Rector 31 25 10 Professor Cauforek Professor Kerr Professor Rector 22 22 22
  • 33. Here is the formula:
  • 34. Here is the formula:
  • 35. ๐‘ฅ2 = ฮฃ (๐‘‚ โˆ’ ๐ธ)2 ๐ธ
  • 37. Where: ๐‘ฅ2 = ฮฃ (๐‘‚ โˆ’ ๐ธ)2 ๐ธ ๐’™ ๐Ÿ = ๐ถโ„Ž๐‘– ๐‘†๐‘ž๐‘ข๐‘Ž๐‘Ÿ๐‘’
  • 38. Where: ๐‘ฅ2 = ฮฃ (๐‘‚ โˆ’ ๐ธ)2 ๐ธ ๐’™ ๐Ÿ = ๐ถโ„Ž๐‘– ๐‘†๐‘ž๐‘ข๐‘Ž๐‘Ÿ๐‘’ ๐’™ ๐Ÿ = ฮฃ (๐‘‚ โˆ’ ๐ธ)2 ๐ธ
  • 40. ๐šบ = ๐‘†๐‘ข๐‘š ๐‘œ๐‘“ ๐‘ฅ2 = ๐šบ (๐‘‚ โˆ’ ๐ธ)2 ๐ธ
  • 42. ๐Ž = ๐‘œ๐‘๐‘ ๐‘’๐‘Ÿ๐‘ฃ๐‘’๐‘‘ ๐‘ ๐‘๐‘œ๐‘Ÿ๐‘’ ๐‘ฅ2 = ฮฃ (๐‘ถ โˆ’ ๐ธ)2 ๐ธ
  • 43. ๐Ž = ๐‘œ๐‘๐‘ ๐‘’๐‘Ÿ๐‘ฃ๐‘’๐‘‘ ๐‘ ๐‘๐‘œ๐‘Ÿ๐‘’ ๐‘ฅ2 = ฮฃ (๐‘ถ โˆ’ ๐ธ)2 ๐ธ Professor Cauforek Professor Kerr Professor Rector 31 25 10
  • 44. ๐Ž = ๐‘œ๐‘๐‘ ๐‘’๐‘Ÿ๐‘ฃ๐‘’๐‘‘ ๐‘ ๐‘๐‘œ๐‘Ÿ๐‘’ ๐‘ฅ2 = ฮฃ (๐‘ถ โˆ’ ๐ธ)2 ๐ธ Professor Cauforek Professor Kerr Professor Rector 31 25 10
  • 46. ๐‘ฌ = ๐‘’๐‘ฅ๐‘๐‘’๐‘๐‘ก๐‘’๐‘‘ ๐‘ ๐‘๐‘œ๐‘Ÿ๐‘’ ๐‘ฅ2 = ฮฃ (๐‘‚ โˆ’ ๐‘ฌ)2 ๐ธ
  • 47. ๐‘ฌ = ๐‘’๐‘ฅ๐‘๐‘’๐‘๐‘ก๐‘’๐‘‘ ๐‘ ๐‘๐‘œ๐‘Ÿ๐‘’ ๐‘ฅ2 = ฮฃ (๐‘‚ โˆ’ ๐‘ฌ)2 ๐ธ Professor Cauforek Professor Kerr Professor Rector 22 22 22
  • 48. ๐‘ฌ = ๐‘’๐‘ฅ๐‘๐‘’๐‘๐‘ก๐‘’๐‘‘ ๐‘ ๐‘๐‘œ๐‘Ÿ๐‘’ ๐‘ฅ2 = ฮฃ (๐‘‚ โˆ’ ๐‘ฌ)2 ๐ธ Professor Cauforek Professor Kerr Professor Rector 22 22 22
  • 49. ๐‘ฌ = ๐‘’๐‘ฅ๐‘๐‘’๐‘๐‘ก๐‘’๐‘‘ ๐‘ ๐‘๐‘œ๐‘Ÿ๐‘’ ๐‘ฅ2 = ฮฃ (๐‘‚ โˆ’ ๐ธ)2 ๐‘ฌ Professor Cauforek Professor Kerr Professor Rector 22 22 22
  • 50. Here is the null-hypothesis:
  • 51. Here is the null-hypothesis: There is no significant difference between the expected and the observed number of students enrolled in three stats professorsโ€™ classes.
  • 52. Now we will compute the ๐‘ฅ2 value and compare it with the ๐‘ฅ2 critical value.
  • 53. Now we will compute the ๐‘ฅ2 value and compare it with the ๐‘ฅ2 critical value. โ€ข If the value exceeds the critical value, then we will reject the null-hypothesis.
  • 54. Now we will compute the ๐‘ฅ2 value and compare it with the ๐‘ฅ2 critical value. โ€ข If the value exceeds the critical value, then we will reject the null-hypothesis. โ€ข If the value DOES NOT exceed the critical value, then we will fail to reject the null- hypothesis.
  • 55. Letโ€™s compute the ๐‘ฅ2 value.
  • 56. Letโ€™s compute the ๐‘ฅ2 value. Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 31 25 10
  • 57. Letโ€™s compute the ๐‘ฅ2 value. Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 31 25 10 ๐‘ฅ2 = ๐šบ (๐‘‚ โˆ’ ๐ธ)2 ๐ธ
  • 58. Letโ€™s compute the ๐‘ฅ2 value. OR Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 31 25 10 ๐‘ฅ2 = ๐šบ (๐‘‚ โˆ’ ๐ธ)2 ๐ธ
  • 59. Letโ€™s compute the ๐‘ฅ2 value. OR Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 31 25 10 ๐‘ฅ2 = ๐šบ (๐‘‚ โˆ’ ๐ธ)2 ๐ธ ๐‘ฅ2 = (๐‘‚ โˆ’ ๐ธ)2 ๐ธ + (๐‘‚ โˆ’ ๐ธ)2 ๐ธ + (๐‘‚ โˆ’ ๐ธ)2 ๐ธ
  • 60. Letโ€™s compute the ๐‘ฅ2 value. OR ๐‘ฅ2 = (๐‘‚ โˆ’ ๐ธ)2 ๐ธ + (๐‘‚ โˆ’ ๐ธ)2 ๐ธ + (๐‘‚ โˆ’ ๐ธ)2 ๐ธ ๐‘ฅ2 = ๐šบ (๐‘‚ โˆ’ ๐ธ)2 ๐ธ Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 31 25 10
  • 61. Letโ€™s input each professorโ€™s data into the equation.
  • 62. Letโ€™s input each professorโ€™s data into the equation. Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 31 25 10
  • 63. Letโ€™s input each professorโ€™s data into the equation. Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 31 25 10 ๐‘ฅ2 = (๐Ÿ‘๐Ÿ โˆ’ ๐ธ)2 ๐ธ + (๐‘‚ โˆ’ ๐ธ)2 ๐ธ + (๐‘‚ โˆ’ ๐ธ)2 ๐ธ
  • 64. Letโ€™s input each professorโ€™s data into the equation. Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 31 25 10 ๐‘ฅ2 = (31 โˆ’ ๐Ÿ๐Ÿ)2 ๐ธ + (๐‘‚ โˆ’ ๐ธ)2 ๐ธ + (๐‘‚ โˆ’ ๐ธ)2 ๐ธ
  • 65. Letโ€™s input each professorโ€™s data into the equation. Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 31 25 10 ๐‘ฅ2 = (31 โˆ’ 22)2 ๐Ÿ๐Ÿ + (๐‘‚ โˆ’ ๐ธ)2 ๐ธ + (๐‘‚ โˆ’ ๐ธ)2 ๐ธ
  • 66. Letโ€™s input each professorโ€™s data into the equation. Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 31 25 10 ๐‘ฅ2 = (31 โˆ’ 22)2 22 + (๐Ÿ๐Ÿ“ โˆ’ ๐ธ)2 ๐ธ + (๐‘‚ โˆ’ ๐ธ)2 ๐ธ
  • 67. Letโ€™s input each professorโ€™s data into the equation. Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 31 25 10 ๐‘ฅ2 = (31 โˆ’ 22)2 22 + (25 โˆ’ ๐Ÿ๐Ÿ)2 ๐Ÿ๐Ÿ + (๐‘‚ โˆ’ ๐ธ)2 ๐ธ
  • 68. Letโ€™s input each professorโ€™s data into the equation. Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 31 25 10 ๐‘ฅ2 = (31 โˆ’ 22)2 22 + (25 โˆ’ 22)2 22 + (๐Ÿ๐ŸŽ โˆ’ ๐ธ)2 ๐ธ
  • 69. Letโ€™s input each professorโ€™s data into the equation. Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 31 25 10 ๐‘ฅ2 = (31 โˆ’ 22)2 22 + (25 โˆ’ 22)2 22 + (10 โˆ’ ๐Ÿ๐Ÿ)2 ๐Ÿ๐Ÿ
  • 70. Now for the calculation:
  • 71. Now for the calculation: ๐‘ฅ2 = (31 โˆ’ 22)2 22 + (25 โˆ’ 22)2 22 + (10 โˆ’ 22)2 22
  • 72. Now for the calculation: ๐‘ฅ2 = (๐Ÿ—)2 22 + (25 โˆ’ 22)2 22 + (10 โˆ’ 22)2 22
  • 73. Now for the calculation: ๐‘ฅ2 = ๐Ÿ–๐Ÿ 22 + (25 โˆ’ 22)2 22 + (10 โˆ’ 22)2 22
  • 74. Now for the calculation: ๐‘ฅ2 = 81 22 + (๐Ÿ‘)2 22 + (10 โˆ’ 22)2 22
  • 75. Now for the calculation: ๐‘ฅ2 = 81 22 + ๐Ÿ— 22 + (10 โˆ’ 22)2 22
  • 76. Now for the calculation: ๐‘ฅ2 = 81 22 + ๐Ÿ— 22 + (โˆ’๐Ÿ๐Ÿ)2 22
  • 77. Now for the calculation: ๐‘ฅ2 = 81 22 + 9 22 + ๐Ÿ๐Ÿ’๐Ÿ’ 22
  • 78. Convert the fractions into decimals: ๐‘ฅ2 = 81 22 + 9 22 + ๐Ÿ๐Ÿ’๐Ÿ’ 22
  • 79. Convert the fractions into decimals: ๐‘ฅ2 = 81 22 + 9 22 + 144 22
  • 80. Convert the fractions into decimals: ๐‘ฅ2 = ๐Ÿ‘. ๐Ÿ• + 9 22 + 144 22
  • 81. Convert the fractions into decimals: ๐‘ฅ2 = 3.7 + ๐ŸŽ. ๐Ÿ’ + 144 22
  • 82. Convert the fractions into decimals: ๐‘ฅ2 = 3.7 + 0.4 + ๐Ÿ”. ๐Ÿ“
  • 83. Sum the terms: ๐‘ฅ2 = 3.7 + 0.4 + 6.5
  • 85. As a contrasting example note what the ๐‘ฅ2 value would be if the observed and expected values were more similar: Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 24 22 20
  • 86. Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 24 22 20 ๐‘ฅ2 = (๐‘‚ โˆ’ ๐ธ)2 ๐ธ + (๐‘‚ โˆ’ ๐ธ)2 ๐ธ + (๐‘‚ โˆ’ ๐ธ)2 ๐ธ
  • 87. Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 24 22 20 ๐‘ฅ2 = (๐‘‚ โˆ’ ๐Ÿ๐Ÿ)2 ๐Ÿ๐Ÿ + (๐‘‚ โˆ’ ๐Ÿ๐Ÿ)2 ๐Ÿ๐Ÿ + (๐‘‚ โˆ’ ๐Ÿ๐Ÿ)2 ๐Ÿ๐Ÿ
  • 88. Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 24 22 20 ๐‘ฅ2 = (๐Ÿ๐Ÿ’ โˆ’ 22)2 22 + (๐Ÿ๐Ÿ โˆ’ 22)2 22 + (๐Ÿ๐ŸŽ โˆ’ 22)2 22
  • 89. Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 24 22 20 ๐‘ฅ2 = (๐Ÿ)2 22 + (๐ŸŽ)2 22 + (โˆ’๐Ÿ)2 22
  • 90. Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 24 22 20 ๐‘ฅ2 = ๐Ÿ’ 22 + ๐ŸŽ 22 + ๐Ÿ’ 22
  • 91. Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 24 22 20 ๐‘ฅ2 = ๐ŸŽ. ๐Ÿ + ๐ŸŽ. ๐ŸŽ + ๐ŸŽ. ๐Ÿ
  • 92. Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 24 22 20 ๐‘ฅ2 = ๐ŸŽ. ๐Ÿ’
  • 93. So the moral of the story is that the closer the expected and observed values are to one another, the smaller the Chi-square value or the greater the goodness of fit (as seen below).
  • 94. So the moral of the story is that the closer the expected and observed values are to one another, the smaller the Chi-square value or the greater the goodness of fit (as seen below). Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 31 25 10
  • 95. So the moral of the story is that the closer the expected and observed values are to one another, the smaller the Chi-square value or the greater the goodness of fit (as seen below). Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 31 25 10 ๐‘ฅ2 = ๐Ÿ๐ŸŽ. ๐Ÿ”
  • 96. On the other hand, the farther the expected and observed values are from one another the smaller the Chi-square value or the greater the goodness of fit (as seen below).
  • 97. On the other hand, the farther the expected and observed values are from one another the smaller the Chi-square value or the greater the goodness of fit (as seen below). Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 31 25 10
  • 98. On the other hand, the farther the expected and observed values are from one another the smaller the Chi-square value or the greater the goodness of fit (as seen below). Professor Cauforek Professor Kerr Professor Rector Expected 22 22 22 Observed 31 25 10 ๐‘ฅ2 = ๐Ÿ๐ŸŽ. ๐Ÿ”
  • 99. Now we determine if a ๐‘ฅ2 of 10.6 exceeds the critical ๐‘ฅ2 for terms.
  • 100. To calculate the ๐‘ฅ2 critical we first must determine the degrees of freedom as well as set the probability level.
  • 101. To calculate the ๐‘ฅ2 critical we first must determine the degrees of freedom as well as set the probability level. The probability or alpha level means the probability of a type 1 error we are willing to live with (i.e., this is the probability of being wrong when we reject the null hypothesis).
  • 102. To calculate the ๐‘ฅ2 critical we first must determine the degrees of freedom as well as set the probability level. The probability or alpha level means the probability of a type 1 error we are willing to live with (i.e., this is the probability of being wrong when we reject the null hypothesis). Generally this value is 0.5 which is like saying we are willing to be wrong 5 out of 100 times (0.05) before we will reject the null-hypothesis.
  • 103. Degrees of Freedom are calculated by taking the number of groups and subtracting them by 1. (Three groups minus 1 = 2)
  • 104. We now have all of the information we need to determine the critical ๐‘ฅ2 .
  • 105. We now have all of the information we need to determine the critical ๐‘ฅ2 . We go to the Chi-Square Distribution Table and locate the degrees of freedom.
  • 106. We now have all of the information we need to determine the critical ๐‘ฅ2 . We go to the Chi-Square Distribution Table and locate the degrees of freedom. df 0.100 0.050 0.025 1 2.71 3.84 5.02 2 4.61 5.99 7.38 3 6.25 7.82 9.35 4 7.78 9.49 11.14 5 9.24 11.07 12.83 6 10.64 12.59 14.45 7 12.02 14.07 16.10 8 13.36 15.51 17.54 9 14.68 16.92 19.20 โ€ฆ โ€ฆ โ€ฆ โ€ฆ
  • 107. We now have all of the information we need to determine the critical ๐‘ฅ2 . We go to the Chi-Square Distribution Table and locate the degrees of freedom. And then we locate the probability or alpha level: df 0.100 0.050 0.025 1 2.71 3.84 5.02 2 4.61 5.99 7.38 3 6.25 7.82 9.35 4 7.78 9.49 11.14 5 9.24 11.07 12.83 6 10.64 12.59 14.45 7 12.02 14.07 16.10 8 13.36 15.51 17.54 9 14.68 16.92 19.20 โ€ฆ โ€ฆ โ€ฆ โ€ฆ
  • 108. We now have all of the information we need to determine the critical ๐‘ฅ2 . We go to the Chi-Square Distribution Table and locate the degrees of freedom. And then we locate the probability or alpha level: df 0.100 0.050 0.025 1 2.71 3.84 5.02 2 4.61 5.99 7.38 3 6.25 7.82 9.35 4 7.78 9.49 11.14 5 9.24 11.07 12.83 6 10.64 12.59 14.45 7 12.02 14.07 16.10 8 13.36 15.51 17.54 9 14.68 16.92 19.20 โ€ฆ โ€ฆ โ€ฆ โ€ฆ
  • 109. We now have all of the information we need to determine the critical ๐‘ฅ2 . We go to the Chi-Square Distribution Table and locate the degrees of freedom. And then we locate the probability or alpha level: df 0.100 0.050 0.025 1 2.71 3.84 5.02 2 4.61 5.99 7.38 3 6.25 7.82 9.35 4 7.78 9.49 11.14 5 9.24 11.07 12.83 6 10.64 12.59 14.45 7 12.02 14.07 16.10 8 13.36 15.51 17.54 9 14.68 16.92 19.20 โ€ฆ โ€ฆ โ€ฆ โ€ฆ Where these two values intersect in the table we find the critical ๐‘ฅ2 .
  • 110. df 0.100 0.050 0.025 1 2.71 3.84 5.02 2 4.61 5.99 7.38 3 6.25 7.82 9.35 4 7.78 9.49 11.14 5 9.24 11.07 12.83 6 10.64 12.59 14.45 7 12.02 14.07 16.10 8 13.36 15.51 17.54 9 14.68 16.92 19.20 โ€ฆ โ€ฆ โ€ฆ โ€ฆ We now have all of the information we need to determine the critical ๐‘ฅ2 . We go to the Chi-Square Distribution Table and locate the degrees of freedom. And then we locate the probability or alpha level: Where these two values intersect in the table we find the critical ๐‘ฅ2 .
  • 111. We now have all of the information we need to determine the critical ๐‘ฅ2 . We go to the Chi-Square Distribution Table and locate the degrees of freedom. And then we locate the probability or alpha level: df 0.100 0.050 0.025 1 2.71 3.84 5.02 2 4.61 5.99 7.38 3 6.25 7.82 9.35 4 7.78 9.49 11.14 5 9.24 11.07 12.83 6 10.64 12.59 14.45 7 12.02 14.07 16.10 8 13.36 15.51 17.54 9 14.68 16.92 19.20 โ€ฆ โ€ฆ โ€ฆ โ€ฆ Where these two values intersect in the table we find the critical ๐‘ฅ2 .
  • 112. Since the chi-square goodness of fit value (10.6) exceeds the critical ๐‘ฅ2 (5.99) we will reject the null hypothesis:
  • 113. Since the chi-square goodness of fit value (10.6) exceeds the critical ๐‘ฅ2 (5.99) we will reject the null hypothesis: There is no significant difference between the expected and the observed number of students enrolled in three stats professorsโ€™ classes.
  • 114. Since the chi-square goodness of fit value (10.6) exceeds the critical ๐‘ฅ2 (5.99) we will reject the null hypothesis: There is no significant difference between the expected and the observed number of students enrolled in three stats professorsโ€™ classes.
  • 115. Since the chi-square goodness of fit value (10.6) exceeds the critical ๐‘ฅ2 (5.99) we will reject the null hypothesis: There actually is a significant difference. There is no significant difference between the expected and the observed number of students enrolled in three stats professorsโ€™ classes.
  • 117. In summary, Questions of goodness of fit juxtapose observed patterns against hypothesized to test overall and specific differences among them.
  • 118. In summary, Questions of goodness of fit juxtapose observed patterns against hypothesized to test overall and specific differences among them. Observed Hypothesized Difference