0

Take the number $n$ of stages of a binomial variable $X \sim B (n, p)$ to be fixed, and allow $p$ to vary. $p$ is not the random variable of this binomial experiment - $X$ is - but "allow $p$ to vary" means "consider a binomial experiment $X \sim B (n, p)$ for different values of $p$". Then the question is... show that $\sigma^2 < np $ and $ \sigma^2 < nq$

I got that $$ \begin{split} \sigma^2 &= npq \\ &= np(1-p)\\ &= n(p-p^2)\\ &= -p^2 n + pn \end{split} $$ where I use the binomial distribution formula for variance (SD squared). And I was hoping some graphical method of solving the above problem would emerge but all I can think of drawing the line np and then establishing with calculus somehow that the curve always has lower gradient than line n=p as p approaches 1. I s there any other more obvious way?

and this looked like a graph enter image description here

which is symmetric about $p = 1/2$

  • This is not clear. What does it mean to say that $\sigma^2<np$ if $p$ is a random variable? And how can you hope to say much about the process if the distribution for $p$ is unknown? – lulu Jan 02 '24 at 00:11
  • Please edit your post for clarity. Note that if $p$ is fixed, then the claim is clear (well, assuming that $p\neq 0,1$). Indeed $\sigma^2=npq$ and both $p,q$ are between $0$ and $1$. As I said, if $p$ is a random variable, then I don't understand what you are asking. – lulu Jan 02 '24 at 00:22
  • where did I say p is a random variable? – moon river Jan 02 '24 at 00:36
  • When you said that $p$ was allowed to vary. As I mentioned, if $p$ is fixed (and is assumed to be neither $0$ nor $1$) the question is trivial. $npq<np$ since $0<q<1$ and so on. – lulu Jan 02 '24 at 00:36

1 Answers1

0

We want to show that given $X \thicksim \operatorname{Bin}(n,p)$ for fixed $n$, that $\sigma^2 < np$ and $\sigma^2 < nq$ when $q = 1 - p$. Presuably here, $\sigma^2 = \operatorname{Var}(X) = npq$. This is less than both $np$ and $nq$, since $p, q < 1$. Multiplying any number by a number less than one would reduce it, so it trivially follows.

A graphical method of solving the problem would show that a graph of $p(1-p)$ is below $p$ and $(1-p)$ for any value of $0 < p < 1$. For example: Example graphic for whatever reason Clearly shows that the equalities follow (simply divide by $n$ to obtain them). But this is an overly complex way of showing it, and it's much easier to do the first. I'm actually not convinced anyone would accept this.

Calculus wise, we seek to prove that for $f(x) = x(1-x) = x - x^2$, $g(x) = x$, and $h(x) = 1-x$, that $f(x) < g(x)$ and $f(x) < h(x)$, $x \in (0,1)$. $f'(x) = 1 - x$, while $g'(x) = 1$. Then, it is clear that since $f(0) = g(0) = 0$, $f(x) < g(x)$ for all $x \in (0,1)$. Next, since $h(0) = 1$, we want to find the intersection of the two functions, by: $$f(x) = h(x) \\ x - x^2 = 1 - x \\ 0 = x^2 - 2x + 1 \\ 0 = (x-1)(x-1)$$ And the intersection is at $1$, so our inequality holds. These are silly ways of solving it though, since it follows trivially from the first proof.