j1-template 2022.2.3 → 2022.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/navigator/generator.html +1 -1
  3. data/assets/data/cookieconsent.html +4 -4
  4. data/assets/data/nbinteract.html +128 -0
  5. data/assets/data/quicklinks.html +15 -0
  6. data/assets/data/translator.html +15 -15
  7. data/assets/themes/j1/adapter/js/analytics.js +13 -13
  8. data/assets/themes/j1/adapter/js/cookieConsent.js +1 -1
  9. data/assets/themes/j1/adapter/js/mmenu.js +25 -3
  10. data/assets/themes/j1/adapter/js/navigator.js +2 -2
  11. data/assets/themes/j1/adapter/js/nbinteract.js +588 -146
  12. data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +30 -40
  13. data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +1 -1
  14. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +50 -66
  15. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  16. data/assets/themes/j1/core/js/template.js +15 -4
  17. data/assets/themes/j1/core/js/template.min.js +1 -1
  18. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  19. data/assets/themes/j1/modules/carousel/css/theme/uno.css +5 -0
  20. data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
  21. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +1 -0
  22. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.css +6 -0
  23. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.min.css +1 -1
  24. data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.css +2 -2
  25. data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.min.css +1 -2
  26. data/assets/themes/j1/modules/nbInteract/css/theme/uno/nbinteract-core.css +33 -33
  27. data/assets/themes/j1/modules/nbInteract/css/theme/uno/nbinteract-core.min.css +1 -1
  28. data/assets/themes/j1/modules/nbInteract/js/nbinteract/nbinteract-core.js +1 -1
  29. data/assets/themes/j1/modules/nbInteract/js/nbinteract/nbinteract-core.js.map +1 -1
  30. data/assets/themes/j1/modules/nbInteract/js/nbinteract/nbinteract-core.min.js +1 -1
  31. data/assets/themes/j1/modules/nbInteract/js/requireJS/require.js +2068 -0
  32. data/assets/themes/j1/modules/nbInteract/js/requireJS/require.min.js +36 -0
  33. data/assets/themes/j1/modules/plotly/LICENSE +21 -0
  34. data/assets/themes/j1/modules/plotly/README.md +32 -0
  35. data/assets/themes/j1/modules/plotly/js/plotly.js +265345 -0
  36. data/assets/themes/j1/modules/plotly/js/plotly.min.js +65 -0
  37. data/assets/themes/j1/modules/requirejs/LICENSE +45 -0
  38. data/assets/themes/j1/modules/requirejs/README.md +79 -0
  39. data/assets/themes/j1/modules/requirejs/js/require.js +2068 -0
  40. data/assets/themes/j1/modules/requirejs/js/require.min.js +36 -0
  41. data/lib/j1/version.rb +3 -3
  42. data/lib/starter_web/Gemfile +1 -1
  43. data/lib/starter_web/_config.yml +1 -1
  44. data/lib/starter_web/_data/modules/analytics.yml +8 -23
  45. data/lib/starter_web/_data/modules/defaults/analytics.yml +1 -1
  46. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +55 -42
  47. data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -0
  48. data/lib/starter_web/_data/modules/defaults/nbinteract.yml +95 -1
  49. data/lib/starter_web/_data/modules/defaults/translator.yml +24 -12
  50. data/lib/starter_web/_data/modules/justifiedGallery.yml +14 -8
  51. data/lib/starter_web/_data/modules/navigator_menu.yml +6 -3
  52. data/lib/starter_web/_data/modules/nbinteract.yml +12 -48
  53. data/lib/starter_web/_data/resources.yml +56 -0
  54. data/lib/starter_web/_includes/attributes.asciidoc +11 -0
  55. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  56. data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge-1920x1200.jpg +0 -0
  57. data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge.png +0 -0
  58. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_bar.jpg +0 -0
  59. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_hist.jpg +0 -0
  60. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_line.jpg +0 -0
  61. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_multiple_choice.jpg +0 -0
  62. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter.jpg +0 -0
  63. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter_drag.jpg +0 -0
  64. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_short_answer.jpg +0 -0
  65. data/lib/starter_web/assets/videos/gallery/kick-it-old-school-poster.jpg +0 -0
  66. data/lib/starter_web/assets/videos/gallery/nye-party-shop-poster.jpg +0 -0
  67. data/lib/starter_web/assets/videos/gallery/stay-colorful-poster.jpg +0 -0
  68. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -0
  69. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -0
  70. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +1 -0
  71. data/lib/starter_web/package.json +1 -2
  72. data/lib/starter_web/pages/public/jupyter/docs/j1-nbinteract-doc.adoc +34 -20
  73. data/lib/starter_web/pages/public/jupyter/docs/nbi-widget-manual.adoc +154 -7
  74. data/lib/starter_web/pages/public/jupyter/docs/nbinteract-doc.adoc +24 -19
  75. data/lib/starter_web/pages/public/jupyter/examples/j1-circular-times-table.adoc +135 -0
  76. data/lib/starter_web/pages/public/jupyter/examples/j1-interactive-widgets.adoc +8 -5
  77. data/lib/starter_web/pages/public/jupyter/examples/j1-odes-in-python.adoc +15 -7
  78. data/lib/starter_web/pages/public/jupyter/examples/j1-testing-plotly.adoc +94 -0
  79. data/lib/starter_web/pages/public/jupyter/examples/j1_climate-change-forecast.adoc +8 -8
  80. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_circular_times_table-checkpoint.ipynb +12387 -0
  81. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_climate_change_forecast-checkpoint.ipynb +1058 -0
  82. data/lib/starter_web/pages/public/jupyter/notebooks/j1/{j1_ode_selected.ipynb → .ipynb_checkpoints/j1_docs_example_dynamic-checkpoint.ipynb} +1 -1
  83. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive_widgets-checkpoint.ipynb +26 -26
  84. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/{j1_altair_interactive_test-checkpoint.ipynb → j1_ode_selected-checkpoint.ipynb} +99 -318
  85. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_odes_in_python-checkpoint.ipynb +15227 -0
  86. data/lib/starter_web/pages/public/jupyter/notebooks/j1/factor_by_factor.mp4 +0 -0
  87. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_circular_times_table.ipynb +12387 -0
  88. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_climate_change_forecast.ipynb +2 -2
  89. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_docs_example_dynamic.ipynb +1 -1
  90. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_interactive_widgets.ipynb +26 -26
  91. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_odes_in_python.ipynb +15227 -0
  92. data/lib/starter_web/pages/public/jupyter/notebooks/j1/line_by_line.mp4 +0 -0
  93. data/lib/starter_web/pages/public/jupyter/notebooks/j1/point_by_point.mp4 +0 -0
  94. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_central_limit_theorem-checkpoint.ipynb +247 -0
  95. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_variability_of_the_sample_mean-checkpoint.ipynb +323 -0
  96. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_graphing-checkpoint.ipynb +387 -0
  97. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_layout-checkpoint.ipynb +384 -0
  98. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_interact-checkpoint.ipynb +254 -0
  99. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_monty_hall-checkpoint.ipynb +732 -0
  100. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/nbi_docs_examples_central_limit_theorem.ipynb +1 -2
  101. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/nbi_docs_recipes_graphing.ipynb +18 -18
  102. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/nbi_docs_tutorial_monty_hall.ipynb +25 -26
  103. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_circular_times_table.html +746 -0
  104. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_climate_change_forecast.html +2 -2
  105. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_docs_example_dynamic.html +186 -186
  106. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +3 -3
  107. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +955 -0
  108. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_recipes_graphing.html +473 -473
  109. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_recipes_interactive_questions.html +242 -242
  110. data/lib/starter_web/pages/public/jupyter/services/binderhub.adoc +3 -3
  111. data/lib/starter_web/pages/public/jupyter/services/jupyterhub.adoc +6 -7
  112. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
  113. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +9 -15
  114. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -1
  115. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +1 -1
  116. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +1 -1
  117. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
  118. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -1
  119. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +117 -12
  120. data/lib/starter_web/pages/public/se/se-fake.adoc +47 -0
  121. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  122. data/lib/starter_web/utilsrv/package.json +1 -1
  123. metadata +45 -22
  124. data/lib/starter_web/assets/videos/gallery/adriana-lima-poster.jpg +0 -0
  125. data/lib/starter_web/pages/public/jupyter/notebooks/binder/binder-launches.ipynb +0 -385
  126. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/Untitled-checkpoint.ipynb +0 -6
  127. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/binder-launches-checkpoint.ipynb +0 -385
  128. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/google_altair-checkpoint.ipynb +0 -33
  129. data/lib/starter_web/pages/public/jupyter/notebooks/j1/binder-launches.ipynb +0 -411
  130. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/binder-launches.html +0 -670
  131. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_ode_selected.html +0 -186
  132. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/excel.py +0 -55
  133. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/ggplot.py +0 -108
  134. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/ggplot2.py +0 -108
  135. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/husky.py +0 -121
  136. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/latimes.py +0 -149
  137. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/pcolor.py +0 -6
  138. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/quartz.py +0 -55
  139. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/spacy_base.py +0 -94
  140. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/spacy_mono.py +0 -158
  141. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/sunsentinel.py +0 -125
