Output file: NONE (see
notes)
;
**
;
Notes: Data is entered after
the cards
statement
**;
*****;
data fisher;
input row $ col $ count @@;
cards;
1 1 3 1 2 1 2 1 3 2 2 3
;
proc freq data=fisher;
weight count;
table row*col/nopercent
chisq;
title 'Fisher's exact test' ;
run;
Figure 6: Program for
Fisher’s exact test
*****;
** Filename: PROPORT.JOB
;
;
Purpose: Proportions
test
;
;
Tests whether
there is a difference between
two **;
Appendix 363