BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
skal
Fluorite | Level 6

Hello all,

I have a query if I have same sample size within different years example 100 lines but replicates of them vary in years for an example one year has 6 replicates while other years have 3 replicates. In this case my data is balanced or unbalanced? 

what method on SAS I should use to calculate ANOVA for such data?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
SteveDenham
Jade | Level 19

You've probably got more than that going on, if you are interested in heritabilities.  I assume that the four locations mentioned are all different?  If so, you can ignore year as an effect, as it is completely confounded with location.  If not, then you need to consider year-location as a fixed effect to remove from your heritability estimates. So, what are the other factors involved here?  I have a hunch you are going to need one of the mixed model PROCs to get correctly calculated variance components you need to calculate heritablility.

 

SteveDenham

View solution in original post

4 REPLIES 4
SteveDenham
Jade | Level 19

The data are unbalanced.  Any of the linear modeling PROC's except PROC ANOVA could be used (GLM, MIXED, GENMOD, GLIMMIX, etc.)  We would need more information on the design to make a good recommendation.

 

SteveDenham

skal
Fluorite | Level 6

Hello Steve, 

Thanks for the reply. To be more precise I have observation A within three years. The number of observations are same i.e. 100 within all three years.

-First year has one location where observations were taken and replicates in that year are 6.

-Second year has one location but 3 replicates 

-Third year has two locations and 3 replicates per location

Can you please help me if I want to check homogeneity of variance, ANOVA and heritability on SAS how can I perform it? 

Thanks 

SteveDenham
Jade | Level 19

You've probably got more than that going on, if you are interested in heritabilities.  I assume that the four locations mentioned are all different?  If so, you can ignore year as an effect, as it is completely confounded with location.  If not, then you need to consider year-location as a fixed effect to remove from your heritability estimates. So, what are the other factors involved here?  I have a hunch you are going to need one of the mixed model PROCs to get correctly calculated variance components you need to calculate heritablility.

 

SteveDenham

skal
Fluorite | Level 6

Thanks Steven

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
  • 4 replies
  • 761 views
  • 2 likes
  • 2 in conversation