SAS应用_医学统计学的例题程序及其结果,学习SAS的必备资料.
源代码在线查看: 例07-01计算结果.lst
The SAS System 20:26 Monday, April 1, 2002 52
TABLE OF R BY C
R C
Frequency|
Expected |
Percent |
Row Pct |
Col Pct | 1| 2| Total
---------+--------+--------+
1 | 99 | 5 | 104
| 90.48 | 13.52 |
| 49.50 | 2.50 | 52.00
| 95.19 | 4.81 |
| 56.90 | 19.23 |
---------+--------+--------+
2 | 75 | 21 | 96
| 83.52 | 12.48 |
| 37.50 | 10.50 | 48.00
| 78.13 | 21.88 |
| 43.10 | 80.77 |
---------+--------+--------+
Total 174 26 200
87.00 13.00 100.00
STATISTICS FOR TABLE OF R BY C
Statistic DF Value Prob
------------------------------------------------------
Chi-Square 1 12.857 0.001
Likelihood Ratio Chi-Square 1 13.588 0.001
Continuity Adj. Chi-Square 1 11.392 0.001
Mantel-Haenszel Chi-Square 1 12.793 0.001
Fisher's Exact Test (Left) 1.000
(Right) 2.82E-04
(2-Tail) 5.29E-04
Phi Coefficient 0.254
Contingency Coefficient 0.246
Cramer's V 0.254
Sample Size = 200