Session 6 - Comparison of Categorical Variables within two groups? Flashcards

1
Q

What is the null hypothesis for Person’s Chi-squared test?

A

The categorical variables are uncorrelated

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

What is the alternate hypothesis?

A

At least two of the categorical variables are correlated

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

What are some key assumptions of the Pearson’s chi-squared test?

A

Independent subjects
Un-ordered categories

For contingency tables:
-Assumes that the marginal totals are fixed
-Distribution of test statistic is approximately chi-squared
-Test statistic is the difference between observed and expected cell frequencies

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

What are the problems with chi-squared test?

A

Small cell counts: the chi-squared approximation breaks down with small numbers. How small?

Less than 5 in a cell (Fisher)
Less than 10 in a cell (Cochran)
n less than 40 - total across all cells (Cochran)

-Fixed margin total

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

Is the Yates correction universally accepted?

Why is it done?

What’s the message to do it with a chi-square test?

A

No it isn’t

It is done as correction for low (expected, not observed) cell counts.

Page 31 - session 6 lecture

R will do it by default with any column sample less than 5

To preven this, correct=FALSE

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

What do we do when we are considering “as or more extreme”?

A

Fisher’s exact or Fisher-Irwin test

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

What test do we use if a priori we expect there to be agreement between the binary outcomes?

Give an example

A

McNemar’s test

For example, comparing the outcomes of two supposedly inter-changeable tests

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

What tests whether the proportion follows a trend?

A

Chi-square test for trend

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