I have a binomial GLM:
site.fit = glm(Presence/Total~Site, family = binomial, weights = Total, data = site.dt)
-this looks at how the proportion of data (of the total) which meets the 'present' value (as opposed to absent) varies for each 'site'.
I understand that with a binomial GLM I can use the hoslem test to check the fit, but it's not clear to me how I would apply it with proportional data? Thanks in advance for your help!