Professional Documents
Culture Documents
Candy SAS
Candy SAS
Statistic
DF
Value
Prob
Chi-Square
1
0.4071 0.5235
Likelihood Ratio Chi-Square 1
0.4075 0.5233
Continuity Adj. Chi-Square
1
0.1809 0.6706
Mantel-Haenszel Chi-Square
1
0.4030 0.5256
Phi Coefficient
0.0638
Contingency Coefficient
0.0637
Cramer's V
0.0638
Fisher's Exact Test
0.1379
0.6709
data candy;
input year $ flavor $ count;
cards;
one lemon 18
two lemon 15
one non-lemon 32
two non-lemon 35
;
proc freq;
tables year*flavor/chisq;
weight count;
title yourname;
run;
quit;