by srean · 8mo ago · 0 comments
If, for example, k=1 then N is likely small. On the other hand if k=n then N is likely large.
The most computer-sciencey way is to look at n at which you get a repeat, ah! a hash collision.
One can make these ideas more quantitative under assumptions about the numbers of each types of marbles.
The math of hashing, birthday paradox, coupon collection and hyperloglog are good places to start.
Then there are other ways. Two of you count the number of typos in a tedious text. One says N the other says n and out of them only k are common. From this you can estimate the likely number of typos in the text.
But TFA's estimate is perplexing because it is NOT a contrived scenario. We don't have marbles, we have some territory to cover. The territory isn't randomly distributed, we can't adequately randomly sample (presumably?).
It feels like the estimate could be wildly wildly off, in which case why estimate.
Regarding why estimate at all knowing they can be wrong ? Estimates are very useful for planning. Sophisticated models would also yield probabilities of over and underestimated, these combined with cost of over and underestimation errors are very useful for decision making.
See the German tank problem. Turns out the allied forces overestimated the number to f tanks left, still helped in planning.