BookmarkSubscribeRSS Feed
SShepp
Calcite | Level 5

Hi there,

 

The data that I am working with is egg production data over a course of 12 years. I was thinking of just taking the average flock production from the first and last year and putting it into a t-test to see if it was significantly different. My adviser thinks that there is probably some other type of modelling SAS can do for me that would provide me with more data. Do any of you good people happen know what that would be? (Broad question, I know).

 

I'm not very familiar with SAS at all and I haven't started working with it much yet. But I have to explain how I'm going to use SAS for a research proposal, which is a little hard when I don't entirely know how it works.

 

If anybody can help me get a better idea of what this modelling would look like compared to a T-test, that would be greatly appreciated!!

12 REPLIES 12
PGStats
Opal | Level 21

Your scientific hypotheses should not depend primarily on which statistical tools are available. You should state the hypotheses first and then ask: Can I use SAS to test them?  Given the wide array of models that SAS can accomodate, the answer will depend mostly on your sampling plan and on the amount of data available.

PG
SShepp
Calcite | Level 5

Hi PG,

 

Thanks for replying to me! My hypothesis isn't based on the stats available and that part is all done and sorted out.  It's the materials and methods part of the proposal that this is going in where I need to be able to better explain what stats I plan on using.

Reeza
Super User
How are you planning to test your hypothesis?
SShepp
Calcite | Level 5

All the egg production data is collected at the farm on a daily basis for every hen.  It is stored in an  Excel file and the data for each bird is broken down by number of eggs per week (ideal number being 7 eggs).  I was going to take the files and chart the flock average for each breed of bird for every year to see if there were trends or spikes.  Then I was going to take each breed average from the first year and run it through a t-test for each breed average for the most recent year.

PGStats
Opal | Level 21

WHAT is your hypothesis?

PG
SShepp
Calcite | Level 5

The hypothesis is that since selection for the birds has not been based off of total egg production in the 12 generations we have had them, there will be no statisical difference between their total egg production from the year we first got the birds and now. 

PGStats
Opal | Level 21

@Reeza was right, this is about chicken. At this point, I feel like calling in @Linlin (an expert in both SAS and hens)! How do you account/control for the bird's age? Is year tthe same as generation number?

PG
SShepp
Calcite | Level 5

Yes, sorry, I should have explained that better, year and generation are basically interchangable in this case since we hatch out a new generation at the end of March every year and keep them around for a year before culling them to make space for the subsequent generation.  All the birds are hatched on the same day so all of them are the same age for each generation.

PGStats
Opal | Level 21

I think you should be using models for count data (individual bird annual production). You could test for differences between years (generations) and/or an overall time trend. The most appropriate SAS procedure for the task is proc glimmix, which unfortunately is not easy to use. So you might want to secure some help before you commit to it.

If you have a licence to SAS/ETS, you could use proc countreg, which is dedicated to count data analysis and a bit easier to master.

PG
Reeza
Super User
Please, please get a statistician to help you. Someone invested money to raise birds for 12 years, hopefully they can see the benefit in hiring a statistician to ensure appropriate data analysis. This is not a straight forward analysis and it's probably worth getting the most out of the data.
Reeza
Super User

Hi @Justin_Allison, welcome to the SAS Forums.

 

If you'd like to post tutorial style posts, you can use an Article rather than create a thread or respond to a two year old thread.

Additionally, since you are new to the forums it would help if you post your links as full link rather than hyper link to first establish some trust. Many users will not click on a link where you cannot see the full address.

 

 

 

Reeza
Super User
SAS = Statistical Analysis Software. Determine your analysis plan and then how SAS can support it. It's only a tool, the methods behind your statistical analysis is more important.

We don't have quite enough information to help at the moment. It depends on how your data is collected and what it represents. Do you have egg production over time as an aggregate measure, or is it by chicken or coop or some other aggregate area. I would assume that not all chicken types would have the same production levels. Depending on the answers you may be looking at some sort of repeated measures analysis and/or some sort of time series analysis. If you have different levels of aggregation it could be a hierarchical model.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 12 replies
  • 1902 views
  • 4 likes
  • 3 in conversation