Inverse transform sampling
= Inverse transform sampling
{wiki}
= Method of inversion
{synonym}
If $U$ is uniform on $[0,1]$, then $F^{-1}(U)$ has distribution function $F$. Indeed, right continuity gives
$$
F^{-1}(p)\leq t\quad\Longleftrightarrow\quad p\leq F(t)
$$
apart from irrelevant endpoint cases.