Programming the statistical procedures from SAS

Fisher's Exact Test

Reply
Occasional Contributor
Posts: 15

Fisher's Exact Test

How do I do Fisher's Exact test in SAS?

Trusted Advisor
Posts: 1,195

Re: Fisher's Exact Test

Try proc freq

proc freq data = have;

  tables variable1*variable2 / fisher;

run;

Occasional Contributor
Posts: 15

Re: Fisher's Exact Test

I got the answer.  It's in proc freq, using /fisher on the tables statement.Smiley Happy

Grand Advisor
Posts: 9,463

Re: Fisher's Exact Test

OR

proc freq data = have;

  tables variable1*variable2 ;

  exact fisher;

run;

Xia Keshan

Ask a Question
Discussion stats
  • 3 replies
  • 255 views
  • 0 likes
  • 3 in conversation