Skip to content

Commit 5c4de5b

Browse files
committed
Fix grammatical errors in Chapter 4
there/their equally as/equally sample_size= 10000/sample_size = 10000
1 parent 5605ea5 commit 5c4de5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Chapter4_TheGreatestTheoremNeverTold/LawOfLargeNumbers.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"\n",
7373
"Below is a diagram of the Law of Large numbers in action for three different sequences of Poisson random variables. \n",
7474
"\n",
75-
" We sample `sample_size= 100000` Poisson random variables with parameter $\\lambda = 4.5$. (Recall the expected value of a Poisson random variable is equal to it's parameter.) We calculate the average for the first $n$ samples, for $n=1$ to `sample_size`. "
75+
" We sample `sample_size = 100000` Poisson random variables with parameter $\\lambda = 4.5$. (Recall the expected value of a Poisson random variable is equal to it's parameter.) We calculate the average for the first $n$ samples, for $n=1$ to `sample_size`. "
7676
]
7777
},
7878
{
@@ -1038,7 +1038,7 @@
10381038
"source": [
10391039
"##### Exercises\n",
10401040
"\n",
1041-
"1\\. How would you estimate the quantity $E\\left[ \\cos{X} \\right]$, where $X \\sim \\text{Exp}(4)$? What about $E\\left[ \\cos{X} | X \\lt 1\\right]$, i.e. the expected value *given* we know $X$ is less than 1? Would you need more samples than the original samples size to be equally as accurate?"
1041+
"1\\. How would you estimate the quantity $E\\left[ \\cos{X} \\right]$, where $X \\sim \\text{Exp}(4)$? What about $E\\left[ \\cos{X} | X \\lt 1\\right]$, i.e. the expected value *given* we know $X$ is less than 1? Would you need more samples than the original samples size to be equally accurate?"
10421042
]
10431043
},
10441044
{
@@ -1061,7 +1061,7 @@
10611061
"cell_type": "markdown",
10621062
"metadata": {},
10631063
"source": [
1064-
"2\\. The following table was located in the paper \"Going for Three: Predicting the Likelihood of Field Goal Success with Logistic Regression\" [2]. The table ranks football field-goal kickers by there percent of non-misses. What mistake have the researchers made?\n",
1064+
"2\\. The following table was located in the paper \"Going for Three: Predicting the Likelihood of Field Goal Success with Logistic Regression\" [2]. The table ranks football field-goal kickers by their percent of non-misses. What mistake have the researchers made?\n",
10651065
"\n",
10661066
"-----\n",
10671067
"\n",

0 commit comments

Comments
 (0)