I read in one of the textbooks that for ungrouped binary data the dispersion parameter should always be $\phi = 1$.
Do you know why it is the case?
I read in one of the textbooks that for ungrouped binary data the dispersion parameter should always be $\phi = 1$.
Do you know why it is the case?
Suppose $Y$ is a binary random variable that takes value 1 with probability $p$ and 0 with probability $1-p$.
Then $$E(Y)=0(1-p)+1p=p$$ and $$\mbox{var}(Y)=E(Y^2)-E(Y)^2=0^2(1-p)+1^2p-p^2=p(1-p).$$
This shows that the variance of $Y$ is a function of the mean, i.e., the variance is completely determined by the mean. Hence there are no unknown parameters to estimate and there cannot be any overdispersion or underdispersion.