1
$\begingroup$

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?

$\endgroup$
3
  • $\begingroup$ See stats.stackexchange.com/questions/386675/… $\endgroup$ Commented Feb 4, 2022 at 9:21
  • $\begingroup$ @GordonSmyth In this link you have written that $var(y_i) = \mu_i(1-\mu_i)/w_i$. I suppose $1/w_i$ is the variance inflation factor. I wonder how did you conclude that "it is impossible for the variance to be anything other than $\mu_i(1−\mu_i)$". What is the logic behind this statement? $\endgroup$
    – shani
    Commented Feb 6, 2022 at 3:37
  • $\begingroup$ It is one line of mathematics. Try computing the variance for yourself and you will see. $\endgroup$ Commented Feb 6, 2022 at 5:23

1 Answer 1

4
$\begingroup$

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.

$\endgroup$
3
  • $\begingroup$ So, in the case of the binomial distribution, the variance depends on $n$ and $p$, so that overdispersion is a result of impact caused by $n$ and $p$? $\endgroup$
    – shani
    Commented Feb 6, 2022 at 8:17
  • 1
    $\begingroup$ @shani Overdispersion is caused by dependence. If $n>1$ and the trials are independent then the sum is binomial, i.e., not overdispersed. If the trials are positively dependent then the sum is over-dispersed relative to binomial. This is explained in the link I gave you in my comment above. If $n=1$ there is only one trial, so nothing to be correlated with, hence no overdispersion. $\endgroup$ Commented Feb 6, 2022 at 10:03
  • 1
    $\begingroup$ @shani The other way for overdispersion to arise is when there are $n>1$ trials and the trials are independent but the success probability is not constant from one trial to another. That will also lead to a variable that is overdispersed relative to binomial. Again, this cannot occur for $n=1$. In summary, the binomial distribution assumes $n$ independent trials with constant success probability. Failure of either of the assumptions (independence or constancy) can lead to overdispersion. Neither failure can occur when $n=1$. $\endgroup$ Commented Feb 6, 2022 at 10:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.