For example, lets say I'd like to fit a binomial GLM to predict D, the number of deaths in a hospital on a given day, where n is the number of patients, and p is the probability a patient dies.
What I'm really interested in is the value of p. It seems this is what R tries to model when fitting a binomial GLM anyway..?
What I'd like to know is whether it makes any sense to pass n as explanatory variable into our binomial GLM for D? (eg it may be that as n increases, the hospital's facilities are more stretched and p, the probability of dying, increases). My hunch is that in this case maybe a binomial model shouldn't be used at all?
Any help appreciated, thanks.