 variates are needed, as in survival analysis
when a time of death is censored beyond the end of the observations.
To generate a truncated random variate, the cumulative distribution is
used to find the truncation point in the inverse CDF, a uniform
variate is generated in range, and then the inverse CDF translates it
back.</p>
<div id="truncating-below" class="section level4 unnumbered">
<h4>Truncating below</h4>
<p>For example, the following code generates a <span class="math inline">\(\mathsf{Weibull}(\a