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
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
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
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 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.