Which Pile Did the Timestamp Come From?
Problem statement
A system generates timestamps. Imagine a pool of $10^{9}$ timestamps that are 'random' in the sense that their sub-second fractional part is essentially uniformly distributed. Into this pool you toss $10$ special timestamps that land exactly on a whole second (zero fractional part).
You now draw one timestamp uniformly at random from the combined pool and observe that it lands exactly on a whole second. What is the probability that it is one of the $10$ special timestamps you added, rather than a random one that happened to land on a whole second?
Assume the fractional part of a timestamp is recorded to $8$ decimal places, so a random timestamp lands exactly on a whole second with probability $10^{-8}$.
Show hint
Which ingredients does Bayes' rule need here, and where in the statement does each one come from?
Relevant roles: Data Scientist, Applied Scientist and ML Engineer.