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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 1431 views
  • 0 likes
  • 2 in conversation