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