LEC 8 Categorical Data Analysis Flashcards

1
Q

Statistical test for

  • nominal data
  • 2 groups
  • independent
A

Chi-square test
or
Fisher’s exact test

To test the null hypothesis that the population proportions corresponding to the random samples are equal
OR
To test the null hypothesis that there is no association between the ‘exposure’ and the ‘outcome’

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

Statistical test for

  • nominal data
  • 2 groups
  • paired
A

McNemar’s test

To test the null hypothesis that the population proportions of ‘outcome’ corresponding to the paired random samples are equal
OR
To test the null hypothesis that there is no association between the ‘exposure’ and ‘outcome’

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

Statistical test for

  • nominal data
  • > = 2 groups
  • independent
A

Chi-square test
or
Fisher-Freeman-Halton test (extension of Fisher’s exact test)

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

Arrangement of the data for nominal data (Chi-square and Fisher’s exact test)

A

RxC contingency table
Rows (horizontal) : exposure
Column (vertical) : outcome

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

Chi-square test & Fisher’s exact test assumptions (4)

A
  1. The samples are random samples of their populations
  2. All observations are independent
  3. For 2x2 contingency table, the expected count for each cell has to be at least 5
  4. For larger contingency table,
    - the expected count for each cell has to be at least 1
    - no more than 20% of the cells have <5

3&4, if not fulfilled then do Fisher’s exact test

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

Observed count for Chi-square

A

= (row total x column total)/grand total

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

Chi-square test & Fisher’s exact test hypothesis types (2)

A
  1. Association

2. Proportion

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

Chi-square test & Fisher’s exact test hypothesis (Association)

A

Ho :
- There is no association between __ and __

H1 :
- There is an association between __ and ‘__

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

Chi-square test & Fisher’s exact test hypothesis (Proportion)

A

Ho :
- There is no significant difference in proportion of __ and __

H1 :
- There is significant difference in proportion of __ and __

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

McNemar’s test assumptions (2)

A
  1. The samples are random samples of their populations

2. Each observation in the first sample has a corresponding observation in the second sample (paired samples)

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

Concordant pairs

A

Outcome is the same for each member of the pairs

  • provide no information about differences in __ and __
  • ignored and not used in the analysis

eg test A +ve and test B +ve

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

Discordant pairs

A

Outcome is different for each member of the pairs

eg test A +ve and test B -ve

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

Arrangement of the data for nominal data in table (McNemar’s test)

A

Need to take into account the paired nature of the data

Row :

  • exposure 1
  • split into 2 outcomes

Columns :

  • exposure 2
  • split into 2 outcomes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

McNemar’s test hypothesis types (3)

A
  1. Proportion
  2. Association
  3. Discordant pairs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

McNemar’s test hypothesis (Proportion)

A

Ho :
- There is no difference between the proportions of subjects with __ and __

eg There is no difference between the proportions of subjects with test A positive results and test B positive results

H1 :
- There is a difference between the proportions of subjects with __ and __

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

McNemar’s test hypothesis (Association)

A

Ho :
- There is no association between __ and __

eg There is no association between the test used and the reaction observed

H1 :
- There is an association between __ and __

17
Q

McNemar’s test hypothesis (Discordant pairs)

A

Ho :
- There is no difference between the number of pairs in __ and the number of pairs in __

eg There is no difference between the number of pairs in which reaction to test A is positive and the matched reaction to test B is negative (n1) and the number of pairs in which reaction to test B is positive and the matched reaction to test A is negative (n2)

H1 :
- There is a difference between the number of pairs in __ and the number of pairs in __

18
Q

Criteria to use McNemar’s test

A

Total discordant pairs >=20

but if using software, it is ok to use if <20

19
Q

If >2 independent groups with nominal data

A

Use Chi-square test or Fisher’s Freeman Halton test

Usually no need to do post-hoc test cos only want to check for association

20
Q

McNemar’s test

A

To test the null hypothesis that the population proportions of “outcome” corresponding to the paired random samples are equal
eg Testing Ho that there is no difference between the proportion of persons with positive reaction to test A and proportion of persons with positive reaction to test B

OR

To test the null hypothesis that there is no association between “exposure” and “outcome”