Skip to content

Commit

Permalink
fix typo in bayesian tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
dariodandrea committed Dec 15, 2021
1 parent 4bc138a commit 632d059
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
11 changes: 5 additions & 6 deletions docs/src/tutorials/AnalysisBayesianApproach.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@
"purchase_contr = 470\n",
"purchase_treat = 500\n",
"\n",
"\n",
"# Total number of users\n",
"total_usr_treat = 5000\n",
"total_usr_contr = 5000"
Expand All @@ -186,12 +185,12 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Probability that mean revenue(treatment) is greater than mean revenue(control) = 84.45%\n"
"Probability that purchase(treatment) is greater than purchase proportion(control) = 84.45%\n"
]
}
],
"source": [
"print('Probability that mean revenue(treatment) is greater than mean revenue(control) = {:.2%}'.format(prob))"
"print('Probability that purchase(treatment) is greater than purchase proportion(control) = {:.2%}'.format(prob))"
]
},
{
Expand Down Expand Up @@ -677,9 +676,9 @@
"metadata": {
"hide_input": false,
"kernelspec": {
"display_name": "Python 3",
"display_name": "mab",
"language": "python",
"name": "python3"
"name": "mab"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -691,7 +690,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.6"
"version": "3.9.5"
},
"pycharm": {
"stem_cell": {
Expand Down
5 changes: 2 additions & 3 deletions docs/tutorials/AnalysisBayesianApproach.html
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,6 @@ <h2>Compare proportions<a class="headerlink" href="#Compare-proportions" title="
<span class="n">purchase_contr</span> <span class="o">=</span> <span class="mi">470</span>
<span class="n">purchase_treat</span> <span class="o">=</span> <span class="mi">500</span>


<span class="c1"># Total number of users</span>
<span class="n">total_usr_treat</span> <span class="o">=</span> <span class="mi">5000</span>
<span class="n">total_usr_contr</span> <span class="o">=</span> <span class="mi">5000</span>
Expand All @@ -591,7 +590,7 @@ <h2>Compare proportions<a class="headerlink" href="#Compare-proportions" title="
</pre></div>
</div>
<div class="input_area highlight-ipython3 notranslate"><div class="highlight"><pre>
<span></span><span class="nb">print</span><span class="p">(</span><span class="s1">&#39;Probability that mean revenue(treatment) is greater than mean revenue(control) = </span><span class="si">{:.2%}</span><span class="s1">&#39;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">prob</span><span class="p">))</span>
<span></span><span class="nb">print</span><span class="p">(</span><span class="s1">&#39;Probability that purchase(treatment) is greater than purchase proportion(control) = </span><span class="si">{:.2%}</span><span class="s1">&#39;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">prob</span><span class="p">))</span>
</pre></div>
</div>
</div>
Expand All @@ -600,7 +599,7 @@ <h2>Compare proportions<a class="headerlink" href="#Compare-proportions" title="
</div>
<div class="output_area docutils container">
<div class="highlight"><pre>
Probability that mean revenue(treatment) is greater than mean revenue(control) = 84.45%
Probability that purchase(treatment) is greater than purchase proportion(control) = 84.45%
</pre></div></div>
</div>
<div class="nbinput docutils container">
Expand Down
11 changes: 5 additions & 6 deletions docs/tutorials/AnalysisBayesianApproach.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@
"purchase_contr = 470\n",
"purchase_treat = 500\n",
"\n",
"\n",
"# Total number of users\n",
"total_usr_treat = 5000\n",
"total_usr_contr = 5000"
Expand All @@ -186,12 +185,12 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Probability that mean revenue(treatment) is greater than mean revenue(control) = 84.45%\n"
"Probability that purchase(treatment) is greater than purchase proportion(control) = 84.45%\n"
]
}
],
"source": [
"print('Probability that mean revenue(treatment) is greater than mean revenue(control) = {:.2%}'.format(prob))"
"print('Probability that purchase(treatment) is greater than purchase proportion(control) = {:.2%}'.format(prob))"
]
},
{
Expand Down Expand Up @@ -677,9 +676,9 @@
"metadata": {
"hide_input": false,
"kernelspec": {
"display_name": "Python 3",
"display_name": "mab",
"language": "python",
"name": "python3"
"name": "mab"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -691,7 +690,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.6"
"version": "3.9.5"
},
"pycharm": {
"stem_cell": {
Expand Down

0 comments on commit 632d059

Please sign in to comment.