10: Cross-tabulated counts (Key odd)

Review Questions

  1. p = population proportion; =  sample proportion 
  2. (a) 6.63 (b) 10.83 (c) 5.99 (d) 7.81 (e) 
  3. true.
  4. 5
  5. df = (4-1)(3-1) = 6 
  6. (a) 0.05 < P < 0.10 by using the table; P = 0.082 by computer (b) 0.01 < P < 0.025 by using the table; P = 0.018 by computer
  7. False. Chi-square distributions are asymmetrical with a long right tails.
  8. H0: p1 = p or  H0: "no association between the row variable and column variable in the population"
  9. (a) 0.20 (b) 0.10 (c) 0.01
  10. The size of the shaded region is between 0.20 (chi-square landmark 4.64) and 0.15 (chi-square landmark 5.32). The precise area determined with StaTable is 0.156379.

Exercises

10.1 Tobacco use in high school students.

(A) Calculate the prevalence of tobacco use by gender. male = 39 / 318 = 0.1226 = 12%; females = 26 / 336 = 0.0774 = 8% 
(B) Test the difference in proportions for significance with a chi-square test. H0: no association between gender and tobacco use in the population vs. H1: association in the population. X2stat = [(39 - 31.606)2 / 31.606] + [(279 - 286.395)2 / 286.395]  + [(26 - 33.394)2 / 33.394] + [(310 - 302.605)2 / 302.605] = 1.73  +  0.19 +  1.64 + 0.18  = 3.74 with df = 1; 0.05 < P < 0.10 (P = 0.053); the evidence against H0 is marginally significant

           

[Here's are results by other testing methods: X2stat, continuity-corrected = 3.250, df = 1, P = 0.071; Fisher's exact (two-tailed) P = 0.067; exact Mid-P  P = 0.058. All methods suggest that evidence against H0 is marginally significant.]

10.3 Do seatbelt laws prevent injury? 

(A) Calculate the conditional distribution of injuries before and after enactment of the law. See below. What type of association is seen? Injuries became less severe after enactment of the law (e.g., "no injury" increased from 90.5% to 92.6%).

No injury

Minimal injury

Minor injury

Major  injury

Total

After

92.6% 4.6% 2.5% 0.3%

100.0%

Prior

90.5% 5.5% 3.6% 0.4%

100.0%

Total

90.8%

5.3%

3.4%

0.4%

100.0%

(B) Test the association for statistical significance. 

(C) Describe the trend OR^1 = 1.00; OR^2 = 0.83; OR^3 = 0.68; OR^4 = 0.69  severity of injury decreased after enactment 
...
and test it for significance.; zstat, trend = 2.55, P = 0.011 

10.5 Vitamin C and the common cold . Are these proportions significantly different? H0: p1 = p (no association) vs. H1: p1 p0   (association) Test statistic: X2stat = [(36 - 39.29)2 / 39.29] + [(21 - 17.71)2 / 17.71] +  [(35 - 31.71)2 / 31.71] + [(11 - 14.29)2 / 14.29]  = 0.28 + 0.61 + 0.34 + 0.76 = 1.99 with df = 1. P = 0.159; The evidence against H0 is not significant. 

Observed

Cases

Non-cases

Vit C+

36 21

Vit C

35 11

 

Expected

Cases

Non-cases

Vit C+

39.29 17.71

Vit C

31.71 14.29

[Yates's correction chi-square = 1.429, P = 0.232]

10.7 Frequency of problems at community mental health centers. 

(A) Compare the distribution of problems within centers. See conditions distributions below.  "Other problems" were most common at Community Center 1 (49%) and Community Center 3 (41%), while "Problems with living" was most common at Center 2 (40%); see table below. 

(B) Conduct a chi-square test of association. H0: no association between center and problem type in population against H1: "association"; X2stat = 9.54 with 4 df (calculations shown below); P = 0.049; the evidence against H0 is significant 

10.9 Drove when drinking alcohol

(A) Proportions

(B) X2stat = 18.359, df = 2, P = 0.00010

10.11 Anger and heart disease (hard outcome, normotensives).

(A) low = 0.00997 (about 1.0%); moderate = 0.01332 (about 1.3%); high = 0.02844 (about 2.8%). 
(B) H0: no association between anger-trait and the coronary outcomes in the population, Pearson chi-sq. = 13.763, df = 2, P = 0.0010; the evidence against the null hypothesis is highly significant.
(C) The study shows a significant association between high- anger groups and CHD risk.

[Advanced users: Mantel test for trend chi-sq. = 9.894, df = 1, P = 0.0017]


10.13