BookmarkSubscribeRSS Feed
Zynep93
New User | Level 1

Hello everyone, 

 

I need your urgent help. 

 

I have 16 plants treated with 16 different fertilizers and a control plant (untreated), for a total of 17 units. The pots were randomly arranged without replication. However, these plants were fertilized for 27 weeks. What would be the repeated measure code for this? I want to see the effects of these fertilizers on plant height for 27 weeks. This is the coding I came up with. Thanks for your valuable time. 

 

frt= fertilizers 

ph= plant height 

 

Proc glimmix Data =first;
class frt ph week;
model ph = fert week fert*week;
random week/subject=frt*rep type=ar(1) residual;
lsmeans fert*week / pdiff Adjust = Tukey lines slicediff= day;
output out=second predicted=pred residual=resid residual(noblup)=mresid student=studentresid student(noblup)=smresid;
Run;

 

 

 

 

 

 

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
  • 0 replies
  • 96 views
  • 0 likes
  • 1 in conversation