When trying to use the aodml funciton to fit a beta-binomial distribution GLM with my own data I get a warning message, stating that there are NaNs produced. When I tried to run the same function with the dataset given in the example of the aods3 package I get the same warning messages.
Code:
library(aods3)
data(orob2)
fm1<-aodml(cbind(m, n-m)~seed, data=orob2, family="bb")
Warning messages:
1: In lbeta(a, b): NaNs produced
I have an inkling that the warning is caused by the cbind(m, n-m) but I don't know why or how? Any ideas, especially strange since this is happening with the example data? Am I missing something here?