Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

suppose $X$ has the Binomial distribution with parameters $n,p$ . how can show that if $((n+1)p)$ is integer then $X$ has two mode that is $((n+1)p)$ or $((n+1)p-1)?$

share|improve this question
    
Hint: compute the ratio $b(n,p;k+1)/b(n,p;k)$ and check that this ratio is $\gt1$ for every $k\lt k^*$ and $\leqslant1$ for every $k\geqslant k^*$, for some integer $k^*$. –  Did Mar 8 '12 at 16:27
    
Does your acceptance rate mean that you were satisfied by none of the answers you received on the site? –  Did Mar 8 '12 at 16:29

1 Answer 1

up vote 2 down vote accepted

Let $a_k=P(X=k)$. We have $$a_k=\binom{n}{k}p^kq^{n-k},\qquad\text{and}\qquad \binom{n}{k+1}p^{k+1}q^{n-k- 1},$$ where as usual $q=1-p$. We calculate the ratio $\dfrac{a_{k+1}}{a_k}$. Note that $$\frac{\binom{n}{k+1}}{\binom{n}{k}}$$ simplifies to $$\frac{n-k}{k+1},$$ and therefore $$\frac{a_{k+1}}{a_k}=\frac{n-k}{k+1}\frac{p}{q}=\frac{n-k}{k+1}\frac{p}{1-p}.$$ This is $\ge 1$ if $k \le np+p-1$. Thus if $k< np-p+1$, then $a_{k+1}>a_k$, and if $k>np-p+1$, then $a_{k+1}<a_k$.

The calculation (almost) says that we have equality of two consecutive probabilities precisely if $a_{k+1}=a_k$, that is, if $k=np+p-1$. Note that $k=np+p-1$ implies that $np+p-1$ is an integer.

So unless $k=np+p-1$, there is a single mode, and if $k=np+p-1$ there are two modes, at $np+p-1$ and at $np+p$.

Not quite! We have been a little casual in our algebra. We have not paid attention to whether we might be multiplying or dividing by $0$. We also have casually accepted what the algebra seems to say, without doing a reality check.

Suppose that $p=0$. Then $np+p-1$ is an integer, namely $-1$. But whatever $n$ is, there is a single mode, namely $k=0$. In all other situations where $np+p-1$ is an integer, the $k$ we have identified is non-negative.

However, suppose that $p=1$. Again, $np+p-1$ is an integer, and again there is no double mode. The largest $a_k$ occurs at one place only, namely $k=n$, since $np+p$ is in this case beyond our range.

That completes the analysis when $np+p-1$ is an integer. When it is not, the analysis is simple. There is a single mode, at $\lfloor np+p\rfloor$.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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