Chi-Square Statistics Produced with PROC FREQ
Chi-Square Tests for 3 by 5 Table of Eye and Hair Color 1 The FREQ Procedure Table of Eyes by Hair Eyes(Eye Color) Hair(Hair Color) Frequency | Expected | Cell Chi-Square| Percent |fair |red |medium |dark |black | Total ---------------+--------+--------+--------+--------+--------+ blue | 69 | 28 | 68 | 51 | 6 | 222 | 66.425 | 32.921 | 63.22 | 53.024 | 6.4094 | | 0.0998 | 0.7357 | 0.3613 | 0.0772 | 0.0262 | | 9.06 | 3.67 | 8.92 | 6.69 | 0.79 | 29.13 ---------------+--------+--------+--------+--------+--------+ green | 69 | 38 | 55 | 37 | 0 | 199 | 59.543 | 29.51 | 56.671 | 47.53 | 5.7454 | | 1.5019 | 2.4422 | 0.0492 | 2.3329 | 5.7454 | | 9.06 | 4.99 | 7.22 | 4.86 | 0.00 | 26.12 ---------------+--------+--------+--------+--------+--------+ brown | 90 | 47 | 94 | 94 | 16 | 341 | 102.03 | 50.568 | 97.109 | 81.446 | 9.8451 | | 1.4187 | 0.2518 | 0.0995 | 1.935 | 3.8478 | | 11.81 | 6.17 | 12.34 | 12.34 | 2.10 | 44.75 ---------------+--------+--------+--------+--------+--------+ Total 228 113 217 182 22 762 29.92 14.83 28.48 23.88 2.89 100.00 Statistics for Table of Eyes by Hair Statistic DF Value Prob ------------------------------------------------------ Chi-Square 8 20.9248 0.0073 Likelihood Ratio Chi-Square 8 25.9733 0.0011 Mantel-Haenszel Chi-Square 1 3.7838 0.0518 Phi Coefficient 0.1657 Contingency Coefficient 0.1635 Cramer's V 0.1172 Sample Size = 762 |