Skip to content

Commit a712bd9

Browse files
committed
updated tutorials
1 parent fb40de8 commit a712bd9

10 files changed

+151
-180
lines changed

nbs/tutorials/01-basics.ipynb

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"name": "stderr",
3535
"output_type": "stream",
3636
"text": [
37-
"Compiling numba functions: 100%|██████████| 11/11 [00:03<00:00, 2.82it/s]"
37+
"Compiling numba functions: 100%|██████████| 11/11 [00:00<00:00, 57.10it/s]"
3838
]
3939
},
4040
{
@@ -217,7 +217,7 @@
217217
"4 2.977341 2.328601 Female 5 "
218218
]
219219
},
220-
"execution_count": null,
220+
"execution_count": 3,
221221
"metadata": {},
222222
"output_type": "execute_result"
223223
}
@@ -322,15 +322,15 @@
322322
"==================\n",
323323
" \n",
324324
"Good afternoon!\n",
325-
"The current time is Fri Oct 17 15:27:04 2025.\n",
325+
"The current time is Sun Oct 19 16:00:03 2025.\n",
326326
"\n",
327327
"Effect size(s) with 95% confidence intervals will be computed for:\n",
328328
"1. Test 1 minus Control 1\n",
329329
"\n",
330330
"5000 resamples will be used to generate the effect size bootstraps."
331331
]
332332
},
333-
"execution_count": null,
333+
"execution_count": 5,
334334
"metadata": {},
335335
"output_type": "execute_result"
336336
}
@@ -365,15 +365,15 @@
365365
"==================\n",
366366
" \n",
367367
"Good afternoon!\n",
368-
"The current time is Fri Oct 17 15:27:04 2025.\n",
368+
"The current time is Sun Oct 19 16:00:03 2025.\n",
369369
"\n",
370370
"Effect size(s) with 90% confidence intervals will be computed for:\n",
371371
"1. Test 1 minus Control 1\n",
372372
"\n",
373373
"5000 resamples will be used to generate the effect size bootstraps."
374374
]
375375
},
376-
"execution_count": null,
376+
"execution_count": 6,
377377
"metadata": {},
378378
"output_type": "execute_result"
379379
}
@@ -420,7 +420,7 @@
420420
"==================\n",
421421
" \n",
422422
"Good afternoon!\n",
423-
"The current time is Fri Oct 17 15:27:04 2025.\n",
423+
"The current time is Sun Oct 19 16:00:03 2025.\n",
424424
"\n",
425425
"The unpaired mean difference between Control 1 and Test 1 is 0.48 [95%CI 0.205, 0.774].\n",
426426
"The p-value of the two-sided permutation t-test is 0.001, calculated for legacy purposes only. \n",
@@ -433,7 +433,7 @@
433433
"To get the results of all valid statistical tests, use `.mean_diff.statistical_tests`"
434434
]
435435
},
436-
"execution_count": null,
436+
"execution_count": 7,
437437
"metadata": {},
438438
"output_type": "execute_result"
439439
}
@@ -599,7 +599,7 @@
599599
"0 -0.256862 0.259558 (125, 4875) -0.25826 0.25759 "
600600
]
601601
},
602-
"execution_count": null,
602+
"execution_count": 8,
603603
"metadata": {},
604604
"output_type": "execute_result"
605605
}
@@ -693,7 +693,7 @@
693693
"0 0.001625 83.0 "
694694
]
695695
},
696-
"execution_count": null,
696+
"execution_count": 9,
697697
"metadata": {},
698698
"output_type": "execute_result"
699699
}
@@ -796,7 +796,7 @@
796796
"0 0.001625 83.0 "
797797
]
798798
},
799-
"execution_count": null,
799+
"execution_count": 10,
800800
"metadata": {},
801801
"output_type": "execute_result"
802802
}
@@ -825,7 +825,7 @@
825825
"==================\n",
826826
" \n",
827827
"Good afternoon!\n",
828-
"The current time is Fri Oct 17 15:27:05 2025.\n",
828+
"The current time is Sun Oct 19 16:00:04 2025.\n",
829829
"\n",
830830
"The unpaired Hedges' g between Control 1 and Test 1 is 1.03 [95%CI 0.317, 1.62].\n",
831831
"The p-value of the two-sided permutation t-test is 0.001, calculated for legacy purposes only. \n",
@@ -838,7 +838,7 @@
838838
"To get the results of all valid statistical tests, use `.hedges_g.statistical_tests`"
839839
]
840840
},
841-
"execution_count": null,
841+
"execution_count": 11,
842842
"metadata": {},
843843
"output_type": "execute_result"
844844
}
@@ -982,7 +982,7 @@
982982
"0 -0.642387 0.629464 (125, 4875) -0.643604 0.627968 "
983983
]
984984
},
985-
"execution_count": null,
985+
"execution_count": 12,
986986
"metadata": {},
987987
"output_type": "execute_result"
988988
}
@@ -1211,7 +1211,7 @@
12111211
"4 Female 5 Control 1 2.858019"
12121212
]
12131213
},
1214-
"execution_count": null,
1214+
"execution_count": 17,
12151215
"metadata": {},
12161216
"output_type": "execute_result"
12171217
}
@@ -1251,15 +1251,15 @@
12511251
"==================\n",
12521252
" \n",
12531253
"Good afternoon!\n",
1254-
"The current time is Fri Oct 17 15:27:05 2025.\n",
1254+
"The current time is Sun Oct 19 16:00:04 2025.\n",
12551255
"\n",
12561256
"Effect size(s) with 95% confidence intervals will be computed for:\n",
12571257
"1. Test 1 minus Control 1\n",
12581258
"\n",
12591259
"5000 resamples will be used to generate the effect size bootstraps."
12601260
]
12611261
},
1262-
"execution_count": null,
1262+
"execution_count": 18,
12631263
"metadata": {},
12641264
"output_type": "execute_result"
12651265
}

