1001Ferramentas
🎲Calculators

Binomial Distribution

Compute P(X = k) and P(X ≤ k) in binomial distribution B(n, p).

Binomial distribution

The binomial distribution tells you how likely you are to get exactly k successes across n independent Bernoulli trials, each one succeeding with probability p: P(X = k) = C(n,k) · p^k · (1−p)^(n−k), where C(n,k) is the binomial coefficient "n choose k". The mean is μ = n·p and the variance is σ² = n·p·(1−p). Say you flip a fair coin 10 times. The chance of landing exactly 7 heads is C(10,7) · 0.5⁷ · 0.5³ ≈ 0.117, or 11.7%. Once n gets large and both np and n(1−p) clear 5, a Normal(np, np(1−p)) approximates it well, which is the Central Limit Theorem at work.

Applications

Think A/B testing on conversion rates, pass-or-fail counts in exams and selection processes, quality control on defects in a batch, Mendelian inheritance proportions in genetics, opinion polls and the confidence intervals built around proportions, reliability engineering when you want the odds of k failures among n components, and clinical trials measuring response to treatment.

FAQ

When does the binomial model not apply? Two cases break it. One is dependent trials, like sampling without replacement from a small population, where you should switch to the hypergeometric. The other is when p drifts from trial to trial.

Binomial or Poisson? Reach for Poisson when n is very large and p is very small while np stays moderate, the classic rare-event setup. In that regime Poisson tracks the binomial closely.

What's P(X ≤ k)? That is the cumulative distribution, the sum of P(X = i) for i running from 0 to k. You use it to answer "probability of at most k successes".

Related Tools

🪙

Exact Binomial Test

Computes the exact binomial test, which checks whether the observed proportion of successes is compatible with a hypothesized probability, without resorting to the normal approximation. For small samples, where the z-test fails, this is the correct test: it sums the exact probabilities, given by the binomial distribution, of all outcomes as likely or less likely than the observed one. For example: are 8 heads in 10 tosses compatible with a fair coin? Enter the successes, the total and the hypothesized probability.

🎲

Binomial Probability Calculator

Computes probability of exactly k successes in n independent trials with probability p using binomial coefficient combination formula.

🎯

Poisson Distribution

Compute P(X = k) and P(X ≤ k) in Poisson(λ).

🎲

Common-Language Effect Size (CLES)

Computes the common-language effect size (CLES), also called the probability of superiority. It's the most intuitive way to communicate a difference between groups: the probability that a value drawn from the first group is larger than a value drawn from the second. A CLES of 0.70 means that, in 70% of random comparisons, the first group wins. Ties count as half. It's the friendly version of Cliff's delta. Enter the two groups of values.

Sign Test (Paired)

Computes the sign test, the simplest and most robust paired test of all. It completely ignores the magnitude of the differences between pairs and looks only at the sign: how many times the value went up and how many it went down. Under the hypothesis of no effect, ups and downs should balance out, like heads and tails, and the p-value comes straight from a binomial distribution. Because it uses so little information, it's less powerful than Wilcoxon, but it makes almost no assumptions. Enter the two paired series.

🔔

Normal Distribution PDF/CDF

Compute Normal(μ, σ) PDF and CDF at a point.

The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.