Results: chisquare_2way.sas

cocaine treatment

The FREQ Procedure

The Freq Procedure

Table treat * relapse

Cross-Tabular Freq Table

Frequency
Expected
Deviation
Cell Chi-Square
Row Pct
Table of treat by relapse
treat relapse
no yes Total
desip
14
10
4
1.6
58.33
10
14
-4
1.1429
41.67
24
 
 
 
 
lithium
6
10
-4
1.6
25.00
18
14
4
1.1429
75.00
24
 
 
 
 
Total
20
28
48

Statistics for Table of treat by relapse

Chi-Square Tests

Statistic DF Value Prob
Chi-Square 1 5.4857 0.0192
Likelihood Ratio Chi-Square 1 5.6092 0.0179
Continuity Adj. Chi-Square 1 4.2000 0.0404
Mantel-Haenszel Chi-Square 1 5.3714 0.0205
Phi Coefficient   0.3381  
Contingency Coefficient   0.3203  
Cramer's V   0.3381  

Fisher's Exact Test

Fisher's Exact Test
Cell (1,1) Frequency (F) 14
Left-sided Pr <= F 0.9962
Right-sided Pr >= F 0.0196
   
Table Probability (P) 0.0158
Two-sided Pr <= P 0.0392

Sample Size = 48


student attitudes

The FREQ Procedure

The Freq Procedure

Table group * attitude

Cross-Tabular Freq Table

Frequency
Expected
Deviation
Cell Chi-Square
Row Pct
Table of group by attitude
group attitude
athletic grades popular Total
rural
42
28.054
13.946
6.9322
28.19
57
76.994
-19.99
5.192
38.26
50
43.952
6.0481
0.8323
33.56
149
 
 
 
 
suburb
22
28.431
-6.431
1.4547
14.57
87
78.027
8.9728
1.0318
57.62
42
44.542
-2.542
0.1451
27.81
151
 
 
 
 
urban
26
33.515
-7.515
1.6849
14.61
103
91.979
11.021
1.3205
57.87
49
52.506
-3.506
0.2341
27.53
178
 
 
 
 
Total
90
247
141
478

Statistics for Table of group by attitude

Chi-Square Tests

Statistic DF Value Prob
Chi-Square 4 18.8276 0.0008
Likelihood Ratio Chi-Square 4 18.5706 0.0010
Mantel-Haenszel Chi-Square 1 0.9217 0.3370
Phi Coefficient   0.1985  
Contingency Coefficient   0.1947  
Cramer's V   0.1403  

Sample Size = 478


blood types

The FREQ Procedure

The Freq Procedure

Table type * group

Cross-Tabular Freq Table

Frequency
Expected
Cell Chi-Square
Percent
Row Pct
Col Pct
Table of type by group
type group
H HC HW W Total
A
2490
1916.7
171.45
1.72
4.18
53.32
2368
2210.2
11.265
1.63
3.98
43.97
4671
4097
80.419
3.22
7.85
46.79
50008
51313
33.191
34.47
83.99
40.00
59537
 
 
41.04
 
 
AB
99
179.61
36.179
0.07
1.77
2.12
243
207.11
6.2189
0.17
4.36
4.51
236
383.92
56.989
0.16
4.23
2.36
5001
4808.4
7.7177
3.45
89.64
4.00
5579
 
 
3.85
 
 
B
178
566.75
266.65
0.12
1.01
3.81
568
653.52
11.191
0.39
3.23
10.55
606
1211.4
302.56
0.42
3.44
6.07
16252
15172
76.83
11.20
92.32
13.00
17604
 
 
12.14
 
 
O
1903
2006.9
5.3783
1.31
3.05
40.75
2206
2314.2
5.055
1.52
3.54
40.97
4469
4289.7
7.4962
3.08
7.17
44.77
53759
53726
0.0199
37.06
86.24
43.00
62337
 
 
42.97
 
 
Total
4670
3.22
5385
3.71
9982
6.88
125020
86.19
145057
100.00

Statistics for Table of type by group

Chi-Square Tests

Statistic DF Value Prob
Chi-Square 9 1078.6036 <.0001
Likelihood Ratio Chi-Square 9 1242.1787 <.0001
Mantel-Haenszel Chi-Square 1 219.4307 <.0001
Phi Coefficient   0.0862  
Contingency Coefficient   0.0859  
Cramer's V   0.0498  

Sample Size = 145057