quiz 3 Flashcards
what is chi square test?
a group of test to find a relationship between categorical variables measured as frequencies.
chi-square test of independence
- testing for independence between two or more categorical values
chi-square goodness of fit test
comparing observed frequencies to explicitly stated expected frequencies
what are counts?
how often a particular event occurs
if i flipped a coin 50 times, what would the expected be?
25 heads & 25 tails
were males more likely to go to college than females? what would the null hypothesis be?
the rate of college attendance is independent from gender.
If chi square is greater than critical value, what can we assume?
we can assume that the p-value is smaller than alpha and the null hypothesis can be rejected.
if chi square is less than the critical value, what can we assume?
we can assume that the p-value is bigger than alpha and the null hypothesis cannot be rejected.
problems with chi-square test
- chi square is very sensitive to low values and zeros
- Chi square is an approximation of the differences
- approximation gets worse with small sample sizes
- unreliable with d.f.=1 (would get a high false positive)
what do i do if i want to compare frequencies with small sample sizes?
- you can collect more data or you can use Fisher’s exact
yates correction
makes a more accurate p-value