Help using Base SAS procedures

split-split-plot design with multi year data

Reply
New Contributor
Posts: 2

split-split-plot design with multi year data

how to analyze data from a split-split-plot design with multi years? Would the following code work?

wc is whole plot factor, n is the sub plot factor, and sr is the sub-sub plot factore.

 

proc mixed data=file2;

class year rep wc n sr;

model plants=rep year*rep year|wc|n|sr;

random year*rep*wc year*rep*wc*n;

 

Thanks!

 

Respected Advisor
Posts: 2,655

Re: split-split-plot design with multi year data

[ Edited ]

Same plots from year to year, so that these are repeated measures in time as well?

 

At least remove rep from the model statement, and move to a RANDOM statement.  Maybe something like:

 

proc mixed data=file2;
class year rep wc n sr;
model plants= year|wc|n|sr;
random intercept year year*wc year*wc*n/subject=rep;
repeated year/type=un subject=rep;
run;;

 

 

 

Steve Denham

New Contributor
Posts: 2

Re: split-split-plot design with multi year data

no, new site new trial each year.
Ask a Question
Discussion stats
  • 2 replies
  • 166 views
  • 0 likes
  • 2 in conversation