Skip to content

Commit ee59378

Browse files
authored
Merge pull request #126 from LI-Yixuan/documentation&amendment
Documentation&amendment
2 parents e977106 + 37edb8d commit ee59378

22 files changed

Lines changed: 1282 additions & 361 deletions

dabest/_api.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@ def load(data, idx=None, x=None, y=None, paired=None, id_col=None,
2727
y : string, default None
2828
Column names for data to be plotted on the x-axis and y-axis.
2929
paired : string, default None
30-
The type of the experiment under which the data are obtained
30+
The type of the experiment under which the data are obtained. If 'paired'
31+
is None then the data will not be treated as paired data in the subsequent
32+
calculations. If 'paired' is 'baseline', then in each tuple of x, other
33+
groups will be paired up with the first group (as control). If 'paired' is
34+
'sequential', then in each tuple of x, each group will be paired up with
35+
its previous group (as control).
3136
id_col : default None.
3237
Required if `paired` is True.
3338
ci : integer, default 95

dabest/_bootstrap_tools.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ class bootstrap:
1616
the two groups (x2-x1) is computed.
1717
NaNs are automatically discarded.
1818
paired: boolean, default False
19-
Whether or not x1 and x2 are paired samples.
19+
Whether or not x1 and x2 are paired samples. If 'paired' is None then
20+
the data will not be treated as paired data in the subsequent calculations.
21+
If 'paired' is 'baseline', then in each tuple of x, other groups will be
22+
paired up with the first group (as control). If 'paired' is 'sequential',
23+
then in each tuple of x, each group will be paired up with the previous
24+
group (as control).
2025
statfunction: callable, default np.mean
2126
The summary statistic called on data.
2227
smoothboot: boolean, default False

0 commit comments

Comments
 (0)