Hello, I am tasked with computing average yield for different schemes. Some with irrigation and others do not have irrigation. Obviously I can not combine everything since those with irrigation will most likely have higher yield.
How can you help me to assign weights for the two sets of produce.
We have actual weight per kilo of paddy for each of the schemes. Please help!
Thanks in advance
I don't think this problem requires weights. From what you've said, this sounds like a classical ANOVA design. To begin your analysis, look at the "Getting Started Example" in the PROC GLM documentation.
Your syntax will look something like this:
proc glm data=Yield;
class Irrigation; /* binary 0/1 variable */
model Yield = irrigation;
run;
Thanks Rick-SAS, though I may have more questions later. Me and my colleagues feel that we have to assign weights to address the intervention difference between the different schemes.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
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.