Hi there.
I had an experiment with 6 treatment groups (T1-T6). There were 96 animals in each treatment group (N=96). I want to compare the Mortality% between the 6 treatments statistically. The data are shown below. Could you please advise? Thank you!
Treatment Mortality%
T1 2.1%
T2 4.2%
T3 0%
T4 2.1%
T5 7.3%
T6 4.2%
You could do a Chi-Squared test, and/or a Fisher's EXACT test, as shown. I am lazy and only typed the first three treatment groups.
data have;
input treatment $ died $ n;
cards;
T1 Y 2
T1 N 94
T2 Y 4
T2 N 92
T3 N 96
;
proc freq data=have;
tables treatment*died/chisq exact;
weight n;
run;
The Chi-squared test Prob is greater than 0.05, and in the Exact test the Pr<=P is also greater than 0.05, indicating no difference. If you run this on all 6 groups, you may get a different answer.
You could do a Chi-Squared test, and/or a Fisher's EXACT test, as shown. I am lazy and only typed the first three treatment groups.
data have;
input treatment $ died $ n;
cards;
T1 Y 2
T1 N 94
T2 Y 4
T2 N 92
T3 N 96
;
proc freq data=have;
tables treatment*died/chisq exact;
weight n;
run;
The Chi-squared test Prob is greater than 0.05, and in the Exact test the Pr<=P is also greater than 0.05, indicating no difference. If you run this on all 6 groups, you may get a different answer.
Thanks!
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!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.