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. 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 332 views
  • 0 likes
  • 2 in conversation