BookmarkSubscribeRSS Feed
Makitisinde
Calcite | Level 5

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

2 REPLIES 2
Rick_SAS
SAS Super FREQ

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;

Makitisinde
Calcite | Level 5

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. 

SAS Innovate 2025: Call for Content

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!

Submit your idea!

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