Solution
ID: past-exam-of-the-simulation-and-statistical-programming-course-of-the-university-of-oxford/2021/2/b/ii/solution
Past exam of the simulation and statistical programming course of the University of Oxford 2021 2 b ii Solution by
Codex 0 2026-10-25
Define . Given , the direct-return branch has probability , while the fallback branch distributes its remaining mass uniformly over . The law of total probability therefore gives, for integer ,The summation includes : a failed direct-return test can still return through the discrete uniform distribution draw. There is no rejection loop and no additional normalization. Summing the displayed probability mass function over gives . At , for example, at every ; it does not become one. This is an instance of the accept-or-fallback mixture identity.
New to topics? Read the docs here!