BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
PeterBr
Obsidian | Level 7

Hi All,

 

I have a repeated measures design dataset where I would like to test for non-inferiority across two groups over 4 time periods, specifically I am interested in the "group" and "group*time" interaction. I have written the following code but am wondering if there is a way to change it to test for non-inferiority?

 

proc mixed data=mydata;
  class id group;
  model outcome = time group time*group time*time / solution cl;
  random intercept time / subject = id;
  estimate '1-2' group 1 -1 / cl;
run;
1 ACCEPTED SOLUTION

Accepted Solutions
SteveDenham
Jade | Level 19

You can use the options LOWER or UPPER to get one tailed tests of the differences in any of an LSMEAN, ESTIMATE or best of all, an LSMESTIMATE statement.

 

If you know the margin of inferiority,, that can be entered with the TESTVALUE option in the LSMESTIMATE statement.

 

SteveDenham

View solution in original post

1 REPLY 1
SteveDenham
Jade | Level 19

You can use the options LOWER or UPPER to get one tailed tests of the differences in any of an LSMEAN, ESTIMATE or best of all, an LSMESTIMATE statement.

 

If you know the margin of inferiority,, that can be entered with the TESTVALUE option in the LSMESTIMATE statement.

 

SteveDenham

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1 reply
  • 2235 views
  • 0 likes
  • 2 in conversation