Binomial Distribution
Slud's inequality converts a specified binomial probability into a normal-tail lower bound.
Try it: Binomial Distribution from Bernoulli Trials
A binomial variable counts the successes in n independent Bernoulli(p) trials: Pascal's triangle counts the trial sequences with k successes, , and a seeded simulation of many runs lands on that PMF.
How it works
- One run: n independent trials, each a success with probability p; X is the number of successes.
- Pascal's rule C(r, k) = C(r − 1, k − 1) + C(r − 1, k) counts the success/failure paths that end with k successes.
- Every such path has probability , so .
- Mean np and variance np(1 − p), checked against Σ k·P(X = k).
- Repeat the n trials many times (seeded) and overlay the observed frequencies on the exact PMF.
Default run (35 steps): X ~ Binomial(n = 10, p = 0.3): X counts the successes in 10 independent Bernoulli(0.3) trials, so X can be 0, 1, …, 10. … 200 runs: simulated mean 2.98 vs np = 3, simulated variance 2.11 vs np(1 − p) = 2.1. Largest gap is at k = 5: 0.16 simulated vs 0.103 exact.
Simplified: n ≤ 20, p in steps of 0.01, up to 1,000 simulated runs from a seeded pseudo-random generator (mulberry32), so a seed always gives the same runs.
Loading the simulation…
From Trials to a Count
A binomial variable counts successes across independent Bernoulli trials. Each Bernoulli trial represents a success-or-failure experiment, and the binomial count is formed by adding the individual trial variables. The independence condition matters because the trials must be independent of one another for this construction.
A binomial variable is the sum of independent Bernoulli trials. The resulting value records how many successes occur across those trials.
Slud's Parameter Condition
Slud's inequality is used to convert a specified binomial probability into a lower bound involving a normal-tail probability. The parameter relationship required in this section is p = (1 − ε) / 2. Before applying the inequality, check that the binomial parameter p has this relationship to ε.
The inequality has two conceptual stages. First, identify the binomial probability of interest and verify the relationship between p and ε. Second, replace that specified probability with a lower-bound expression involving a normal tail. The source material states this conversion but does not specify a particular event, threshold, or expanded normal-tail formula, so those details must come from the exact version of Slud's inequality being used.
Parameter Substitution
Checking the Slud Relationship
Suppose ε = 0.2. Determine the value of p required by the parameter relationship used in Slud's inequality.
- 1Write the relationship
Use p = (1 − ε) / 2.
- 2Substitute ε
Replace ε with 0.2, giving p = (1 − 0.2) / 2.
- 3Simplify
The required value is p = 0.4.
- 4Interpret the result
A binomial probability associated with this p value satisfies the stated parameter relationship. The exact event and normal-tail expression still depend on the specific statement of Slud's inequality being applied.
For ε = 0.2, the required binomial parameter is p = 0.4.
- 1Identify the binomial probability that the problem asks about.
- 2Check the required relationship p = (1 − ε) / 2.
- 3Insert the specified event and parameters into the stated version of Slud's inequality.
- 4Read the resulting normal-tail expression as a lower bound for the original binomial probability.
A Different Construction: χ2
A χ2 variable is constructed differently from a binomial variable. Instead of adding Bernoulli success-or-failure trials, form the squares of independent standard normal variables and add those squared values together.
A χ2 variable with k degrees of freedom is the sum of k squared independent standard normal variables.
The number of squared terms determines the degrees of freedom. With k squared independent standard-normal terms, the χ2 variable has k degrees of freedom and mean k.
Common Interpretation Errors
Common mistake Treating a binomial variable as a single trial.
What it looks likeCalling one success-or-failure variable the entire binomial count.
Why it failsA binomial variable counts successes across a collection of independent Bernoulli trials.
Do this insteadDescribe the binomial variable as the sum of the individual independent trials.
Common mistake Forgetting the condition p = (1 − ε) / 2 when discussing Slud's inequality.
What it looks likeApplying the comparison without checking how p and ε are related.
Why it failsThe stated parameter relationship is a required condition for the inequality in this section.
Do this insteadVerify the relationship before converting the specified binomial probability into a normal-tail lower bound.
Common mistake Confusing the binomial construction with the χ2 construction.
What it looks likeDescribing a χ2 variable as a count of successes.
Why it failsA χ2 variable is formed by summing squared independent standard normal variables.
Do this insteadTrack both the source variables and the operation: standard normals are squared, then the squares are added.
Common mistake Using the number of normal variables as an unrelated label.
What it looks likeSaying that k degrees of freedom does not affect the mean.
Why it failsThe number of squared terms is k, and the mean of the resulting χ2 variable is k.
Do this insteadConnect the number of squared terms, the degrees of freedom, and the mean.
Practice Check
A binomial variable uses a parameter p and Slud's inequality requires p = (1 − ε) / 2. If p = 0.3, determine ε. Then describe how a specified probability for this binomial variable is transformed by Slud's inequality.
Hints
- Start with 0.3 = (1 − ε) / 2.
- After finding ε, state the conversion in words: the binomial probability becomes a lower bound involving a normal tail.
- Do not invent a threshold or a more detailed tail formula unless it is supplied by the specific version of the inequality.
Suppose a χ2 variable is formed from k squared independent standard normal variables. What are its degrees of freedom and its mean?
Hints
- Count the squared terms.
- The number of squared terms is also the number of degrees of freedom.
- The mean equals that same number k.
Key Takeaways
- 1A binomial variable is a count formed by summing independent Bernoulli trials.
- 2Slud's inequality requires the relationship p = (1 − ε) / 2.
- 3The inequality converts a specified binomial probability into a normal-tail lower bound.
- 4A χ2 variable is formed by summing squared independent standard normal variables.
- 5With k squared terms, the χ2 variable has k degrees of freedom and mean k.
At a glance
- A binomial variable counts successes by summing independent Bernoulli trials.
- The parameter relationship in Slud's inequality is p = (1 − ε) / 2.
- Slud's inequality supplies a normal-tail lower bound for a specified binomial probability.
- A χ2 variable is the sum of squared independent standard normal variables.
- A χ2 variable with k degrees of freedom has mean k.