Tests of Proportions; Chi-Square and McNemar Test Flashcards

1
Q
  • What is a chi-square test?

- It is used to compare __________ independent groups for their proportions.

A
  • A statistical hypothesis test that uses a test statistic with a known probability distribution of chi-square distribution.
  • two or more
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Example 1:
In a randomized controlled study, 100 hypertensive subjects were recruited, randomly assigned to the experimental group treated with a new medication or the control group with a standard treatment only. As an outcome, their responsiveness to the systolic blood pressure change was measured and recorded with 0 for not being responsive and 1 for being responsive. Among those 50 in the experiment group, 25 subjects were responsive; among those 50 in the control group, 5 subjects were responsive.

  • How can you estimate the (lowered) risk of hypertension linked to the use of the new medication?
  • How can you test statistically the effect of the new medication over the standard treatment on the hypertensive subjects?
A
  • Compute an epidemiologic measure as an estimate of the lowered risk of hypertension linked to the use of the new medication.
  • Run a statistical hypothesis test to compare the proportions of those who were responsive between the experimental group vs. the control group.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Example 1:
In a randomized controlled study, 100 hypertensive subjects were recruited, randomly assigned to the experimental group treated with a new medication or the control group with a standard treatment only. As an outcome, their responsiveness to the systolic blood pressure change was measured and recorded with 0 for not being responsive and 1 for being responsive. Among those 50 in the experiment group, 25 subjects were responsive; among those 50 in the control group, 5 subjects were responsive.

-Ron a statistical hypothesis test to compare the proportions of those who were responsive between the experimental group vs the control group.

A

-χ^2= ∑(O-E)^2/E

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  • What is degree of freedom (df)?

- For chi-square statistic out of the R x C contingency table, the df is what?

A
  • The number of values that are free to vary as you estimate parameters.
  • (R-1) x (C-1) (R=rows, C=columns in contingency table)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Can a OR be estimated using a 2x2 contingency table? How?

A
  • Yes

- (a/b)/(c/d)

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

Can a RR be estimated using a 2x2 contingency table? How?

A
  • Yes

- (a/(a+b))/(c/(c+d))

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

What are the assumptions for a valid chi-square test?

A
  • The groups are independent (experimental vs control).
  • The value of the cell expected count should be 5 or more in at least 80% of the cells.
  • No cell should have an expected count of less than 1.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

MCNEMAR TEST

A

MCNEMAR TEST

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  • What is a McNemar Test?
  • It is a form of the chi-square test used with 2x2 contingency table that involve matched samples, where subjects act as their own __________.
A
  • A statistical hypothesis test used when you want to compare proportions between the two groups that are not independent.
  • control
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are some examples of when a McNemar Test would be used?

A
  • To look at a subject’s responses to a question and see how many subjects answered correctly or incorrectly before and after exposure to specific information.
  • To examine the effects of a particular treatment program by looking at the presence or absence of an outcome result, such as pain, before and after treatment.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Example:
In a study about vertebral compression fractures, the researchers looked at the pain reduction and improvement in functional mobility after percutaneous polymethylmethacrylate vertebroplasty. For all 53 subjects, they asked the use of pain medication before the Vertebroplasty and asked again their use of pain medication after the Vertebroplasty.

-How can you test statistically the effect of the Vertebroplasty on the pain reduction in terms of no use of pain meds any more?

A

-Run a statistical hypothesis test to compare the proportion of those who did not use pain meds vs. the proportion of those who did use pain meds.

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

What is the formula for McNemar Statistic?

A

x^2 = ((O₃ - O₂)^2)/(O₃ + O₂)

  • where O₃ is the observed count of those who change from category 1 to category 2
  • where O₂ is the observed count of those who change from categroy 2 to category 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  • What is degree of freedom (df)?

- For McNemar statistic out of the R x C contingency table, the df is what?

A
  • The number of values that are free to vary as you estimate parameters.
  • (R-1) x (C-1) (R=rows, C=columns in contingency table)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Can a OR be estimated using a 2x2 contingency table? How?

A
  • Yes

- b/c

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  • Which test is used to compare two groups or more that are independent?
  • Which test is used to compare 2 groups that are paired?
  • Which test is used to compare more than 2 groups that are matched?
