Lines for grouping significance within LSMEANS using Proc Mixed

Reply
N/A
Posts: 1

Lines for grouping significance within LSMEANS using Proc Mixed

I have been searching for ways to use the lines option with Proc Mixed, but I keep getting errors. Is there a way I can code for it to produce lines? I wanted it for the output, so it would be easier for me to differentiate between different significance.

Data k trials yield from eight site years ;

Input plot siteyr rep trt yield ;

Cards ;

;

Proc sort; by siteyr ;

Proc mixed ;

Class siteyr rep trt ;

Model yield = siteyr trt siteyr*trt/ddfm=satterth ;

Random rep rep(siteyr);

Lsmeans siteyr*trt trt/pdiff ;

Run ;

Proc mixed ; by siteyr ;

Class siteyr rep trt ;

Model yield = trt ;

Random rep ;

Lsmeans trt/pdiff ;

Run ;

Attachment
Ask a Question
Discussion stats
  • 0 replies
  • 171 views
  • 0 likes
  • 1 in conversation