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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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