BookmarkSubscribeRSS Feed
Clg
Obsidian | Level 7 Clg
Obsidian | Level 7

Hello everybody,

 

I have a question about the interpretation of an one-way ANOVA. The variable TRT have 3 groups and I use a proc mixed to obtain estimate and lsmeans.

 

My code is :

 

proc mixed data=base method=reml ;
class TRT;
model param= TRT / s alpha=0.10  ;
estimate "b versus A " TRTA -1 1 0 / cl alpha=0.10 ;
lsmeans TRT/ cl alpha=0.1;
run;

 

With the estimate, when I compare Bvs A, I obtain a pvalue=0.0478. But when I look the estimate means with the lsmeans statement I obtain estimate means and IC :

- group A : 1.0163402115 [0.9107315766 ; 1.1341952469]
- group B : 0.844887592 [0.7603604662; 0.9388113597]

 

We can see that the IC overlap so, I think that there is no difference between group, however, the pvalue=0.0478. How could you explain this situation according you ? Maybe because each group has a small size ? (n=12).


Thank you in advance for your answer.

 

1 REPLY 1
PaigeMiller
Diamond | Level 26

Overlapping confidence intervals is never a valid way to perform an hypothesis test. So I would believe that pvalue=0.0478 is correct.

--
Paige Miller

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1308 views
  • 0 likes
  • 2 in conversation