Skip to content

Commit 0f9121f

Browse files
committed
fix incorrect inequality
1 parent ff9ee06 commit 0f9121f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Chapter2_MorePyMC/MorePyMC.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@
670670
"\n",
671671
"### A Simple Case\n",
672672
"\n",
673-
"As this is a hacker book, we'll continue with the web-dev example. For the moment, we will focus on the analysis of site A only. Assume that there is a true $0 \\lt p_A \\gt 1$ probability that users who, upon shown site A, eventually purchase from the site. This is the true effectiveness of site A. Unfortunately, this quantity is unknown to us. \n",
673+
"As this is a hacker book, we'll continue with the web-dev example. For the moment, we will focus on the analysis of site A only. Assume that there is a true $0 \\lt p_A \\lt 1$ probability that users who, upon shown site A, eventually purchase from the site. This is the true effectiveness of site A. Unfortunately, this quantity is unknown to us. \n",
674674
"\n",
675675
"Suppose site A was shown to $N$ people, and $n$ people purchased from the site. The *observed frequency* $\\frac{n}{N}$ does not necessarily equal $p_A$ -- there is a difference between the *observed frequency* and the *true frequency* of an event. The true frequency can be interpreted as the probability of an event occurring. For example, the true frequency of rolling a 1 on a 6-sided die is 0.166. Knowing the frequency of events like fraction of users who make purchases, frequency of social attributes, percent of internet users with cats etc. are common requests we ask of Nature. Unfortunately, in general Nature hides the true frequency from us and we must *infer* it from observed data.\n",
676676
"\n",
@@ -2437,4 +2437,4 @@
24372437
"metadata": {}
24382438
}
24392439
]
2440-
}
2440+
}

0 commit comments

Comments
 (0)