SAS应用_医学统计学的例题程序及其结果,学习SAS的必备资料.
源代码在线查看: 例07-06计算结果.lst
The SAS System 20:26 Monday, April 1, 2002 59
TABLE OF R BY C
R C
Frequency|
Percent |
Row Pct |
Col Pct | 1| 2| Total
---------+--------+--------+
1 | 199 | 7 | 206
| 37.41 | 1.32 | 38.72
| 96.60 | 3.40 |
| 41.37 | 13.73 |
---------+--------+--------+
2 | 164 | 18 | 182
| 30.83 | 3.38 | 34.21
| 90.11 | 9.89 |
| 34.10 | 35.29 |
---------+--------+--------+
3 | 118 | 26 | 144
| 22.18 | 4.89 | 27.07
| 81.94 | 18.06 |
| 24.53 | 50.98 |
---------+--------+--------+
Total 481 51 532
90.41 9.59 100.00
STATISTICS FOR TABLE OF R BY C
Statistic DF Value Prob
------------------------------------------------------
Chi-Square 2 21.038 0.001
Likelihood Ratio Chi-Square 2 21.559 0.001
Mantel-Haenszel Chi-Square 1 20.903 0.001
Phi Coefficient 0.199
Contingency Coefficient 0.195
Cramer's V 0.199
Sample Size = 532