Skip to content

Commit

Permalink
v0.2.20
Browse files Browse the repository at this point in the history
  • Loading branch information
yh202109 committed Jul 13, 2024
1 parent 9ac1622 commit eaa7412
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/statlab_corr_spearman_rho.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ More Details
Assume that :math:`Y_{i1} \sim \mathcal{D}`.
For continuous :math:`Y_{i1}`, if we can assume that :math:`P(S_{i1}=0)=1`,
then :eq:`eq_rank` can be simplified as :math:`R_{i1} = S_{i1}`.
For a given sample size :math:`n`, and :math:`r \in \{1, \ldots, n\}`, the PMF of :math:`R_{i1}` is
:math:`P(R_{i1} = r) = \frac{1}{n}`, which does not depend on :math:`\mathcal{D}` [4]_.
For a given sample size :math:`n`, and :math:`r \in \{1, \ldots, n\}`, the pmf of :math:`R_{i1}` is
:math:`P(R_{i1} = r) = \frac{1}{n}`, which does not depend on :math:`r` or :math:`\mathcal{D}` [4]_.


*************
Expand Down
2 changes: 1 addition & 1 deletion mtbp3/health/ectd.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def find_section_given_words(self, words, outfmt='simple', include='up', to_righ
if include not in ['up', 'both']:
raise ValueError("Invalid value for include. Supported values are 'up' and 'both'.")

out = [row for row in self.ctoc if words in row]
out = [row for row in self.ctoc if words.lower() in row.lower()]
if outfmt == 'simple':
return out
elif outfmt == 'tree':
Expand Down

0 comments on commit eaa7412

Please sign in to comment.