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-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

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
  • 662 views
  • 0 likes
  • 2 in conversation