@@ -22,8 +22,7 @@
22
22
  "cell_type": "markdown",
23
23
  "metadata": {},
24
24
  "source": [
25
- "### The Central Limit Theorem",
26
- "\n",
25
+ "### The Central Limit Theorem\n",
27
26
  "Very few of the data histograms that we have seen in this course have been bell shaped.\n",
28
27
  "When we have come across a bell shaped distribution, it has almost invariably been an\n",
29
28
  "empirical histogram of a statistic based on a random sample.\n"
@@ -74,7 +74,7 @@
74
74
  },
75
75
  {
76
76
  "cell_type": "code",
77
- "execution_count": 4,
77
+ "execution_count": 13,
78
78
  "metadata": {
79
79
  "scrolled": false
80
80
  },
@@ -82,7 +82,7 @@
82
82
  {
83
83
  "data": {
84
84
  "application/vnd.jupyter.widget-view+json": {
85
- "model_id": "749b9aab6e1947d8934f06b45825dbdb",
85
+ "model_id": "a5636ca1591943a39bbe131a1cf79eaa",
86
86
  "version_major": 2,
87
87
  "version_minor": 0
88
88
  },
@@ -95,7 +95,7 @@
95
95
  }
96
96
  ],
97
97
  "source": [
98
- "nbi.hist(hist_response_function, mean=(0, 10), sd=(0, 2.0, 0.2))"
98
+ "nbi.hist(hist_response_function, mean=(0, 10), sd=(0.2, 2.0, 0.2))"
99
99
  ]
100
100
  },
