ArticleslgStudy

mathematics

Binomial test

Binomial test is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Binomial test rather than just read about it. In short: Binomial test is an exact test of the statistical significance of deviations from a theoretically expected distribution of observations into two categories using sample data. Usage A binomial test is a statistical hypothesis test used to determine whether the proportion of successes in a sample differs from an expected proportion in a binomial distribution.

Key takeaways

  • Binomial test belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Binomial test to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Binomial test from memory before moving on to harder problems.

Reference excerpt

Binomial test is an exact test of the statistical significance of deviations from a theoretically expected distribution of observations into two categories using sample data.

Usage A binomial test is a statistical hypothesis test used to determine whether the proportion of successes in a sample differs from an expected proportion in a binomial distribution. It is useful for situations when there are two possible outcomes (e.g., success/failure, yes/no, heads/tails), i.e., where repeated experiments produce binary data. If one assumes an underlying probability π0 between 0 and 1, the null hypothesis is

H0:π=π0 For a sample of size n, we would expect nπ0 successes. The formula of the binomial distribution gives the probability of those n samples instead producing k successes:

Pr⁡(X=k)=(nk)π0k(1−π0)n−k Suppose that we want to test the alternative hypothesis

HA:π<π0 i.e., we suspect that the actual probability of success is lower than π0. Then the p-value of our experiment would be computed using a one-tailed test; specifically, we compute the probability of seeing an outcome as extreme as, or more extreme (i.e., less likely), than k (where k is defined as the number of successes in the n trials of our experiment):

p=∑i=0kPr⁡(X=i)=∑i=0k(ni)π0i(1−π0)n−i An analogous computation can be done if we're testing if π>π0 using the summation of the range from k to n instead. Calculating a p-value for a two-tailed test is slightly more complicated, since a binomial distribution isn't symmetric if π0≠0.5. This means that we can't just double the p-value from the one-tailed test. Recall that we want to consider events that are as extreme, or more extreme, than the one we've seen, so we should consider the probability that we would see an event that is as, or less, likely than X=k. Let ℐ={i:Pr⁡(X=i)≤Pr⁡(X=k)} denote all such events. Then the two-tailed p-value is calculated as,

p=∑i∈ℐPr⁡(X=i)=∑i∈ℐ(ni)π0i(1−π0)n−i

Common use One common use of the binomial test is the case where the null hypothesizes that two categories occur with equal frequency (H0:π=0.5), such as a coin toss. Tables are widely available to give the significance observed numbers of observations in the categories for this case. However, as the example below shows, the binomial test is not restricted to this case. When there are more than two categories, and an exact test is required, the multinomial test, based on the multinomial distribution, must be used instead of the binomial test. Most common measures of effect size for Binomial tests are Cohen's h or Cohen's g.

Large samples For large samples such as the example below, the binomial distribution is well approximated by convenient continuous distributions, and these are used as the basis for alternative tests that are much quicker to compute, such as Pearson's chi-squared test and the G-test. However, for small samples these approximations break down, and there is no alternative to the binomial test. The most usual (and easiest) approximation is through the standard normal distribution, in which a z-test is performed of the test statistic Z, given by

Z=k−nπnπ(1−π) where k is the number of successes observed in a sample of size n and π is the probability of success according to the null hypothesis. An improvement on this approximation is possible by introducing a continuity correction:

Z=k−nπ±12nπ(1−π) For very large n, this continuity correction will be unimportant, but for intermediate values, where the exact binomial test doesn't work, it will yield a substantially more accurate result. In notation in terms of a measured sample proportion p̂, null hypothesis for the proportion p0, and sample size n, where p̂=k/n and p0=π, one may rearrange and write the z-test above as

Z=p̂−p0p0(1−p0)n by dividing by n in both numerator and denominator, which is a form that may be more familiar to some readers.

Example Suppose we have a board game that depends on the roll of one die and attaches special importance to rolling a 6. In a particular game, the die is rolled 235 times, and 6 comes up 51 times. If the die is fair, we would expect 6 to come up

235×1/6=39.17 times. We have now observed that the number of 6s is higher than what we would expect on average by pure chance had the die been a fair one. But, is the number significantly high enough for us to conclude anything about the fairness of the die? This question can be answered by the binomial test. Our null hypothesis would be that the die is fair (probability of each number coming up on the die is 1/6). To find an answer to this question using the binomial test, we use the binomial distribution

B(N=235,p=1/6) with pmf f(k,n,p)=Pr⁡(k;n,p)=Pr⁡(X=k)=(nk)pk(1−p)n−k . As we have observed a value greater than the expected value, we could consider the probability of observing 51 6s or higher under the null, which would constitute a one-tailed test (here we are basically testing whether this die is biased towards generating more 6s than expected). In order to calculate the probability of 51 or more 6s in a sample of 235 under the null hypothesis we add up the probabilities of getting exactly 51 6s, exactly 52 6s, and so on up to probability of getting exactly 235 6s:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Binomial test

Start with the simplest possible case. Write down what Binomial test claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Binomial test before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Binomial test ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Binomial test

In research
Binomial test appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Binomial test in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Binomial test is common in secondary-school and first-year university syllabi. It links to neighbouring topics Statistical tests, so understanding it makes those chapters shorter.
In everyday life
Look for Binomial test outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Binomial test” →

How to study Binomial test in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Binomial test means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Binomial test out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Binomial test in simple terms?

Binomial test is an exact test of the statistical significance of deviations from a theoretically expected distribution of observations into two categories using sample data. Usage A binomial test is a statistical hypothesis test used to determine whether the proportion of successes in a sample dif…

Why does Binomial test matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Binomial test?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Binomial test.

Tags

  • Statistical tests

Keep exploring