Chi-square And Goodness Of Fit Flashcards
1
Q
Cross-table
A
- Rows and columns table (rows x column)
- degrees of freedom: (r - 1) (c - 1)
2
Q
Chi-square =
A
Z^2
- compare two groups using a z-test for two proportions or chi-square.
3
Q
Expected count
A
Expected count = row total x column total / n
4
Q
Null hypothesis
A
- Rows and columns are independent
5
Q
Goodness of fit
A
- comparing values against a single variable
- degrees of freedom = k - 1 (k = # of categories)
- expected count = n x pi
6
Q
Chi-square distributions
A
- always positive
- if EC and OC are too different = large X2 = reject H0.
7
Q
Chi-square for independence
A
- norminal
- p-value = test value >- critical value
8
Q
Assumption for chi-square test
A
- All cells in the cross table have en expected value of 1 or higher
- Percentage of cells with expected count lower than 5 should not be more than 20% of the total number of cells
- All 4 expected counts in 2x2 table should be 5 or greaterr