Week 9: Tests of Proportions - Chi-square test; McNemar test Flashcards
What tests used for tests of differences?
- Parametric tests
- Student’s t-test
- Paired t-test
- ANOVA
- Repeated measures ANOVA - Non-parametric tests
- Mann-Whitney U
- Wilcoxon signed-rank test
- Kruskal-Wallis H test
- Friedman test
What tests used for tests of proportions?
- chi-square test
- McNemar test
- Fisher’s Exact test
Chi-square test for comparing proportions -
- a statistical hypothesis test that uses a test statistic with a known probability distribution of chi-square distribution
- used to compare two or more independent groups for their proportions
How can you estimate the (lowered) risk of hypertension linked to the use of the new medication?
Compute an epidemiologic measure as an estimate of the lowered risk of hypertension linked to the use of the new medication = odds ratio
How can you test statistically the effect of the new medication over the standard treatment on the hypertensive subjects?
Run a statistical hypothesis test to compare the proportions of those who were responsive between the experimental group vs. the control group
Expected data contingency table is calculated using what?
Computed based on the marginal sums: ex: (a*c/T) = expected 1 a*d/T = E3 b*c/T = E2 b*d/T = E4
Degrees of freedom -
The number of values that are free to vary as you estimate parameters
For chi-square statistic out of the R x C contingency table, df=
(df) is (R - 1) x (C - 1)
R= number rows/ C=number columns
OR [(a/b)/(c/d)] (RCT) calculated using 2x2 contingency table = 9, interpret.
OR = 9 > 1.0; the rate of being responsive is 9 times higher with the new medication than the standard treatment only
RR [(a/a+b)/c/c+d)} (cohort study) estimated using a 2x2 contingency table = 0.5, interpret.
OR = 0.5 < 1.0; the risk of hip fracture is lower by a factor of ½ in those physically active than those not
Assumptions for valid chi-square test:
- the groups are independent (e.g. experimental vs. control; physically active vs. not active)
- the value of the cell expected count should be 5 or more in at least 80% of the cells (All of E1, E2, E3, and E4 must be greater than 5)
- no cell should have an expected count of less than one (Any of E1, E2, E3, or E4 must not be less than 1)
McNemar test -
- a statistical hypothesis test used when you want to compare proportions between the two groups that are not independent (pretest/posttest design)
- a form of the chi-square test used with 2x2 contingency table that involve matched samples, where subjects act as their own controls or where they are matched
OR for matched data can be estimated using a 2x2 contingency table (b/c), interpret OR = 5
OR = 5 > 1.0; the rate of becoming not to use pain meds is 5 times higher than those becoming to use pain meds.
What test of proportions used for independent groups of two group comparison and multi group comparison?
Chi-square test
What test of proportions used for paired (matched) groups of two group comparison?
McNemar test