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-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

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