Programming the statistical procedures from SAS

Split-plot repeated measures with proc mixed

Reply
Contributor
Posts: 72

Split-plot repeated measures with proc mixed

Hi!

I want to analyse my data, which correspond to a split-plot design as repeated measures (date), but I am not sure if my model is correct.  The samples were only taken in two dates; 18.04.12 and 09.06.12.

proc mixed data=one;

class blk treatment cultivar date;

model y=

treatment|cultivar|date/ddfm=kenwardroger;

random blk blk*treatment;

repeated date;

lsmeans treatment|cultivar|date/adjust=simulate cl;

run;

Thanks a lot!

Caroline

Respected Advisor
Posts: 2,655

Re: Split-plot repeated measures with proc mixed

That will work.

Are you sure about making all of the comparisons in the lsmeans statement?  Will it be meaningful to compare, say Treatment1/Cultivar A in April to Treatment3/Cultivar B in June?  Think about what the overall tests tell you, and then set up the lsmeans (or Lsmestimates) to deal only with the comparisons of interest, before applying a multiple comparison adjustment.

Steve Denham

Ask a Question
Discussion stats
  • 1 reply
  • 587 views
  • 0 likes
  • 2 in conversation