Skip to content

Commit

Permalink
fix: Improve formatting of a couple docstrings.
Browse files Browse the repository at this point in the history
  • Loading branch information
scanny committed Jun 10, 2020
1 parent 56dce07 commit aa0a98f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/cr/cube/measures/pairwise_significance.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ def _scale_mean_pairwise_indices(self):


class _ColumnPairwiseSignificance(object):
"""Value object providing matrix of T-score based pairwise-comparison
P-values"""
"""Value object providing matrix of T-score based pairwise-comparison P-values"""

def __init__(self, slice_, col_idx, alpha=0.05, only_larger=True):
self._slice = slice_
Expand Down Expand Up @@ -149,8 +148,7 @@ def t_stats(self):

@lazyproperty
def t_stats_correct(self):
"""It returns the t_statistic for MR variables considering the overlaps
"""
"""It returns the t_statistic for MR variables considering the overlaps"""
diff, se_diff = self._slice.overlaps_tstats
t_stats = diff[:, self._col_idx, :] / se_diff[:, self._col_idx, :]
t_stats[:, self._col_idx] = 0
Expand Down

0 comments on commit aa0a98f

Please sign in to comment.