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

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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