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

Hello all,

how can i put fixed effect in proc mixed in repeated measure designs?the fixed effects involve time and treat and interaction between time and treat.therefore  time | treat  is correct or time treat time*treat is correct? .bellow is my cod.thanks for any help.


proc mixed data=data;
class Subject time treat ;
model response=time | treat ;

*model response=time  treat  time*treat;
repeated  time  / type=cs subject=Subject(treat)  ;
lsmeans time|treat;
run;

1 ACCEPTED SOLUTION

Accepted Solutions
PGStats
Opal | Level 21

The two syntaxes yield exactly the same model.

PG

View solution in original post

1 REPLY 1
PGStats
Opal | Level 21

The two syntaxes yield exactly the same model.

PG

SAS Innovate 2025: Register Today!

 

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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
  • 1268 views
  • 1 like
  • 2 in conversation