 level2">
<h2><span class="header-section-number">18.10</span> Truncated Random Number Generation</h2>
<div id="generation-with-inverse-cdfs" class="section level3 unnumbered">
<h3>Generation with Inverse CDFs</h3>
<p>To generate random numbers, it is often sufficient to invert their
cumulative distribution functions. This is built into many of the
random number generators. For example, to generate a standard
logistic variate, first generate a uniform variate
<span class="math inline">\(u \sim \mathsf{Unifo