We have to create confidence intervals for a certain probability p of n i.i.d Bernoulli random variables (Xn) that can take only two specific values {red,blue}. The confidence interval must be exponentially high.
The thing is, I'm positive you can approach the problem with Hoeffeding's inequality, however I'm not sure how to plug in those "red",blue" values.
Any ideas?