Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

Statistics for Table of year by flavor

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

Cell (1,1) Frequency (F)


18
Left-sided Pr <= F
0.8024
Right-sided Pr >= F
0.3355
Table Probability (P)
Two-sided Pr <= P

0.1379
0.6709

Sample Size = 100

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;

You might also like