Greetings all,
I have a plant characterization data from two locations. There were 95 genotypes of plant used in the study. After running a two-way anova test on it using "PROC GLM" and the class as "genotypes" and "locations", i found out the output is not separating the results per each location. Instead, it is giving me a combined result of the two locations as one. Below is the code used and a view of the result. I s there anything i am doing wrong? Secondly in the means separation, it shows high level of difference, how do i report this?
Thanks.
code:
options ls=100 ps=1000 nocenter nolabel pageno=1;
data phd;
set olusam.phd;
run;
proc print data=phd; run;
proc sort data=phd;
by lctns accns rep;
run;
ODS RTF LISTING;
ODS RTF FILE='phd.rtf';
title glm phd;
proc glm data=phd plots=none;
class lctns accns;
model yield ph lle lwi dtf npet nol gct pel d50f npod nseed hswt tswt seedl seedw seedt = lctns accns lctns*accns;
means accns /duncan;
quit;
run;
ODS RTF CLOSE;
You did not ask SAS to separate your locations. What is the research question you're trying to answer?
You did not ask SAS to separate your locations. What is the research question you're trying to answer?
You are right @Haris, after taking a closer look i was able to figure out that i did not actually ask for the locations to be separated. I've done that now and it is fine. I'm trying to see how each variety perform at the different locations and their interactions. Thanks a lot.
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!
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.