The binomial test
2025-11-12
A proportion is the fraction of individuals having a particular attribute. i.e. # successes divided by # trials
A proportion is also the probability that any an individual randomly sampled from that population will have that attribute
Researchers found that 6101 of the 9821 slices of toast thrown in the air landed butter side down. What proportion of the slices landed butter side down? Is the deck stacked against us?
How would you test this?
Let’s use this estimated proportion as our best estimate for the true probability of landing butter side down. To make the math a little easier, let’s assume that the true probability that toast falls butter side down is 60%.
Question: If three people drop their slice of toast, what is the probability that one falls butter side down and two fall butter side up?
HINT: Draw trees… Work on this for a few minutes
First, draw a tree
Then, work out probabilities
Finally, count the ways to get the desired outcome
Add up probabilities
\(3 \times (2/5\times 2/5\times 3/5)=0.288\)
B215: Biostatistics with R