Skip to content

Commit 77d93c3

Browse files
committed
docstring cleanup
1 parent 33a203f commit 77d93c3

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

statsmodels/stats/contingency_tables.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ class StratifiedTable(object):
916916
An estimate of the pooled log odds ratio. This is the
917917
Mantel-Haenszel estimate of an odds ratio that is common to
918918
all the tables.
919-
log_oddsratio_se : float
919+
logodds_pooled_se : float
920920
The estimated standard error of the pooled log odds ratio,
921921
following Robins, Breslow and Greenland (Biometrics
922922
42:311-323).
@@ -1058,20 +1058,15 @@ def test_null_odds(self, correction=False):
10581058

10591059
@cache_readonly
10601060
def oddsratio_pooled(self):
1061-
# doc for cached attributes in init above
1062-
10631061
odds_ratio = np.sum(self._ad / self._n) / np.sum(self._bc / self._n)
10641062
return odds_ratio
10651063

10661064
@cache_readonly
10671065
def logodds_pooled(self):
1068-
# doc for cached attributes in init above
1069-
10701066
return np.log(self.oddsratio_pooled)
10711067

10721068
@cache_readonly
10731069
def riskratio_pooled(self):
1074-
# doc for cached attributes in init above
10751070

10761071
acd = self.table[0, 0, :] * self._cpd
10771072
cab = self.table[1, 0, :] * self._apb
@@ -1086,7 +1081,6 @@ def risk_pooled(self):
10861081

10871082
@cache_readonly
10881083
def logodds_pooled_se(self):
1089-
# doc for cached attributes in init above
10901084

10911085
adns = np.sum(self._ad / self._n)
10921086
bcns = np.sum(self._bc / self._n)

0 commit comments

Comments
 (0)