[R-sig-ME] modelling proportions, with aggregated data, and the new/old lme4

Joerg Luedicke joerg.luedicke at gmail.com
Sun Mar 18 23:06:49 CET 2012


I would certainly check out a Poisson model with the number of
successes as outcome and successes+failures as an offset.

Joerg

On Sun, Mar 18, 2012 at 11:51 AM, Rolf Turner <r.turner at auckland.ac.nz> wrote:
> On 19/03/12 07:10, Ben Bolker wrote:
>
> <SNIP>
>
>
>>> head(dat)
>>>   successes failures id sex subdist
>>> 1       560      726  1   F       4
>>> 2       844      510  1   M       4
>>> 3       340      438  2   F       4
>>> 4       616      273  2   M       4
>>> 5         7        0  3   F       4
>>> 6         3        1  3   M       4
>>>
>>> In community #1, which is in subdistrict #4, there are 560 women
>>
>>   you mean 510, right?
>
> <SNIP>
>
> Sure looks like 560 to me.  Time for a trek to the optometrist, Ben?
>
>    cheers,
>
>        Rolf
>
>
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models




More information about the R-sig-mixed-models mailing list