BookmarkSubscribeRSS Feed
rmn0008
Fluorite | Level 6

Hi, all. 

 

If I don't specify the adjust in the lsmeans, what will be the standard?

 

PROC GLIMMIX data = SOY plots = residualpanel;
class TRT;
model KGHA = TRT / ddfm = satterth;
lsmeans TRT / lines adjust = Tukey;
run;

 

 

PROC GLIMMIX data = SOY plots = residualpanel;
class TRT;
model KGHA = TRT / ddfm = satterth;
lsmeans TRT / lines;
run;

3 REPLIES 3
PaigeMiller
Diamond | Level 26

I believe that with ADJUST= you get the multiple comparison test that is specified. If you leave ADJUST= out, the comparisons are not based upon multiple comparisons, so it would use the estimate of error produced by the model for each comparison (which is not adjusted because of multiple comparisons).

--
Paige Miller
Rick_SAS
SAS Super FREQ

Paige is correct. I will add that unadjusted CIs are "wrong" in the sense that the true confidence level can be much less than the nominal level. For example, an unadjusted "95% CI" might only cover the true population mean in 87% of random samples.

rmn0008
Fluorite | Level 6

Okay, thank you very much!

sas-innovate-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Early bird rate extended! Save $200 when you sign up by March 31.

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