Chi-squared test for independence Flashcards

1
Q

what is this about?

A

is thee=re a relationship between two categorical variables? is one dependent on another?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

null hypothesis and chi-squared

A

that there is no association between row and column variables
is the difference due to chance and significantly insignificant

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

alternative hypothesis

A

that the H0 does not occur
does not specify a direction
not onesided or two sided

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

calculations

A

calculate expected values and compare to observed values

note: chi squared should only be used when expected numbers are greater or equal to five

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is the chi squared statisic?

A

(observed - expected)^2/expected

this is summed over all r x c

If the expected and observed counts are very different, a large chi-squared results and this is evidence against H0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

determine the p value from chi squared

A

chi squared are described by degrees of freedom

positive values are skewed to the right

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

chi-square test for r x c table

A

H0: no association

Ha: row and column are associated

If H0 is true, the statistic X^2 is approximatly chi distributed with df (r-1)(c-1)

conclusion: reject based on p value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly