AppliedMultiple choice
You have a uniform random number generator and need draws from a distribution with a known, invertible CDF . What do you do?
- ASet
- BSet
- CUse Box–Muller, which works for any distribution
- DAccept-reject against a uniform envelope
The worked solution is in Premium
The answer, the full working and the one idea to take away – for this and all 1,322 questions in the bank. Answer it in practice and your working is marked, with a known mistake named when you make one.
Reported in interviews at
More probability questions
- You simulate a fair seven-sided die by rolling a fair six-sided die twice and…Applied
- A coin lands heads with probability 0.6.Advanced
- You price by Monte Carlo using antithetic pairs whose payoffs correlate at −0.5.Advanced
- You estimate π by drawing points uniformly in the unit square and counting the…Expert
- The dragon with regrowing heads, part 1 of 3Foundation
- Two-state weather desk, part 1 of 3Foundation