BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Sharam
Calcite | Level 5

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%

 

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

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.

--
Paige Miller

View solution in original post

4 REPLIES 4
PaigeMiller
Diamond | Level 26

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.

--
Paige Miller
Ksharp
Super User
ANOVA or Kruskal-Wallis test ?

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 4 replies
  • 1830 views
  • 3 likes
  • 3 in conversation