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 ?

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 1083 views
  • 3 likes
  • 3 in conversation