Tests of Proportions; Chi-Square and McNemar Test Flashcards
- What is a chi-square test?
- It is used to compare __________ independent groups for their proportions.
- A statistical hypothesis test that uses a test statistic with a known probability distribution of chi-square distribution.
- two or more
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?
- 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.
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.
-χ^2= ∑(O-E)^2/E
- What is degree of freedom (df)?
- For chi-square statistic out of the R x C contingency table, the df is what?
- 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)
Can a OR be estimated using a 2x2 contingency table? How?
- Yes
- (a/b)/(c/d)
Can a RR be estimated using a 2x2 contingency table? How?
- Yes
- (a/(a+b))/(c/(c+d))
What are the assumptions for a valid chi-square test?
- 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.
MCNEMAR TEST
MCNEMAR TEST
- 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 statistical hypothesis test used when you want to compare proportions between the two groups that are not independent.
- control
What are some examples of when a McNemar Test would be used?
- 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.
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?
-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.
What is the formula for McNemar Statistic?
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
- What is degree of freedom (df)?
- For McNemar statistic out of the R x C contingency table, the df is what?
- 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)
Can a OR be estimated using a 2x2 contingency table? How?
- Yes
- b/c
- 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?
- Chi-square
- McNemar
- Stuart-Maxwell