test of association: chi-squared Flashcards
1
Q
what is chi-squared used to test?
A
difference or association
2
Q
criteria for using chi-squared
A
- nominal data
- looking for difference
- independent groups (unrelated data)
3
Q
(CS) step 1: 2x2 contingency table
A
- show observed frequencies in each cell
- calculate the total for each row, each column and the overall total
4
Q
what is the expected frequency?
A
the frequency that would be expected if there was no difference between the two groups
5
Q
how do you calculate the expected frequency?
A
(total for row x total for column) / grand total
6
Q
(CS) step 2: table of expected frequencies
A
include:
- E
- O - E
- (O - E)²
- (O - E)² / E
- ∑(O - E)² / E
7
Q
(CS) step 3: working out the value of x²
A
x² = (O - E)² / E
8
Q
(CS) step 4: the calculated and critical values
A
- df = (rows - 1) x (columns - 1)
- if the calculated value of x² is more than the critical value, we reject the null hypothesis and accept the alternative hypothesis