SAS应用_医学统计学的例题程序及其结果,学习SAS的必备资料.
源代码在线查看: 例07-04计算结果.lst
The SAS System 20:26 Monday, April 1, 2002 54
TABLE OF R BY C
R C
Frequency|
Expected |
Percent |
Row Pct |
Col Pct | 1| 2| Total
---------+--------+--------+
1 | 4 | 18 | 22
| 6 | 16 |
| 12.12 | 54.55 | 66.67
| 18.18 | 81.82 |
| 44.44 | 75.00 |
---------+--------+--------+
2 | 5 | 6 | 11
| 3 | 8 |
| 15.15 | 18.18 | 33.33
| 45.45 | 54.55 |
| 55.56 | 25.00 |
---------+--------+--------+
Total 9 24 33
27.27 72.73 100.00
STATISTICS FOR TABLE OF R BY C
Statistic DF Value Prob
------------------------------------------------------
Chi-Square 1 2.750 0.097
Likelihood Ratio Chi-Square 1 2.653 0.103
Continuity Adj. Chi-Square 1 1.547 0.214
Mantel-Haenszel Chi-Square 1 2.667 0.102
Fisher's Exact Test (Left) 0.108
(Right) 0.979
(2-Tail) 0.121
Phi Coefficient -0.289
Contingency Coefficient 0.277
Cramer's V -0.289
Sample Size = 33
WARNING: 25% of the cells have expected counts less
than 5. Chi-Square may not be a valid test.