Skip to content

Commit 00f513b

Browse files
committed
Edit version number in notebooks
1 parent 46ca02d commit 00f513b

11 files changed

Lines changed: 274 additions & 249 deletions

nbs/02-about.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"\n",
1818
"DABEST is written in Python by [Joses W. Ho](https://twitter.com/jacuzzijo), with design and input from [Adam Claridge-Chang](https://twitter.com/adamcchang) and other [lab members](https://www.claridgechang.net/people.html).\n",
1919
"\n",
20-
"Features in v2024.03.29 were added by [Zinan Lu](https://github.com/Jacobluke-), [Kah Seng LIAN](https://github.com/sunroofgod), [Lucas Wang Zhuoyu](https://github.com/Lucas1213WZY).\n",
20+
"Features in v2024.03.29 were added by [Zinan Lu](https://github.com/Jacobluke-), [Kah Seng Lian](https://github.com/sunroofgod), [Lucas Wang Zhuoyu](https://github.com/Lucas1213WZY).\n",
2121
"\n",
2222
"Features in v2023.02.14 were added by [Yixuan Li](https://github.com/LI-Yixuan), [Zinan Lu](https://github.com/Jacobluke-) and [Rou Zhang](https://github.com/ZHANGROU-99).\n",
2323
"\n",

nbs/API/dabest_object.ipynb

