BookmarkSubscribeRSS Feed
sumah
Fluorite | Level 6
Any clue when is Fisher’s exact test invalid or in other words, when it can NOT be used? I’m getting a warning message about % of missing data in the SAS output but couldn’t figure it out! I used proc freq
12 REPLIES 12
pink_poodle
Barite | Level 11
Could you please write what it says in the warning message?
sumah
Fluorite | Level 6

sssssrtgee.png

 

sumah
Fluorite | Level 6

Untitled.png

sbxkoenk
SAS Super FREQ

Hello,

 

Can you present us with the exact warning message?

Is it a WARNING in the LOG or in the OUPUT / RESULTS??

I understand SAS is complaining about missing values in your data set, not about frequency counts that are zero nor about other sparsity in the data, correct?

 

Thanks,

Koen

sumah
Fluorite | Level 6

sssssrtgee.png

sbxkoenk
SAS Super FREQ

Hello,

That "warning" in the results is just to make you aware that not all your observations were used in the PROC FREQ Fisher's exact test as not all your observations can be counted (some observations have missing values for the row and / or column variable in your contingency table).

It does not mean that the Fisher's exact test is invalid.

It is valid but not all observations participated in the analysis!

Koen

sumah
Fluorite | Level 6

I see! I usually use Fisher's test and that was the first time I get a warning and in the output, not the log. Thank you so much!!! 

Ksharp
Super User
That said ChisquareTest is not valid, NOT Fisher Exact Test !
ChisquareTest and Fisher Exact Test is totally different !
sbxkoenk
SAS Super FREQ

Thanks for pointing that out @Ksharp .
indeed, an important addition on your part!

Koen

sumah
Fluorite | Level 6

I started with ch-squared and it wasn't valid so I switched to Fisher's test

Ksharp
Super User
But you said:
"Any clue when is Fisher’s exact test invalid "

You can always use Fisher Test as long as it is displayed .

Chisq Test require 5% count in each cell as least .
sumah
Fluorite | Level 6

yes, that was my question, I thought at first I can't run a fisher's exact test but found out it's okay. thanks again. 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 12 replies
  • 973 views
  • 4 likes
  • 4 in conversation