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