Chi Square Test
Chi Square Test
CHI SQUARE
TEST
BALLENAS, ODANGO, PAGAL, GARCESA, VERGARA
CHI
CHI SQUARE
SQUARE
The chi-square test is a statistical
test used to determine if there is a
significant association between two
categorical variables. It is commonly
used to analyze the distribution of
categorical data and to test the
independence of two variables.
The Chi Square Test is used for testing the hypothesis and is not
useful for estimation.
X² = Chi Squared
Where: Oi = Observed Value
Ei = Expected Value
CHI-SQUARE P-
VALUES
Here P denotes the probability; hence for the calculation of p-values, the Chi-Square test
comes into the picture. The different p-values indicate different types of hypothesis
interpretations.
The concepts of probability and statistics are entangled with Chi-Square Test. Probability
is the possibility of an event or outcome of the sample. Probability can understandably
represent bulky or complicated data.
HOW TO PERFORM A
CHI-SQUARE TEST
These are the basic steps on whether you are performing a goodness of fit test or a test of
independence:
• You want to test a hypothesis about one or more categorical variables. If one or more of your
variables is quantitative, you should use a different statistical test. Alternatively, you could
convert the quantitative variable into a categorical variable by separating the observations
into intervals.
• The sample was randomly selected from the population.
• There are a minimum of five observations expected in each group or combination of groups.
TWO TYPES
OF CHI
SQUARE TEST
Chi-Square Goodness of Fit Test Chi-Square Test of Independence
Theoretical
distribution used in Chi-Square Chi-Square
test
Similarly, you can calculate the expected value for each of the cell:
STEP 3: CALCULATE (O-E)2 / E FOR EACH CELL IN THE TABLE
Now you will calculate the (O - E)2 / E for each cell in the table.
Where:
O = Observed Value
E = Expected Value
Finally, you compare our obtained statistic to the critical statistic found in the chi-square table.
As you can see, for an alpha level of 0.05 and two degrees of freedom, the critical statistic is
5.991, which is less than our obtained statistic of 9.83. You can reject our null hypothesis
because the critical statistic is higher than your obtained statistic.
This means you have sufficient evidence to say that there is an association between gender and
political party preference.
WHEN TO USE A CHI-
SQUARE TEST
A chi-square test is used to help determine if observed results are in line with expected results and to
rule out that observations are due to chance.
A chi-square test is appropriate when the data being analyzed IS from a random sample and when the
variable in question is a categorical variable. A categorical variable is one that consists of selections
such as type of car, race, educational attainment, male or female, or how much somebody likes a
political candidate from very much to very little.
These types of data are often collected via survey responses or questionnaires. Therefore, chi-square
analysis is often most useful in analyzing this type of data.
LIMITATIONS OFOF
LIMITATIONS CHI-
SQUARE TEST
CHI-SQUARE TEST
There are two limitations to using the chi-square test that you should be aware of.
• The chi-square test, for starters, is extremely sensitive to sample size. Even insignificant
relationships can appear statistically significant when a large enough sample is used. Keep in
mind that "statistically significant" does not always imply "meaningful" when using the chi-
square test.
• Be mindful that the chi-square can only determine whether two variables are related. It does
not necessarily follow that one variable has a causal relationship with the other. It would
require a more detailed analysis to establish causality.
THANK YOU SO
MUCH FOR
WE HOPE YOU LEARNED SOMETHING FROM OUR PRESENTATION!
LISTENING