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
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.