RedX
- 963
- 3
I want to show that the binomial distribution:
P(m)=\frac{n!}{(n-m)!m!}p^m(1-p)^{n-m}
using Stirling's formula:
n!=n^n e^{-n} \sqrt{2\pi n}
reduces to the normal distribution:
P(m)=\frac{1}{\sqrt{2 \pi n}} \frac{1}{\sqrt{p(1-p)}}<br /> <br /> exp[-\frac{1}{2}\frac{(m-np)^2}{np(1-p)}]<br />
Unfortunately, I keep on getting an extra term linear in m-np:
exp[\frac{m-np}{2n}\frac{2p-1}{(1-p)p}]
This term is zero if p=1/2, but I want to show that the binomial distribution reduces to the normal distribution for any probablity p.
Has anyone else had this problem, as I'm sure this derivation is fairly common?
P(m)=\frac{n!}{(n-m)!m!}p^m(1-p)^{n-m}
using Stirling's formula:
n!=n^n e^{-n} \sqrt{2\pi n}
reduces to the normal distribution:
P(m)=\frac{1}{\sqrt{2 \pi n}} \frac{1}{\sqrt{p(1-p)}}<br /> <br /> exp[-\frac{1}{2}\frac{(m-np)^2}{np(1-p)}]<br />
Unfortunately, I keep on getting an extra term linear in m-np:
exp[\frac{m-np}{2n}\frac{2p-1}{(1-p)p}]
This term is zero if p=1/2, but I want to show that the binomial distribution reduces to the normal distribution for any probablity p.
Has anyone else had this problem, as I'm sure this derivation is fairly common?