BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
SAS_John
Obsidian | Level 7
proc freq data=FISHER; 
	by AEDECOD; 
	where TRTAN in (0,2);
	table TRTAN*EVENT/exact; 
	ods output FishersExact=F1PT(where=(Name1='XP2_FISH'));
run;

Hi,

When I run the above code, it gave me the following message in log "No statistics are computed for TRTAN * EVENT because TRTAN has less than 2 nonmissing levels". Is any way I can get the P-value?

 

Thanks a lot!

 

John

 

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

This seems contradicting to me, is it correctly pulling the data you expect?

where TRTAN in (0,2);

No statistics are computed for TRTAN * EVENT because TRTAN has less than 2 nonmissing levels

 

 

View solution in original post

2 REPLIES 2
Reeza
Super User

This seems contradicting to me, is it correctly pulling the data you expect?

where TRTAN in (0,2);

No statistics are computed for TRTAN * EVENT because TRTAN has less than 2 nonmissing levels

 

 

SAS_John
Obsidian | Level 7

Thanks Reeza for the reply. I recheck the table. So the "Where TRTAN in (0, 2)" should be  "Where TRTAN in (0, 81)". Then it is ok now

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 2 replies
  • 4057 views
  • 0 likes
  • 2 in conversation