Question about proportion data in binomial glmm
Dear Robert, IMHO you should remove the cbind(0, 0) before fitting the model. There is no reason to keep them in the dataset. Best regards, ir. Thierry Onkelinx Statisticus / Statistician Vlaamse Overheid / Government of Flanders INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND FOREST Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance thierry.onkelinx at inbo.be Havenlaan 88 bus 73, 1000 Brussel www.inbo.be /////////////////////////////////////////////////////////////////////////////////////////// To call in the statistician after the experiment is done may be no more than asking him to perform a post-mortem examination: he may be able to say what the experiment died of. ~ Sir Ronald Aylmer Fisher The plural of anecdote is not data. ~ Roger Brinner The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. ~ John Tukey /////////////////////////////////////////////////////////////////////////////////////////// <https://www.inbo.be> Op vr 24 mrt 2023 om 02:39 schreef rtfiner <rtfiner at gmail.com>:
I have a question about how glmmtmb handles proportion data for the
purposes of a binomial glmm.
I combined my success and failure count data into a matrix using cbind(),
and used that as my response in my binomial glmm using glmmtmb.
However, despite there being a few instances of zero counts in both columns
and therefore an undefined proportion, the model doesn't seem to drop these
rows from my data set.
I don't get any errors or warnings when running the model, but I worry my
results might be biased because of this.
My question is: Is glmmtmb doing something like adding a tiny amount to
each value of my response in order to avoid dealing with undefined
proportion data?
Thank you for your help,
Robert
[[alternative HTML version deleted]]
_______________________________________________ R-sig-mixed-models at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models