View Single Post
Old 04-19-2012, 03:10 PM
htlin's Avatar
htlin htlin is offline
Join Date: Aug 2009
Location: Taipei, Taiwan
Posts: 601
Default Re: Hoeffding's inequality

Originally Posted by goodnight View Post
Hi All,

I'm not sure that I'm understand the Hoeffding's inequality.

I'm quite confused to be honest.
Could you please check that my examples are correct or not?

1) There is a gallup-poll company and this company measures that the citizens wants to participate on the elections or not.

They want to ask 2000 persons, and they choose an epsilon = 0.03.
Can I use Hoeffding's inequality for this issue at all?
2*exp(-2*0.03*0.03*2000) = 0.0546. Does it mean that they have 5% chance that their poll will close to the reality with an error of 3%?

If it's true, I'm very confused. Because it's also true in the US and in Monaco. In Monaco they asked every 2nd person, but in the USA they asked only very few persent of the population!

2) If we stay with the example of the bins:
It doesn't matter how many balls are there in the bin. It gives us an upper bound of the ratio of the red and green balls regarding the sample.
The thing which confuse me that the bin can have 100 balls or a million, sampling 10 balls we have the same upper bound to estimate the real distribution of the balls! I guess I don't understand something because it seems impossible.
In all the cases you mention, Hoeffding can be applied (if the sampling is done randomly). Hoeffding with replacement (put the ball back) and Hoeffding without replacement (never ask the same person) are slightly different, but similar in nature.

What Hoeffding guarantees is the worst case without considering the total number. When the size of the bin is smaller, you can surely get a bound that is tighter than Hoeffding without replacement. For instance, if you have 1000 balls and draw 1000 examples without replacement, you have zero chance to be any different.

Hope this helps.
When one teaches, two learn.
Reply With Quote