BookmarkSubscribeRSS Feed
Imaduddin
Calcite | Level 5

I have already analyzed a RCBD factorial planned contrast (control vs rest) data in MS Excel 2013 but i'm trying to analyze this data in SAS but i can not analyze this data. If any one of you have a good experience in statistical data analysis with SAS to suggest me a appropriate SAS procedure for analysis of this data.

1 REPLY 1
SteveDenham
Jade | Level 19

Not sure how well this will work but if you consider the control to be in a block of it's own (N=0, B=6), you could try:

 

proc mixed data=yourdatainlongform;
class treatment block rep;
model value=treatment;
random block treatment*rep;
lsmeans treatment/diff=control;
run;

Key to this is getting your data into a format where each record has unique values for value, treatment, block and rep. This works well on a simulated data set.

 

SteveDenham

 

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
  • 1 reply
  • 601 views
  • 0 likes
  • 2 in conversation