101
101
  {
@@ -107,13 +107,13 @@
107
107
  },
108
108
  {
109
109
  "cell_type": "code",
110
- "execution_count": 5,
110
+ "execution_count": 11,
111
111
  "metadata": {},
112
112
  "outputs": [
113
113
  {
114
114
  "data": {
115
115
  "application/vnd.jupyter.widget-view+json": {
116
- "model_id": "d937484a6c874c248224ae1a07be0222",
116
+ "model_id": "3b52fe08cd764b73bad8f2a92477d955",
117
117
  "version_major": 2,
118
118
  "version_minor": 0
119
119
  },
@@ -131,7 +131,7 @@
131
131
  " 'xlim': (0, 15),\n",
132
132
  " 'ylim': (0, 0.4),\n",
133
133
  "}\n",
134
- "nbi.hist(hist_response_function, options=options, mean=(0, 10), sd=(0, 2.0, 0.2))"
134
+ "nbi.hist(hist_response_function, options=options, mean=(0, 10), sd=(0.2, 2.0, 0.2))"
135
135
  ]
136
136
  },
137
137
  {
@@ -149,7 +149,7 @@
149
149
  {
150
150
  "data": {
151
151
  "application/vnd.jupyter.widget-view+json": {
152
- "model_id": "dd38adef9d944bc692ab821c5fd9ce8e",
152
+ "model_id": "f86ec97cd7ca493280a1815edd8f0ae9",
153
153
  "version_major": 2,
154
154
  "version_minor": 0
155
155
  },
@@ -185,18 +185,18 @@
185
185
  },
186
186
  {
187
187
  "cell_type": "code",
188
- "execution_count": 7,
188
+ "execution_count": 14,
189
189
  "metadata": {},
190
190
  "outputs": [
191
191
  {
192
192
  "data": {
193
193
  "application/vnd.jupyter.widget-view+json": {
194
- "model_id": "f0cd2c3db7754af293d9d5bd60f348fa",
194
+ "model_id": "00316ec6767f4b879a61bef75599f78e",
195
195
  "version_major": 2,
196
196
  "version_minor": 0
197
197
  },
198
198
  "text/plain": [
199
- "VBox(children=(interactive(children=(IntSlider(value=5, description='n', max=10), IntSlider(value=5, descripti…"
199
+ "VBox(children=(interactive(children=(IntSlider(value=6, description='n', max=10, min=3), IntSlider(value=5, de…"
200
200
  ]
201
201
  },
202
202
  "metadata": {},
@@ -214,7 +214,7 @@
214
214
  " 'ylim': (0, 20),\n",
215
215
  "}\n",
216
216
  "\n",
217
- "nbi.bar(categories, heights, n=(0, 10), offset=(1, 10), options=opts)"
217
+ "nbi.bar(categories, heights, n=(3, 10), offset=(1, 10), options=opts)"
218
218
  ]
219
219
  },
220
220
  {
@@ -245,12 +245,12 @@
245
245
  {
246
246
  "data": {
247
247
  "application/vnd.jupyter.widget-view+json": {
248
- "model_id": "ddff91ef6f6048a19b4b605feda4c5f1",
248
+ "model_id": "6b6494e0a17c4e2e8477509d44b1432e",
249
249
  "version_major": 2,
250
250
  "version_minor": 0
251
251
  },
252
252
  "text/plain": [
253
- "VBox(children=(Label(value='y = 0.99x + 0.54'), Figure(animation_duration=250, axes=[Axis(scale=LinearScale(ma…"
253
+ "VBox(children=(Label(value='y = 0.94x + 0.66'), Figure(animation_duration=250, axes=[Axis(scale=LinearScale(ma…"
254
254
  ]
255
255
  },
256
256
  "metadata": {},
@@ -285,7 +285,7 @@
285
285
  },
286
286
  {
287
287
  "cell_type": "code",
288
- "execution_count": 9,
288
+ "execution_count": 15,
289
289
  "metadata": {
290
290
  "scrolled": false
291
291
  },
@@ -293,12 +293,12 @@
293
293
  {
294
294
  "data": {
295
295
  "application/vnd.jupyter.widget-view+json": {
296
- "model_id": "c3d2e8896c424020b49d2e774d4c3b3e",
296
+ "model_id": "847b13ca28274786b3209932e3a74f77",
297
297
  "version_major": 2,
298
298
  "version_minor": 0
299
299
  },
300
300
  "text/plain": [
301
- "VBox(children=(interactive(children=(IntSlider(value=100, description='n', max=200), Output()), _dom_classes=(…"
301
+ "VBox(children=(interactive(children=(IntSlider(value=105, description='n', max=200, min=10), Output()), _dom_c…"
302
302
  ]
303
303
  },
304
304
  "metadata": {},
@@ -309,7 +309,7 @@
309
309
  "def x_values(n): return np.random.choice(100, n)\n",
310
310
  "def y_values(xs): return np.random.choice(100, len(xs))\n",
311
311
  "\n",
312
- "nbi.scatter(x_values, y_values, n=(0,200))"
312
+ "nbi.scatter(x_values, y_values, n=(10,200))"
313
313
  ]
314
314
  },
315
315
  {
@@ -336,7 +336,7 @@
336
336
  {
337
337
  "data": {
338
338
  "application/vnd.jupyter.widget-view+json": {
339
- "model_id": "17d1cc84daf9467f97e504d484e24485",
339
+ "model_id": "b23113b7d9f54ca0844bc5874ca92137",
340
340
  "version_major": 2,
341
341
  "version_minor": 0
342
342
  },
@@ -88,7 +88,7 @@
88
88
  {
89
89
  "data": {
90
90
  "application/vnd.jupyter.widget-view+json": {
91
- "model_id": "bf35047d7766497b9ee1cba246b03707",
91
+ "model_id": "f7bc19921ed64ea98d52d1c59b0ff6fc",
92
92
  "version_major": 2,
93
93
  "version_minor": 0
94
94
  },
@@ -121,7 +121,7 @@
121
121
  {
122
122
  "data": {
123
123
  "application/vnd.jupyter.widget-view+json": {
124
- "model_id": "99d6198830e247cb893a168e2753a5c5",
124
+ "model_id": "4e20d1c8f3c7425590ff1cea1df7d648",
125
125
  "version_major": 2,
126
126
  "version_minor": 0
127
127
  },
@@ -171,13 +171,13 @@
171
171
  },
172
172
  {
173
173
  "cell_type": "code",
174
- "execution_count": 5,
174
+ "execution_count": 4,
175
175
  "metadata": {},
176
176
  "outputs": [
177
177
  {
178
178
  "data": {
179
179
  "application/vnd.jupyter.widget-view+json": {
180
- "model_id": "bfe8a600ac8f4ebc87f0740c1dac52fc",
180
+ "model_id": "d5534d93a8fd4fa08844b24c2dffe6fe",
181
181
  "version_major": 2,
182
182
  "version_minor": 0
183
183
  },
@@ -204,13 +204,13 @@
204
204
  },
205
205
  {
206
206
  "cell_type": "code",
207
- "execution_count": 6,
207
+ "execution_count": 5,
208
208
  "metadata": {},
209
209
  "outputs": [
210
210
  {
211
211
  "data": {
212
212
  "application/vnd.jupyter.widget-view+json": {
213
- "model_id": "04ef86373d1c4cc08aa50efe79856338",
213
+ "model_id": "f0afa697e6a24f1c9fd422b0b660d09a",
214
214
  "version_major": 2,
215
215
  "version_minor": 0
216
216
  },
@@ -262,13 +262,13 @@
262
262
  },
263
263
  {
264
264
  "cell_type": "code",
265
- "execution_count": 7,
265
+ "execution_count": 6,
266
266
  "metadata": {},
267
267
  "outputs": [
268
268
  {
269
269
  "data": {
270
270
  "application/vnd.jupyter.widget-view+json": {
271
- "model_id": "f8b5825f6baa43a09e9d3f1a97cd5160",
271
+ "model_id": "0bf2fadf696943269dd528cd8d00e76a",
272
272
  "version_major": 2,
273
273
  "version_minor": 0
274
274
  },
@@ -307,13 +307,13 @@
307
307
  },
308
308
  {
309
309
  "cell_type": "code",
310
- "execution_count": 8,
310
+ "execution_count": 7,
311
311
  "metadata": {},
312
312
  "outputs": [
313
313
  {
314
314
  "data": {
315
315
  "application/vnd.jupyter.widget-view+json": {
316
- "model_id": "1c460900e3344172a0923b8a553dc335",
316
+ "model_id": "4f862fa39f0444e19e8aba63adc5dcbe",
317
317
  "version_major": 2,
318
318
  "version_minor": 0
319
319
  },
@@ -347,13 +347,13 @@
347
347
  },
348
348
  {
349
349
  "cell_type": "code",
350
- "execution_count": 10,
350
+ "execution_count": 8,
351
351
  "metadata": {},
352
352
  "outputs": [
353
353
  {
354
354
  "data": {
355
355
  "application/vnd.jupyter.widget-view+json": {
356
- "model_id": "96f8871c33714eb7aac5af5e485df8da",
356
+ "model_id": "c7baaa8b023e48648c27b988f617ce90",
357
357
  "version_major": 2,
358
358
  "version_minor": 0
359
359
  },
@@ -395,7 +395,7 @@
395
395
  },
396
396
  {
397
397
  "cell_type": "code",
398
- "execution_count": 11,
398
+ "execution_count": 9,
399
399
  "metadata": {
400
400
  "scrolled": true
401
401
  },
@@ -403,7 +403,7 @@
403
403
  {
404
404
  "data": {
405
405
  "application/vnd.jupyter.widget-view+json": {
406
- "model_id": "d62db33df0e8460f88deb7d27cb401ce",
406
+ "model_id": "d6a69e3020b84b22999e421cd02eb5ed",
407
407
  "version_major": 2,
408
408
  "version_minor": 0
409
409
  },
@@ -432,7 +432,7 @@
432
432
  },
433
433
  {
434
434
  "cell_type": "code",
435
- "execution_count": 12,
435
+ "execution_count": 10,
436
436
  "metadata": {
437
437
  "scrolled": false
438
438
  },
@@ -440,7 +440,7 @@
440
440
  {
441
441
  "data": {
442
442
  "application/vnd.jupyter.widget-view+json": {
443
- "model_id": "cff9731983e34e5ab6bae9eb172559d0",
443
+ "model_id": "a7fe055237e04c91adb52dae525e7b01",
444
444
  "version_major": 2,
445
445
  "version_minor": 0
446
446
  },
@@ -488,13 +488,13 @@
488
488
  },
489
489
  {
490
490
  "cell_type": "code",
491
- "execution_count": 14,
491
+ "execution_count": 11,
492
492
  "metadata": {},
493
493
  "outputs": [
494
494
  {
495
495
  "data": {
496
496
  "application/vnd.jupyter.widget-view+json": {
497
- "model_id": "ee86cc716b2d4526b7466a5f17978f8f",
497
+ "model_id": "f248871830ca4347a74fa9d72f57eb1d",
498
498
  "version_major": 2,
499
499
  "version_minor": 0
500
500
  },
@@ -526,13 +526,13 @@
526
526
  },
527
527
  {
528
528
  "cell_type": "code",
529
- "execution_count": 16,
529
+ "execution_count": 12,
530
530
  "metadata": {},
531
531
  "outputs": [
532
532
  {
533
533
  "data": {
534
534
  "application/vnd.jupyter.widget-view+json": {
535
- "model_id": "22f85427ae774415bd246912af1a7690",
535
+ "model_id": "d962e61f2d9d4c2fba952089e171f36d",
536
536
  "version_major": 2,
537
537
  "version_minor": 0
538
538
  },
@@ -573,13 +573,13 @@
573
573
  },
574
574
  {
575
575
  "cell_type": "code",
576
- "execution_count": 17,
576
+ "execution_count": 13,
577
577
  "metadata": {},
578
578
  "outputs": [
579
579
  {
580
580
  "data": {
581
581
  "application/vnd.jupyter.widget-view+json": {
582
- "model_id": "02f57c08851948e4b19d8fa04d84ea5c",
582
+ "model_id": "d4cef03fa60f436e929eeb541808dc62",
583
583
  "version_major": 2,
584
584
  "version_minor": 0
585
585
  },
@@ -620,13 +620,13 @@
620
620
  },
621
621
  {
622
622
  "cell_type": "code",
623
- "execution_count": 18,
623
+ "execution_count": 14,
624
624
  "metadata": {},
625
625
  "outputs": [
626
626
  {
627
627
  "data": {
628
628
  "application/vnd.jupyter.widget-view+json": {
629
- "model_id": "24e23c02db6a42d6bd96e43fab87a0aa",
629
+ "model_id": "f2dafc198d9441b380266cdedc1fccab",
630
630
  "version_major": 2,
631
631
  "version_minor": 0
632
632
  },
@@ -660,8 +660,7 @@
660
660
  "source": [
661
661
  "Our distribution gets smoother as the number of repetitions increases since we have more proportions to plot. However, the spread of the distribution remains the same.\n",
662
662
  "\n",
663
- "#### Results",
664
- "\n",
663
+ "#### Results\n",
665
664
  "Through simulation, we've shown that increasing the sample size causes our distribution of proportions to become more narrowly distributed. Increasing the number of repetitions makes our distribution look smoother when plotted but doesn't affect the distribution spread.\n",
666
665
  "\n",
667
666
  "We've also seen through increasing the sample size shows that our distribution is centered at 0.66. This implies that the probability of winning the Monty Hall game when switching is around 0.66, and thus the probability of winning the Monty Hall game when staying is around 0.33."