It's been hard to find straightforward advice online for this problem I have, so I turn to you.
I have 40 pairs of birds, 20 dosed, 20 controls, and I need to find out if the treatments differ in hatching success (HS), HS being the number of eggs that hatched out of the eggs that were laid for each pair (successes/trials). Note that, for example, some pairs laid many eggs of which only a few hatched, and other pairs laid only a few eggs, of which a large proportion hatched.
If I use a GzLM with a binomial distribution (e.g. SAS PROC GENMOD, dist=bin, link=logit, etc.) the software adds up, per treatment, all the eggs hatched from all pairs and divides by all eggs that were laid from all pairs, giving me a mean HS per treatment that is biased (remember - some pairs laid tons of eggs, therefore contributing disproportionately to the mean). I think that what I want the analysis to do is treat the HS of each pair as an individual unit. Would this make sense in your opinion? Is there any statistical method that could be helpful in this case?
Thanks in advance for your help!