nbs/tutorials/02-two_group.ipynb

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

nbs/tutorials/03-shared_control_and_repeated_measures.ipynb

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

nbs/tutorials/04-proportion_plot.ipynb

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

nbs/tutorials/05-mini_meta.ipynb

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

nbs/tutorials/06-delta_delta.ipynb

Lines changed: 11 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -59,30 +59,8 @@
5959
"name": "stdout",
6060
"output_type": "stream",
6161
"text": [
62-
"Pre-compiling numba functions for DABEST...\n"
63-
]
64-
},
65-
{
66-
"name": "stderr",
67-
"output_type": "stream",
68-
"text": [
69-
"Compiling numba functions: 100%|██████████| 11/11 [00:00<00:00, 59.15it/s]"
70-
]
71-
},
72-
{
73-
"name": "stdout",
74-
"output_type": "stream",
75-
"text": [
76-
"Numba compilation complete!\n",
7762
"We're using DABEST v2025.10.20\n"
7863
]
79-
},
80-
{
81-
"name": "stderr",
82-
"output_type": "stream",
83-
"text": [
84-
"\n"
85-
]
8664
}
8765
],
8866
"source": [
@@ -198,7 +176,7 @@
198176
"4 4 Rep1 W Placebo 2.858019"
199177
]
200178
},
201-
"execution_count": null,
179+
"execution_count": 18,
202180
"metadata": {},
203181
"output_type": "execute_result"
204182
}
@@ -275,7 +253,7 @@
275253
"==================\n",
276254
" \n",
277255
"Good afternoon!\n",
278-
"The current time is Fri Oct 17 15:27:49 2025.\n",
256+
"The current time is Sun Oct 19 16:00:50 2025.\n",
279257
"\n",
280258
"Effect size(s) with 95% confidence intervals will be computed for:\n",
281259
"1. M Placebo minus W Placebo\n",
@@ -285,7 +263,7 @@
285263
"5000 resamples will be used to generate the effect size bootstraps."
286264
]
287265
},
288-
"execution_count": null,
266+
"execution_count": 19,
289267
"metadata": {},
290268
"output_type": "execute_result"
291269
}
@@ -307,7 +285,7 @@
307285
"==================\n",
308286
" \n",
309287
"Good afternoon!\n",
310-
"The current time is Fri Oct 17 15:27:51 2025.\n",
288+
"The current time is Sun Oct 19 16:00:51 2025.\n",
311289
"\n",
312290
"The unpaired mean difference between W Placebo and M Placebo is 1.23 [95%CI 0.937, 1.51].\n",
313291
"The p-value of the two-sided permutation t-test is 0.0, calculated for legacy purposes only. \n",
@@ -326,7 +304,7 @@
326304
"To get the results of all valid statistical tests, use `.mean_diff.statistical_tests`"
327305
]
328306
},
329-
"execution_count": null,
307+
"execution_count": 20,
330308
"metadata": {},
331309
"output_type": "execute_result"
332310
}
@@ -564,7 +542,7 @@
564542
"==================\n",
565543
" \n",
566544
"Good afternoon!\n",
567-
"The current time is Fri Oct 17 15:27:53 2025.\n",
545+
"The current time is Sun Oct 19 16:00:53 2025.\n",
568546
"\n",
569547
"The unpaired Hedges' g between W Placebo and M Placebo is 2.54 [95%CI 1.71, 3.31].\n",
570548
"The p-value of the two-sided permutation t-test is 0.0, calculated for legacy purposes only. \n",
@@ -583,7 +561,7 @@
583561
"To get the results of all valid statistical tests, use `.hedges_g.statistical_tests`"
584562
]
585563
},
586-
"execution_count": null,
564+
"execution_count": 25,
587565
"metadata": {},
588566
"output_type": "execute_result"
589567
}
@@ -735,7 +713,7 @@
735713
"==================\n",
736714
" \n",
737715
"Good afternoon!\n",
738-
"The current time is Fri Oct 17 15:27:55 2025.\n",
716+
"The current time is Sun Oct 19 16:00:54 2025.\n",
739717
"\n",
740718
"The delta-delta between Placebo and Drug is -0.903 [95%CI -1.27, -0.522].\n",
741719
"The p-value of the two-sided permutation t-test is 0.0, calculated for legacy purposes only. \n",
@@ -746,7 +724,7 @@
746724
"For each p-value, 5000 reshuffles of the control and test labels were performed."
747725
]
748726
},
749-
"execution_count": null,
727+
"execution_count": 28,
750728
"metadata": {},
751729
"output_type": "execute_result"
752730
}
@@ -879,7 +857,7 @@
879857
"0 [-0.9006797310317582, -0.9006200702547091, -0.... "
880858
]
881859
},
882-
"execution_count": null,
860+
"execution_count": 29,
883861
"metadata": {},
884862
"output_type": "execute_result"
885863
}
@@ -1003,7 +981,7 @@
1003981
"0 [-2.1008530246437576, -2.10071386471865, -2.10... "
1004982
]
1005983
},
1006-
"execution_count": null,
984+
"execution_count": 30,
1007985
"metadata": {},
1008986
"output_type": "execute_result"
1009987
}

