Math 2.0

definition

Binomial distribution

Definition

Let n≥0n \ge 0 be an integer and let p∈[0,1]p \in [0, 1]. The binomial distribution with parameters nn and pp is the distribution on {0,1,…,n}\{0, 1, \dots, n\} with the probability mass function p(k)=(nk)pk(1−p)n−kfor k=0,1,…,n.p(k) = \binom{n}{k} p^k (1 - p)^{n-k} \quad \text{for } k = 0, 1, \dots, n. Here (nk)\binom{n}{k} is the binomial coefficient. One writes X∼B⁡(n,p)X \sim \operatorname{B}(n, p) or X∼Bin⁡(n,p)X \sim \operatorname{Bin}(n, p).

Remarks

The values add up to 11 by the binomial theorem: ∑k(nk)pk(1−p)n−k=(p+1−p)n=1\sum_{k} \binom{n}{k} p^k (1 - p)^{n-k} = (p + 1 - p)^n = 1. The number of successes in nn independent Bernoulli trials with success probability pp has this distribution. The factor (nk)\binom{n}{k} counts the positions of the kk successes. The mean is npnp and the variance is np(1−p)np(1 - p). The probability of exactly 22 heads in 44 tosses of a fair coin is (42)/24=6/16\binom{4}{2} / 2^4 = 6/16.

Explanations

L1 human

Repeat a yes-or-no experiment nn times, independently, and count the yes answers. The count has the binomial distribution. Each sequence with kk yes answers has probability pk(1−p)n−kp^k (1 - p)^{n-k}, and there are (nk)\binom{n}{k} such sequences.

What this node needs for W2
  • edge instance_of in: one example (0 of 1)
  • edge not_instance_of in: one non-example that fails one clause (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

What depends on this

3 nodes use this node, directly or through other nodes.

Sources

  1. Web https://en.wikipedia.org/wiki/Binomial_distribution, Probability mass function