BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
mona4u
Lapis Lazuli | Level 10

I'm using Glimmix and I was trying to peerform one side inference test for the lower limit 

I'm wondering what is the right option to use 

LSmeans strata / diff=control('A') alpha=0.05 cl ;

1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ

See the one-sided section of this note. As mentioned there, when the test statistic is normally distributed you can simply halve the p-value if the observed statistic value satisfies the alternative hypothesis. 

View solution in original post

2 REPLIES 2
StatDave
SAS Super FREQ

See the one-sided section of this note. As mentioned there, when the test statistic is normally distributed you can simply halve the p-value if the observed statistic value satisfies the alternative hypothesis. 

SteveDenham
Jade | Level 19

You need to use either the CONTROLL or CONTROLU difftype to get one-sided tests and confidence intervals.  Check the LSMEANS documentation in the Shared Concepts section of the documentation.

 

SteveDenham

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 2 replies
  • 1155 views
  • 2 likes
  • 3 in conversation