nbs/tutorials/07-horizontal_plot.ipynb

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

nbs/tutorials/08-plot_aesthetics.ipynb

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

nbs/tutorials/09-forest_plot.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"name": "stderr",
4444
"output_type": "stream",
4545
"text": [
46-
"Compiling numba functions: 100%|██████████| 11/11 [00:00<00:00, 53.64it/s]"
46+
"Compiling numba functions: 100%|██████████| 11/11 [00:00<00:00, 23.74it/s]"
4747
]
4848
},
4949
{

nbs/tutorials/10-whorlmap.ipynb

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"name": "stderr",
4343
"output_type": "stream",
4444
"text": [
45-
"Compiling numba functions: 100%|██████████| 11/11 [00:00<00:00, 42.85it/s]"
45+
"Compiling numba functions: 100%|██████████| 11/11 [00:00<00:00, 37.69it/s]"
4646
]
4747
},
4848
{
@@ -483,13 +483,6 @@
483483
" \"yticklabels_rotation\": 45, 'yticklabels_ha': \"right\", 'title': 'My Title!'}\n",
484484
");"
485485
]
486-
},
487-
{
488-
"cell_type": "code",
489-
"execution_count": null,
490-
"metadata": {},
491-
"outputs": [],
492-
"source": []
493486
}
494487
],
495488
"metadata": {

0 commit comments

Comments
 (0)