Add difficulty level
This commit is contained in:
parent
1be7effea7
commit
77dc7a6da2
@ -949,7 +949,7 @@ the rows which only contain integers and which sum to n. (★★★)</p>
|
||||
<span class="keyword">print</span><span class="punctuation">(</span><span class="name">X</span><span class="punctuation">[</span><span class="name">M</span><span class="punctuation">])</span>
|
||||
</pre>
|
||||
</li>
|
||||
<li><p class="first">Compute bootstrapped 95% confidence intervals for the mean of a 1D array X (i.e., resample the elements of an array with replacement N times, compute the mean of each sample, and then compute percentiles over the means).</p>
|
||||
<li><p class="first">Compute bootstrapped 95% confidence intervals for the mean of a 1D array X (i.e., resample the elements of an array with replacement N times, compute the mean of each sample, and then compute percentiles over the means). (★★★)</p>
|
||||
</li>
|
||||
</ol>
|
||||
<blockquote>
|
||||
|
@ -1107,7 +1107,7 @@ Thanks to Michiaki Ariga, there is now a
|
||||
M &= (X.sum(axis=-1) == n)
|
||||
print(X[M])
|
||||
|
||||
#. Compute bootstrapped 95% confidence intervals for the mean of a 1D array X (i.e., resample the elements of an array with replacement N times, compute the mean of each sample, and then compute percentiles over the means).
|
||||
#. Compute bootstrapped 95% confidence intervals for the mean of a 1D array X (i.e., resample the elements of an array with replacement N times, compute the mean of each sample, and then compute percentiles over the means). (★★★)
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user