Chi Square Flashcards
Function of Chi Square?
investigating relationship between 2 categorical variables
-makes inferences about likelihood –> significant chi square tells us if you’re in one specific category for first variable, how this affects likelihood to be part pf specfic category in 2nd variable
Hypothesis testing
compare observed values in sample to expected -are the differences significant?
test this with the chi square test:
larger chi square value = more likely you can reject nul (=significant)
χ^2 = ∑(𝑂−𝐸)^2 divided by 𝐸
Assumptions
no more than 25% cells should have expected value less than 5
no individual cell should have expected value less than 1
Degrees of freedom
(no. of rows-1) x (no. of columns -1)
What type of variables are needed?
Both need to be categorical
eg. gender