From cc295b5da8e3db4417523a507caf106d5839d989 Mon Sep 17 00:00:00 2001 From: Prefetch Date: Wed, 2 Jun 2021 13:28:53 +0200 Subject: Introduce collapsible proofs to some articles --- .../know/concept/binomial-distribution/index.pdc | 72 +++++++++++++++------- 1 file changed, 49 insertions(+), 23 deletions(-) (limited to 'content/know/concept/binomial-distribution') diff --git a/content/know/concept/binomial-distribution/index.pdc b/content/know/concept/binomial-distribution/index.pdc index 70cc897..e644164 100644 --- a/content/know/concept/binomial-distribution/index.pdc +++ b/content/know/concept/binomial-distribution/index.pdc @@ -22,7 +22,7 @@ that $n$ out of the $N$ trials succeed: $$\begin{aligned} \boxed{ - P_N(n) = \binom{N}{n} \: p^n (1 - p)^{N - n} + P_N(n) = \binom{N}{n} \: p^n q^{N - n} } \end{aligned}$$ @@ -41,8 +41,20 @@ $$\begin{aligned} The remaining factor $p^n (1 - p)^{N - n}$ is then just the probability of attaining each microstate. -To find the mean number of successes $\mu$, -the trick is to treat $p$ and $q$ as independent: +The expected or mean number of successes $\mu$ after $N$ trials is as follows: + +$$\begin{aligned} + \boxed{ + \mu = N p + } +\end{aligned}$$ + +
+ + + +
+ +Meanwhile, we find the following variance $\sigma^2$, +with $\sigma$ being the standard deviation: $$\begin{aligned} \boxed{ - \mu = N p + \sigma^2 = N p q } \end{aligned}$$ -Next, we use the same trick to calculate $\overline{n^2}$ -(the mean of the squared number of successes): +
+ + + +
+ +As $N \to \infty$, the binomial distribution +turns into the continuous normal distribution: $$\begin{aligned} \boxed{ - \sigma^2 = N p q + \lim_{N \to \infty} P_N(n) = \frac{1}{\sqrt{2 \pi \sigma^2}} \exp\!\Big(\!-\!\frac{(n - \mu)^2}{2 \sigma^2} \Big) } \end{aligned}$$ -As $N$ grows to infinity, the binomial distribution -turns into the continuous normal distribution. -We demonstrate this by taking the Taylor expansion of its -natural logarithm $\ln\!\big(P_N(n)\big)$ around the mean $\mu = Np$: +
+ + + +
## References -- cgit v1.2.3