A
  • Chi-square
  • McNemar
  • Stuart-Maxwell
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is Fishers Exact Test?

A
  • A statistical hypothesis test used when you want to compare proportions between the two independent groups when the data are sparse.
  • A test resulting in the exact probability of the occurence of the observed frequencies, given the marginal totals.
17
Q
  • Which test is used to compare two groups or more that are independent when the data is not sparse?
  • Which test is used to compare 2 groups that are paired when the data is not sparse?
  • Which test is used to compare more than 2 groups that are matched when the data is not sparse?
A
  • Chi-square
  • McNemar
  • Stuart-Maxwell
18
Q
  • Which test is used to compare two groups or more that are independent when the data is sparse?
  • Which test is used to compare 2 groups that are paired when the data is sparse?
  • Which test is used to compare more than 2 groups that are matched when the data is sparse?
A
  • Fisher’s Exact Test
  • McNemar’’s Exact Test
  • Generalized Stuart-Maxwell`
19
Q

Quiz 1:

  • A research study was conducted to compare two different screening strategies for colorectal cancer, FOBT and sigmoidoscopy, in their neoplasia detection rates. They assigned 2000 eligible patients to either FOBT or sigmoidoscopy but not both. Since such group assignment forms two _____(a)______ groups, and the data seems to be large enough not being sparse, an appropriate method for comparison of the detection rates between the two group is _____(b)______. Which pair of the following correctly fills the both blanks of (a) and (b)?
    1. independent, chi-square test
    2. independent, Mcnemar’s test
    3. dependent, chi-square test
    4. dependent, Mcnemar’s test
    5. dependent, Fisher’s exact test
A
  1. independent, chi-square test
20
Q

Quiz 2:
-Which of the following is TRUE regarding the statistical hypothesis testing procedures that compare proportions between groups?

  1. Chi square test is the most powerful in any study design with no assumptions to check
  2. Sample size must be large enough to use a chi square test
  3. McNemar’s test is used when the data of the two groups are independent
  4. Chi square test is used when the data are matched between two groups
  5. Fisher’s exact test must be used when the sample size is large enough
A
  1. Sample size must be large enough to use a chi square test
21
Q

Quiz 3:
-A group of researchers conducted a research about different screening strategies for colorectal cancer. They specifically compared FOBT and sigmoidoscopy in their neoplasia detection rates. They randomly assigned eligible patients to either FOBT or sigmoidoscopy but not both. The sample size was large enough. What statistical test would have been used in this comparison?

  1. Chi-square test
  2. Student’s t-test
  3. McNemar’s test
  4. Analysis of variance
  5. Kruskal-Wallis test
A
  1. Chi-square test
22
Q

Quiz 4:
-A group of researcher conducted a research about different screening strategies for colorectal cancer. They specifically compared Fecal DNA Panel and Hemoccult II in their detection rates. They had all of eligible patients to complete both procedures. The sample size was large enough. What statistical test would have been used in this comparison?

  1. Chi-square test
  2. Student’s t-test
  3. McNemar’s test
  4. Analysis of variance
  5. Kruskal-Wallis test
A
  1. McNemar’s test
23
Q

Quiz 5:
-In a study for the depression in Parkinson’s disease (PD) and its relation to a genetic polymorphism of the cannabinoid receptor gene, the researchers compared the two different genotypes frequency between those with and without depression in the group of PD patients. Data were presented in the table below. They noticed that the sample size is very limited being sparse. Which statistical test would be best to compare the proportions of having one genotype against the other between those with depression and no depression in the group of PD patients?

  1. Chi square test
  2. McNemar’s test
  3. Student’s t-test
  4. Fisher’s exact test
  5. Analysis of Variance
A
  1. Fisher’s exact test
24
Q

Summary for Tests of Proportions:
-___________ test is a proper test for testing the proportion between the two or more independent groups
-There are assumptions to check before running a chi-square test including that
than one
-_________ test is available when the factors are not independent
-_______________ test is available when the data is sparse having cell expected count less than 5
-For the data presented in a 2x2 contingency table, odds ratio can be computed for each case of chi-square test and McNemar test

A
  • Chi-square
  • the two factors are independent, the value of the cell expected count should be 5 or more in at least 80% of the cells, no cell should have an expected count of less than 1
  • McNemar
  • Fisher’s Exact