Lines changed: 25 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -805,18 +805,18 @@
805805
{
806806
"data": {
807807
"text/plain": [
808-
"DABEST v2023.03.29\n",
808+
"DABEST v2024.03.29\n",
809809
"==================\n",
810810
" \n",
811811
"Good afternoon!\n",
812-
"The current time is Tue Apr 18 14:47:26 2023.\n",
812+
"The current time is Tue Mar 19 15:33:25 2024.\n",
813813
"\n",
814814
"The unpaired mean difference between control and test is 0.5 [95%CI -0.0412, 1.0].\n",
815815
"The p-value of the two-sided permutation t-test is 0.0758, calculated for legacy purposes only. \n",
816816
"\n",
817817
"5000 bootstrap samples were taken; the confidence interval is bias-corrected and accelerated.\n",
818818
"Any p-value reported is the probability of observing theeffect size (or greater),\n",
819-
"assuming the null hypothesis ofzero difference is true.\n",
819+
"assuming the null hypothesis of zero difference is true.\n",
820820
"For each p-value, 5000 reshuffles of the control and test labels were performed.\n",
821821
"\n",
822822
"To get the results of all valid statistical tests, use `.mean_diff.statistical_tests`"
@@ -865,31 +865,21 @@
865865
"id": "8e9b8635",
866866
"metadata": {},
867867
"outputs": [
868-
{
869-
"name": "stderr",
870-
"output_type": "stream",
871-
"text": [
872-
"/Users/jacobluke/opt/anaconda3/envs/dabest-nbdev/lib/python3.8/site-packages/dabest/_stats_tools/effsize.py:72: UserWarning: Using median as the statistic in bootstrapping may result in a biased estimate and cause problems with BCa confidence intervals. Consider using a different statistic, such as the mean.\n",
873-
"When plotting, please consider using percetile confidence intervals by specifying `ci_type='percentile'`. For detailed information, refer to https://github.com/ACCLAB/DABEST-python/issues/129 \n",
874-
"\n",
875-
" warnings.warn(message=mes1+mes2, category=UserWarning)\n"
876-
]
877-
},
878868
{
879869
"data": {
880870
"text/plain": [
881-
"DABEST v2023.03.29\n",
871+
"DABEST v2024.03.29\n",
882872
"==================\n",
883873
" \n",
884874
"Good afternoon!\n",
885-
"The current time is Tue Apr 18 14:47:28 2023.\n",
875+
"The current time is Tue Mar 19 15:33:26 2024.\n",
886876
"\n",
887877
"The unpaired median difference between control and test is 0.5 [95%CI -0.0758, 0.991].\n",
888878
"The p-value of the two-sided permutation t-test is 0.103, calculated for legacy purposes only. \n",
889879
"\n",
890880
"5000 bootstrap samples were taken; the confidence interval is bias-corrected and accelerated.\n",
891881
"Any p-value reported is the probability of observing theeffect size (or greater),\n",
892-
"assuming the null hypothesis ofzero difference is true.\n",
882+
"assuming the null hypothesis of zero difference is true.\n",
893883
"For each p-value, 5000 reshuffles of the control and test labels were performed.\n",
894884
"\n",
895885
"To get the results of all valid statistical tests, use `.median_diff.statistical_tests`"
@@ -957,18 +947,18 @@
957947
{
958948
"data": {
959949
"text/plain": [
960-
"DABEST v2023.03.29\n",
950+
"DABEST v2024.03.29\n",
961951
"==================\n",
962952
" \n",
963953
"Good afternoon!\n",
964-
"The current time is Tue Apr 18 14:47:29 2023.\n",
954+
"The current time is Tue Mar 19 15:33:27 2024.\n",
965955
"\n",
966956
"The unpaired Cohen's d between control and test is 0.471 [95%CI -0.0843, 0.976].\n",
967957
"The p-value of the two-sided permutation t-test is 0.0758, calculated for legacy purposes only. \n",
968958
"\n",
969959
"5000 bootstrap samples were taken; the confidence interval is bias-corrected and accelerated.\n",
970960
"Any p-value reported is the probability of observing theeffect size (or greater),\n",
971-
"assuming the null hypothesis ofzero difference is true.\n",
961+
"assuming the null hypothesis of zero difference is true.\n",
972962
"For each p-value, 5000 reshuffles of the control and test labels were performed.\n",
973963
"\n",
974964
"To get the results of all valid statistical tests, use `.cohens_d.statistical_tests`"
@@ -1051,18 +1041,18 @@
10511041
{
10521042
"data": {
10531043
"text/plain": [
1054-
"DABEST v2023.03.29\n",
1044+
"DABEST v2024.03.29\n",
10551045
"==================\n",
10561046
" \n",
10571047
"Good afternoon!\n",
1058-
"The current time is Tue Apr 18 14:47:30 2023.\n",
1048+
"The current time is Tue Mar 19 15:33:29 2024.\n",
10591049
"\n",
10601050
"The unpaired Cohen's h between control and test is 0.0 [95%CI -0.613, 0.429].\n",
10611051
"The p-value of the two-sided permutation t-test is 0.799, calculated for legacy purposes only. \n",
10621052
"\n",
10631053
"5000 bootstrap samples were taken; the confidence interval is bias-corrected and accelerated.\n",
10641054
"Any p-value reported is the probability of observing theeffect size (or greater),\n",
1065-
"assuming the null hypothesis ofzero difference is true.\n",
1055+
"assuming the null hypothesis of zero difference is true.\n",
10661056
"For each p-value, 5000 reshuffles of the control and test labels were performed.\n",
10671057
"\n",
10681058
"To get the results of all valid statistical tests, use `.cohens_h.statistical_tests`"
@@ -1126,18 +1116,18 @@
11261116
{
11271117
"data": {
11281118
"text/plain": [
1129-
"DABEST v2023.03.29\n",
1119+
"DABEST v2024.03.29\n",
11301120
"==================\n",
11311121
" \n",
11321122
"Good afternoon!\n",
1133-
"The current time is Tue Apr 18 14:47:32 2023.\n",
1123+
"The current time is Tue Mar 19 15:33:30 2024.\n",
11341124
"\n",
11351125
"The unpaired Hedges' g between control and test is 0.465 [95%CI -0.0832, 0.963].\n",
11361126
"The p-value of the two-sided permutation t-test is 0.0758, calculated for legacy purposes only. \n",
11371127
"\n",
11381128
"5000 bootstrap samples were taken; the confidence interval is bias-corrected and accelerated.\n",
11391129
"Any p-value reported is the probability of observing theeffect size (or greater),\n",
1140-
"assuming the null hypothesis ofzero difference is true.\n",
1130+
"assuming the null hypothesis of zero difference is true.\n",
11411131
"For each p-value, 5000 reshuffles of the control and test labels were performed.\n",
11421132
"\n",
11431133
"To get the results of all valid statistical tests, use `.hedges_g.statistical_tests`"
@@ -1200,18 +1190,18 @@
12001190
{
12011191
"data": {
12021192
"text/plain": [
1203-
"DABEST v2023.03.29\n",
1193+
"DABEST v2024.03.29\n",
12041194
"==================\n",
12051195
" \n",
12061196
"Good afternoon!\n",
1207-
"The current time is Tue Apr 18 14:47:40 2023.\n",
1197+
"The current time is Tue Mar 19 15:33:41 2024.\n",
12081198
"\n",
12091199
"The unpaired Cliff's delta between control and test is 0.28 [95%CI -0.0244, 0.533].\n",
12101200
"The p-value of the two-sided permutation t-test is 0.061, calculated for legacy purposes only. \n",
12111201
"\n",
12121202
"5000 bootstrap samples were taken; the confidence interval is bias-corrected and accelerated.\n",
12131203
"Any p-value reported is the probability of observing theeffect size (or greater),\n",
1214-
"assuming the null hypothesis ofzero difference is true.\n",
1204+
"assuming the null hypothesis of zero difference is true.\n",
12151205
"For each p-value, 5000 reshuffles of the control and test labels were performed.\n",
12161206
"\n",
12171207
"To get the results of all valid statistical tests, use `.cliffs_delta.statistical_tests`"
@@ -1271,20 +1261,20 @@
12711261
{
12721262
"data": {
12731263
"text/plain": [
1274-
"DABEST v2023.02.14\n",
1264+
"DABEST v2024.03.29\n",
12751265
"==================\n",
12761266
" \n",
1277-
"Good morning!\n",
1278-
"The current time is Tue May 16 01:11:14 2023.\n",
1267+
"Good afternoon!\n",
1268+
"The current time is Tue Mar 19 15:33:45 2024.\n",
12791269
"\n",
1280-
"The unpaired deltas' g between W Placebo and M Placebo is 0.793 [95%CI 0.553, 1.1].\n",
1270+
"The unpaired deltas' g between W Placebo and M Placebo is 1.74 [95%CI 1.1, 2.31].\n",
12811271
"The p-value of the two-sided permutation t-test is 0.0, calculated for legacy purposes only. \n",
12821272
"\n",
1283-
"The unpaired deltas' g between W Drug and M Drug is 0.528 [95%CI 0.286, 0.765].\n",
1273+
"The unpaired deltas' g between W Drug and M Drug is 1.33 [95%CI 0.611, 1.96].\n",
12841274
"The p-value of the two-sided permutation t-test is 0.0, calculated for legacy purposes only. \n",
12851275
"\n",
1286-
"The deltas' g between Placebo and Drug is -0.651 [95%CI -1.6, 0.217].\n",
1287-
"The p-value of the two-sided permutation t-test is 0.0, calculated for legacy purposes only. \n",
1276+
"The deltas' g between Placebo and Drug is -0.651 [95%CI -1.59, 0.165].\n",
1277+
"The p-value of the two-sided permutation t-test is 0.0694, calculated for legacy purposes only. \n",
12881278
"\n",
12891279
"5000 bootstrap samples were taken; the confidence interval is bias-corrected and accelerated.\n",
12901280
"Any p-value reported is the probability of observing the effect size (or greater),\n",
@@ -1360,14 +1350,6 @@
13601350
"\n",
13611351
"$\\Delta_{g} = \\frac{\\Delta_{\\Delta}}{s_{\\Delta_{\\Delta}}}$"
13621352
]
1363-
},
1364-
{
1365-
"cell_type": "code",
1366-
"execution_count": null,
1367-
"id": "07a84d5f",
1368-
"metadata": {},
1369-
"outputs": [],
1370-
"source": []
13711353
}
13721354
],
13731355
"metadata": {

nbs/API/delta_objects.ipynb

Lines changed: 13 additions & 6 deletions
Large diffs are not rendered by default.

nbs/API/load.ipynb

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -286,22 +286,14 @@
286286
"execution_count": null,
287287
"metadata": {},
288288
"outputs": [
289-
{
290-
"name": "stderr",
291-
"output_type": "stream",
292-
"text": [
293-
"/Users/jacobluke/opt/anaconda3/envs/dabest-nbdev/lib/python3.8/site-packages/dabest/_classes.py:305: FutureWarning: In a future version, `df.iloc[:, i] = newvals` will attempt to set the values inplace instead of always setting a new array. To retain the old behavior, use either `df[df.columns[i]] = newvals` or, if columns are non-unique, `df.isetitem(i, newvals)`\n",
294-
" plot_data.loc[:, self.__xvar] = pd.Categorical(plot_data[self.__xvar],\n"
295-
]
296-
},
297289
{
298290
"data": {
299291
"text/plain": [
300-
"DABEST v2023.2.14\n",
301-
"=================\n",
302-
" \n",
303-
"Good evening!\n",
304-
"The current time is Tue Apr 18 12:23:19 2023.\n",
292+
"DABEST v2024.03.29\n",
293+
"==================\n",
294+
" \n",
295+
"Good afternoon!\n",
296+
"The current time is Tue Mar 19 15:34:58 2024.\n",
305297
"\n",
306298
"Effect size(s) with 95% confidence intervals will be computed for:\n",
307299
"1. Test 1 minus Control 1\n",

nbs/tutorials/01-basics.ipynb

Lines changed: 39 additions & 39 deletions
Large diffs are not rendered by default.

nbs/tutorials/02-repeated_measures.ipynb

Lines changed: 23 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"name": "stdout",
5252
"output_type": "stream",
5353
"text": [
54-
"We're using DABEST v2023.03.29\n"
54+
"We're using DABEST v2024.03.29\n"
5555
]
5656
}
5757
],
@@ -145,11 +145,11 @@
145145
{
146146
"data": {
147147
"text/plain": [
148-
"DABEST v2023.03.29\n",
148+
"DABEST v2024.03.29\n",
149149
"==================\n",
150150
" \n",
151-
"Good evening!\n",
152-
"The current time is Thu Feb 1 23:37:16 2024.\n",
151+
"Good afternoon!\n",
152+
"The current time is Tue Mar 19 15:36:05 2024.\n",
153153
"\n",
154154
"Paired effect size(s) for the sequential design of repeated-measures experiment \n",
155155
"with 95% confidence intervals will be computed for:\n",
@@ -187,11 +187,11 @@
187187
{
188188
"data": {
189189
"text/plain": [
190-
"DABEST v2023.03.29\n",
190+
"DABEST v2024.03.29\n",
191191
"==================\n",
192192
" \n",
193-
"Good evening!\n",
194-
"The current time is Thu Feb 1 23:37:16 2024.\n",
193+
"Good afternoon!\n",
194+
"The current time is Tue Mar 19 15:36:05 2024.\n",
195195
"\n",
196196
"Paired effect size(s) for repeated measures against baseline \n",
197197
"with 95% confidence intervals will be computed for:\n",
@@ -226,19 +226,19 @@
226226
{
227227
"data": {
228228
"text/plain": [
229-
"DABEST v2023.03.29\n",
229+
"DABEST v2024.03.29\n",
230230
"==================\n",
231231
" \n",
232-
"Good evening!\n",
233-
"The current time is Thu Feb 1 23:37:17 2024.\n",
232+
"Good afternoon!\n",
233+
"The current time is Tue Mar 19 15:36:07 2024.\n",
234234
"\n",
235235
"The paired mean difference for the sequential design of repeated-measures experiment \n",
236236
"between Control 1 and Test 1 is 0.48 [95%CI 0.237, 0.73].\n",
237237
"The p-value of the two-sided permutation t-test is 0.001, calculated for legacy purposes only. \n",
238238
"\n",
239239
"5000 bootstrap samples were taken; the confidence interval is bias-corrected and accelerated.\n",
240240
"Any p-value reported is the probability of observing theeffect size (or greater),\n",
241-
"assuming the null hypothesis ofzero difference is true.\n",
241+
"assuming the null hypothesis of zero difference is true.\n",
242242
"For each p-value, 5000 reshuffles of the control and test labels were performed.\n",
243243
"\n",
244244
"To get the results of all valid statistical tests, use `.mean_diff.statistical_tests`"
@@ -262,19 +262,19 @@
262262
{
263263
"data": {
264264
"text/plain": [
265-
"DABEST v2023.03.29\n",
265+
"DABEST v2024.03.29\n",
266266
"==================\n",
267267
" \n",
268-
"Good evening!\n",
269-
"The current time is Thu Feb 1 23:37:18 2024.\n",
268+
"Good afternoon!\n",
269+
"The current time is Tue Mar 19 15:36:08 2024.\n",
270270
"\n",
271271
"The paired mean difference for repeated measures against baseline \n",
272272
"between Control 1 and Test 1 is 0.48 [95%CI 0.237, 0.73].\n",
273273
"The p-value of the two-sided permutation t-test is 0.001, calculated for legacy purposes only. \n",
274274
"\n",
275275
"5000 bootstrap samples were taken; the confidence interval is bias-corrected and accelerated.\n",
276276
"Any p-value reported is the probability of observing theeffect size (or greater),\n",
277-
"assuming the null hypothesis ofzero difference is true.\n",
277+
"assuming the null hypothesis of zero difference is true.\n",
278278
"For each p-value, 5000 reshuffles of the control and test labels were performed.\n",
279279
"\n",
280280
"To get the results of all valid statistical tests, use `.mean_diff.statistical_tests`"
@@ -412,11 +412,11 @@
412412
{
413413
"data": {
414414
"text/plain": [
415-
"DABEST v2023.03.29\n",
415+
"DABEST v2024.03.29\n",
416416
"==================\n",
417417
" \n",
418-
"Good evening!\n",
419-
"The current time is Thu Feb 1 23:37:21 2024.\n",
418+
"Good afternoon!\n",
419+
"The current time is Tue Mar 19 15:36:12 2024.\n",
420420
"\n",
421421
"The paired mean difference for the sequential design of repeated-measures experiment \n",
422422
"between Control 1 and Test 1 is 0.48 [95%CI 0.237, 0.73].\n",
@@ -432,7 +432,7 @@
432432
"\n",
433433
"5000 bootstrap samples were taken; the confidence interval is bias-corrected and accelerated.\n",
434434
"Any p-value reported is the probability of observing theeffect size (or greater),\n",
435-
"assuming the null hypothesis ofzero difference is true.\n",
435+
"assuming the null hypothesis of zero difference is true.\n",
436436
"For each p-value, 5000 reshuffles of the control and test labels were performed.\n",
437437
"\n",
438438
"To get the results of all valid statistical tests, use `.mean_diff.statistical_tests`"
@@ -488,11 +488,11 @@
488488
{
489489
"data": {
490490
"text/plain": [
491-
"DABEST v2023.03.29\n",
491+
"DABEST v2024.03.29\n",
492492
"==================\n",
493493
" \n",
494-
"Good evening!\n",
495-
"The current time is Thu Feb 1 23:37:24 2024.\n",
494+
"Good afternoon!\n",
495+
"The current time is Tue Mar 19 15:36:16 2024.\n",
496496
"\n",
497497
"The paired mean difference for repeated measures against baseline \n",
498498
"between Control 1 and Test 1 is 0.48 [95%CI 0.237, 0.73].\n",
@@ -508,7 +508,7 @@
508508
"\n",
509509
"5000 bootstrap samples were taken; the confidence interval is bias-corrected and accelerated.\n",
510510
"Any p-value reported is the probability of observing theeffect size (or greater),\n",
511-
"assuming the null hypothesis ofzero difference is true.\n",
511+
"assuming the null hypothesis of zero difference is true.\n",
512512
"For each p-value, 5000 reshuffles of the control and test labels were performed.\n",
513513
"\n",
514514
"To get the results of all valid statistical tests, use `.mean_diff.statistical_tests`"
@@ -576,14 +576,6 @@
576576
" paired=\"baseline\", id_col=\"ID\")\n",
577577
"multi_baseline_repeated_measures.mean_diff.plot();"
578578
]
579-
},
580-
{
581-
"cell_type": "code",
582-
"execution_count": null,
583-
"id": "f44b0ecf",
584-
"metadata": {},
585-
"outputs": [],
586-
"source": []
587579
}
588580
],
589581
"metadata": {

0 commit comments

Comments
 (0)