chi-squared for fit and independence Flashcards
understand the two types of chi-squared
What sis the chi squared goodness of fit test used for?
Comparing the observed frequency distribution to that of the theoretical distribution
What is the Chi squared G.O.F indexed by?
Indexed by the degrees of freedom
-where df = number of categories minus 1
What is the Null hypothesis of the Chi squared G.O.F?
Ho: the expected count = total times the specified cell probability
What is the Alternative hypothesis of the Chi squared G.O.F?
H1: the expected count does not equal the total times the specified cell probability
What is the Chi squared G.O.F value given by?
sum of the observed minus expected values squared all divided by the expected values
what is the the Chi squared test of independence used for?
To test independence between rows and columns
What is the Null hypothesis of the Chi squared independence?
Ho: The two factors are independent
What is the Alternative hypothesis of the Chi squared independence?
H1: The two factors are not independent
How do you calculate the Expected count in the Chi squared independence?
Expected counts = the row total times the column total all divided by the grand total
How are the degrees of freedom calculated for the Chi squared independence?
df = (#columns -1) x (#rows -1)
What does a high Chi squared independence value tell us?
The is strong evidence against Ho