>n_patients</span><span class="p">)])</span>
        <span class="n">true_mean</span> <span class="o">=</span> <span class="n">true_median</span><span class="o">/</span><span class="n">np</span><span class="o">.</span><span class="n">log</span><span class="p">(</span><span class="mi">2</span><span class="p">)</span>
        <span class="n">event_times</span> <span class="o">=</span> <span class="n">expon</span><span class="p">(</span><span class="n">scale</span><span class="o">=</span><span class="n">true_m