week 12: chi-square tests Flashcards
non-parametric tests
non-parametric tests (hypothesis-testing procedures making no assumptions about population parameters)
eg. iv and dv are nominal
Determining Expected Frequencies
expected frequency= expected percentage x N
Chi-square (c2) test for goodness of fit
do the observed frequencies of observations in categories fit the expected frequencies?
does the observed distribution fit the expected distribution?
Expected and observed frequencies for degree of mismatch
use the Expected (E) and Observed (O) frequencies to calculate the degree of mismatch (the opposite of fit)
use sigma
steps for calculating the chi-square statistic
- Find the actual, observed frequencies in each category
- Determine the expected frequencies in each category
- In each category, compute observed minus expected frequencies
- Square these differences in each category
- Divide each squared difference by the expected frequency for its category
- Add up the results of previous step for all the categories
Calculating the x2 statistic
calculate the difference between O and E O-E square this value to remove any negative signs (O-E)2 divide by the Expected frequency to remove the effect of the size of expected frequencies (O-E)2/E add across all categories SIGMA(O-E)2/E
chi distribution (df)
df = no. categories -1(for goodness of fit)
positively skewed
expected frequency calculation
expected frequency=expected percentage x N
if the calculated chi square is less than the critical chi-square what does it mean?
that you retain null hypothesis (H0)
Chi-square (c2) test for independence
more common in research to have >1 variable
two nominal variables each with multiple categories
chi-square (c2) test for independence
is there a relationship between the way observations are distributed across one variable and the way they are distributed across the other variable?
are they independent? (i.e., no relationship between the variables)
Calculating the expected frequencies
contingency table for each cell, calculate the expected frequency Econtingency= (R*C)/N R = Row total C = Column total N = Grand total
Calculating the expected frequencies for Chi-square (c2) test for independence
contingency table for each cell, calculate the expected frequency Econtingency= (R*C)/N R = Row total C = Column total N = Grand total
df Chi-square (c2) test for independence
fd= (columns-1)x(rows-1)
- df is the number you use to look up the critical cut off.
eg. 1df with 0.05 is 3.841 on chi table
if chi square is greater than critical chi-square?
Reject H0 (null)
Effect size in c2 tests (strength of relationship in c2 tests of independence)
O with vertical line: phi = strength of the relationship in 2 x 2 Chi-square (x2) tests
- display as percentage