Chi Square test
Chi Square test
The Chi Square Test
The Chi-Square Test for Goodness-of-Fit
5
The Chi-Square Test for Goodness-of-Fit (cont.)
6
Chi-Square as a Test for independence
Limitations of the Chi-Square Test
Statistical Independence
The Chi-Square Test for Independence
1. Testing hypotheses about the relationship between two variables in a population, or
2. Testing hypotheses about differences between proportions for two or more populations.
10
The Chi-Square Test for Independence (cont.)
11
The Chi-Square Test for Independence (cont.)
12
Hypothesis Testing with Chi-Square
Chi-square follows five steps:
The Assumptions
Stating Null and alternative Hypotheses
The Concept of Expected Frequencies
Expected frequencies fe : the cell frequencies that would be expected in a bivariate table if the two tables were statistically independent.
Observed frequencies fo: the cell frequencies actually observed in a bivariate table.
Calculating Expected Frequencies
To obtain the expected frequencies for any cell in any cross-tabulation in which the two variables are assumed independent, multiply the row and column totals for that cell and divide the product by the total number of cases in the table.
fe = (column total)(row total)
N
Calculating the Chi-Square
fe = expected frequencies
fo = observed frequencies
The Sampling Distribution of Chi-Square
The Sampling Distribution of Chi-Square
Determining the Degrees of Freedom
df = (r – 1)(c – 1)
where
r = the number of rows
c = the number of columns
Calculating Degrees of Freedom
How many degrees of freedom would a table with 3 rows and 2 columns have?
(3 – 1)(2 – 1) =
2
2 degrees of freedom