Binomial random variables #
This file defines the binomial distribution and binomial random variables, and computes their expectation and variance.
Main definitions #
ProbabilityTheory.binomial: Binomial distribution on an arbitrary semiring with parametersnandp.
Notation #
Bin(n, p) is the binomial distribution with parameters n and p in ℕ.
Bin(R, n, p) is the binomial distribution with parameters n and p in R.
The binomial probability distribution with parameter p.
Equations
Instances For
The binomial probability distribution with parameter p.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The binomial probability distribution with parameter p valued in the semiring R.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
ProbabilityTheory.ae_le_of_hasLaw_binomial
{Ω : Type u_2}
{m : MeasurableSpace Ω}
{P : MeasureTheory.Measure Ω}
{n : ℕ}
{p : ↑unitInterval}
{X : Ω → ℕ}
(hX : HasLaw X (binomial n p) P)
: