In: Statistics and Probability
Problem 2. Hypothesis test between two coins
I have two coins, A and B. For each coin I have a sample of the results I get by tossing it. My null hypothesis is that A has equal or higher probability to land on HEAD than B, but that probability is unknown (as well as B's probability).
It seems to me that a simple t-test won't work - A coin toss is Bernoulli distributed, and not normally distributed. I thought about dividing each sample to sub-samples, consider the ratio of HEADs in each subsample as a random variable that is distributed approximately like a normal variable, and then use t-test.
Thus, for the given samples we can use t test to test this hypothesis.