- 2074 Asoj · 5 marks
Chi-square: smokers, gender and starting age
Short answer
Chi-square test of independence gives χ² = 14.462 with 3 df. The critical value at 0.05 is 7.815. Since 14.462 > 7.815, reject H₀. There is significant association between gender and age at first smoking.
A random sample of smokers was obtained and each individual was classified both with respect to gender and with respect to the age at which he/she first started smoking.
| Age | Male | Female |
|---|---|---|
| <16 | 25 | 10 |
| 16-17 | 24 | 32 |
| 18-20 | 28 | 17 |
| >20 | 19 | 34 |
| Carry out a test of hypotheses to decide whether there might be an association between gender and the age at which an individual first smokes? |
Chi-square test of independence between gender and the age at which smoking was started (4 × 2 table, N = 189).
- H0: the two attributes are independent (no association). H1: the two attributes are associated (dependent).
- Level of significance: α = 0.05
- Test statistic: χ² = Σ (O − E)²/E, where E = (row total × column total)/grand total.
Observed frequencies with totals:
Male Female Total
<16 25 10 35
16-17 24 32 56
18-20 28 17 45
>20 19 34 53
Total 96 93 189
Expected frequencies:
Male Female
<16 17.78 17.22
16-17 28.44 27.56
18-20 22.86 22.14
>20 26.92 26.08
Terms (O − E)²/E:
Male Female
<16 2.934 3.029
16-17 0.694 0.717
18-20 1.157 1.194
>20 2.330 2.406
χ² = Σ (O − E)²/E = 14.462
- Degrees of freedom = (r − 1)(c − 1) = (4 − 1)(2 − 1) = 3. Critical value: χ²(0.05; 3) = 7.815. Reject H0 if χ² > 7.815.
- Decision: calculated χ² > tabulated χ² (14.462 > 7.815, p-value = 0.0023), so reject H0.
Conclusion: there is a significant association between gender and the age at which a person first starts smoking.
✓ Answer checked by Claude Sonnet 5.5
Related questions
- CI: sample of 16, mean 52, SD 4 · Probability and Statistics, chapter 6
- Chi-square distribution; brand-region association · Probability and Statistics, chapter 7 · asked 4×
- Chi-square: brand-region association (1%) · Probability and Statistics, chapter 7 · asked 4×
- Chi-square goodness of fit: Poisson errors · Probability and Statistics, chapter 7 · asked 2×
- Chi-square test of independence: 2×2 procedure · Probability and Statistics, chapter 7
- Chi-square: interest and computer ability · Probability and Statistics, chapter 7
- Chi-square test on 100 random numbers · Simulation and Modeling, chapter 6
- Chi-square uniformity test, 40 numbers · Simulation and Modeling, chapter 6
- Number conversions (25.5)10, (EAB)16 · Basic Electronics Engineering, chapter 6
- Compacted soil 17 kN/m³, OWC 16% · Soil Mechanics, chapter 5 · asked 2×