Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1a2c0f2

Browse files
Correct five minor typos in notebooks (#96)
Edits made using the following bash commands `find . -name "*.ipynb" -exec sed -i '' s/wondereful/wonderful/g {} +` `find . -name "*.ipynb" -exec sed -i '' s/probabilty/probability/g {} +` `find . -name "*.ipynb" -exec sed -i '' s/sensitivy/sensitivity/g {} +` `find . -name "*.ipynb" -exec sed -i "" s/'of of'/'is of'/g {} +` `find . -name "*.ipynb" -exec sed -i "" s/'is know as'/'is known as'/g {} +`
1 parent f460833 commit 1a2c0f2

20 files changed

+64
-64
lines changed

‎notebooks/01a-instructor-probability-simulation.ipynb‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@
6060
"source": [
6161
"What type of random phenomena are we talking about here? One example is:\n",
6262
"\n",
63-
"- Knowing that a website has a click-through rate (CTR) of 10%, we can calculate the probabilty of having 10 people, 9 people, 8 people ... and so on click through, upon drawing 10 people randomly from the population;\n",
63+
"- Knowing that a website has a click-through rate (CTR) of 10%, we can calculate the probability of having 10 people, 9 people, 8 people ... and so on click through, upon drawing 10 people randomly from the population;\n",
6464
"- But given the data of how many people click through, how can we calculate the CTR? And how certain can we be of this CTR? Or how likely is a particular CTR?\n",
6565
"\n",
66-
"Science mostly asks questions of the second form above & Bayesian thinking provides a wondereful framework for answering such questions. Essentially Bayes' Theorem gives us a way of moving from the probability of the data given the model (written as $P(data|model)$) to the probability of the model given the data ($P(model|data)$).\n",
66+
"Science mostly asks questions of the second form above & Bayesian thinking provides a wonderful framework for answering such questions. Essentially Bayes' Theorem gives us a way of moving from the probability of the data given the model (written as $P(data|model)$) to the probability of the model given the data ($P(model|data)$).\n",
6767
"\n",
6868
"We'll first explore questions of the 1st type using simulation: knowing the model, what is the probability of seeing certain data?"
6969
]
@@ -191,7 +191,7 @@
191191
"cell_type": "markdown",
192192
"metadata": {},
193193
"source": [
194-
"**Note:** Although, in the above, we have described _probability_ in two ways, we have not described it mathematically. We're not going to do so rigorously here, but we will say that _probabilty_ defines a function from the space of possibilities (in the above, the interval $[0,1]$) that describes how likely it is to get a particular point or region in that space. Mike Betancourt has an elegant [Introduction to Probability Theory (For Scientists and Engineers)](https://betanalpha.github.io/assets/case_studies/probability_theory.html) that I can recommend."
194+
"**Note:** Although, in the above, we have described _probability_ in two ways, we have not described it mathematically. We're not going to do so rigorously here, but we will say that _probability_ defines a function from the space of possibilities (in the above, the interval $[0,1]$) that describes how likely it is to get a particular point or region in that space. Mike Betancourt has an elegant [Introduction to Probability Theory (For Scientists and Engineers)](https://betanalpha.github.io/assets/case_studies/probability_theory.html) that I can recommend."
195195
]
196196
},
197197
{
@@ -234,7 +234,7 @@
234234
"cell_type": "markdown",
235235
"metadata": {},
236236
"source": [
237-
"_Discussion point_: This model is know as the bias coin flip. \n",
237+
"_Discussion point_: This model is known as the bias coin flip. \n",
238238
"- Can you see why?\n",
239239
"- Can it be used to model other phenomena?"
240240
]

‎notebooks/01a-student-probability-simulation.ipynb‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@
6060
"source": [
6161
"What type of random phenomena are we talking about here? One example is:\n",
6262
"\n",
63-
"- Knowing that a website has a click-through rate (CTR) of 10%, we can calculate the probabilty of having 10 people, 9 people, 8 people ... and so on click through, upon drawing 10 people randomly from the population;\n",
63+
"- Knowing that a website has a click-through rate (CTR) of 10%, we can calculate the probability of having 10 people, 9 people, 8 people ... and so on click through, upon drawing 10 people randomly from the population;\n",
6464
"- But given the data of how many people click through, how can we calculate the CTR? And how certain can we be of this CTR? Or how likely is a particular CTR?\n",
6565
"\n",
66-
"Science mostly asks questions of the second form above & Bayesian thinking provides a wondereful framework for answering such questions. Essentially Bayes' Theorem gives us a way of moving from the probability of the data given the model (written as $P(data|model)$) to the probability of the model given the data ($P(model|data)$).\n",
66+
"Science mostly asks questions of the second form above & Bayesian thinking provides a wonderful framework for answering such questions. Essentially Bayes' Theorem gives us a way of moving from the probability of the data given the model (written as $P(data|model)$) to the probability of the model given the data ($P(model|data)$).\n",
6767
"\n",
6868
"We'll first explore questions of the 1st type using simulation: knowing the model, what is the probability of seeing certain data?"
6969
]
@@ -156,7 +156,7 @@
156156
"cell_type": "markdown",
157157
"metadata": {},
158158
"source": [
159-
"**Note:** Although, in the above, we have described _probability_ in two ways, we have not described it mathematically. We're not going to do so rigorously here, but we will say that _probabilty_ defines a function from the space of possibilities (in the above, the interval $[0,1]$) that describes how likely it is to get a particular point or region in that space. Mike Betancourt has an elegant [Introduction to Probability Theory (For Scientists and Engineers)](https://betanalpha.github.io/assets/case_studies/probability_theory.html) that I can recommend."
159+
"**Note:** Although, in the above, we have described _probability_ in two ways, we have not described it mathematically. We're not going to do so rigorously here, but we will say that _probability_ defines a function from the space of possibilities (in the above, the interval $[0,1]$) that describes how likely it is to get a particular point or region in that space. Mike Betancourt has an elegant [Introduction to Probability Theory (For Scientists and Engineers)](https://betanalpha.github.io/assets/case_studies/probability_theory.html) that I can recommend."
160160
]
161161
},
162162
{
@@ -190,7 +190,7 @@
190190
"cell_type": "markdown",
191191
"metadata": {},
192192
"source": [
193-
"_Discussion point_: This model is know as the bias coin flip. \n",
193+
"_Discussion point_: This model is known as the bias coin flip. \n",
194194
"- Can you see why?\n",
195195
"- Can it be used to model other phenomena?"
196196
]

‎notebooks/01b-instructor-joint-conditional-probability.ipynb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@
273273
"cell_type": "markdown",
274274
"metadata": {},
275275
"source": [
276-
"Now that we have a grasp on joint probabilities, lets consider conditional probabilities, that is, the probability of some $A,ドル knowing that some other $B$ is true. We use the notation $P(A|B)$ to denote this. For example, you can ask the question \"What is the probability of a finch beak having depth $<10,ドル knowing that the finch of of species 'fortis'?\""
276+
"Now that we have a grasp on joint probabilities, lets consider conditional probabilities, that is, the probability of some $A,ドル knowing that some other $B$ is true. We use the notation $P(A|B)$ to denote this. For example, you can ask the question \"What is the probability of a finch beak having depth $<10,ドル knowing that the finch is of species 'fortis'?\""
277277
]
278278
},
279279
{

‎notebooks/01b-student-joint-conditional-probability.ipynb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
"cell_type": "markdown",
210210
"metadata": {},
211211
"source": [
212-
"Now that we have a grasp on joint probabilities, lets consider conditional probabilities, that is, the probability of some $A,ドル knowing that some other $B$ is true. We use the notation $P(A|B)$ to denote this. For example, you can ask the question \"What is the probability of a finch beak having depth $<10,ドル knowing that the finch of of species 'fortis'?\""
212+
"Now that we have a grasp on joint probabilities, lets consider conditional probabilities, that is, the probability of some $A,ドル knowing that some other $B$ is true. We use the notation $P(A|B)$ to denote this. For example, you can ask the question \"What is the probability of a finch beak having depth $<10,ドル knowing that the finch is of species 'fortis'?\""
213213
]
214214
},
215215
{

‎notebooks/ODSC-East-2020年04月14日/01-Instructor-Probability_a_simulated_introduction.ipynb‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@
6262
"source": [
6363
"What type of random phenomena are we talking about here? One example is:\n",
6464
"\n",
65-
"- Knowing that a website has a click-through rate (CTR) of 10%, we can calculate the probabilty of having 10 people, 9 people, 8 people ... and so on click through, upon drawing 10 people randomly from the population;\n",
65+
"- Knowing that a website has a click-through rate (CTR) of 10%, we can calculate the probability of having 10 people, 9 people, 8 people ... and so on click through, upon drawing 10 people randomly from the population;\n",
6666
"- But given the data of how many people click through, how can we calculate the CTR? And how certain can we be of this CTR? Or how likely is a particular CTR?\n",
6767
"\n",
68-
"Science mostly asks questions of the second form above & Bayesian thinking provides a wondereful framework for answering such questions. Essentially Bayes' Theorem gives us a way of moving from the probability of the data given the model (written as $P(data|model)$) to the probability of the model given the data ($P(model|data)$).\n",
68+
"Science mostly asks questions of the second form above & Bayesian thinking provides a wonderful framework for answering such questions. Essentially Bayes' Theorem gives us a way of moving from the probability of the data given the model (written as $P(data|model)$) to the probability of the model given the data ($P(model|data)$).\n",
6969
"\n",
7070
"We'll first explore questions of the 1st type using simulation: knowing the model, what is the probability of seeing certain data?"
7171
]
@@ -189,7 +189,7 @@
189189
"cell_type": "markdown",
190190
"metadata": {},
191191
"source": [
192-
"**Note:** Although, in the above, we have described _probability_ in two ways, we have not described it mathematically. We're not going to do so rigorously here, but we will say that _probabilty_ defines a function from the space of possibilities (in the above, the interval $[0,1]$) that describes how likely it is to get a particular point or region in that space. Mike Betancourt has an elegant [Introduction to Probability Theory (For Scientists and Engineers)](https://betanalpha.github.io/assets/case_studies/probability_theory.html) that I can recommend."
192+
"**Note:** Although, in the above, we have described _probability_ in two ways, we have not described it mathematically. We're not going to do so rigorously here, but we will say that _probability_ defines a function from the space of possibilities (in the above, the interval $[0,1]$) that describes how likely it is to get a particular point or region in that space. Mike Betancourt has an elegant [Introduction to Probability Theory (For Scientists and Engineers)](https://betanalpha.github.io/assets/case_studies/probability_theory.html) that I can recommend."
193193
]
194194
},
195195
{
@@ -232,7 +232,7 @@
232232
"cell_type": "markdown",
233233
"metadata": {},
234234
"source": [
235-
"_Discussion point_: This model is know as the bias coin flip. \n",
235+
"_Discussion point_: This model is known as the bias coin flip. \n",
236236
"- Can you see why?\n",
237237
"- Can it be used to model other phenomena?"
238238
]
@@ -1430,7 +1430,7 @@
14301430
"cell_type": "markdown",
14311431
"metadata": {},
14321432
"source": [
1433-
"Now that we have a grasp on joint probabilities, lets consider conditional probabilities, that is, the probability of some $A,ドル knowing that some other $B$ is true. We use the notation $P(A|B)$ to denote this. For example, you can ask the question \"What is the probability of a finch beak having depth $<10,ドル knowing that the finch of of species 'fortis'?\""
1433+
"Now that we have a grasp on joint probabilities, lets consider conditional probabilities, that is, the probability of some $A,ドル knowing that some other $B$ is true. We use the notation $P(A|B)$ to denote this. For example, you can ask the question \"What is the probability of a finch beak having depth $<10,ドル knowing that the finch is of species 'fortis'?\""
14341434
]
14351435
},
14361436
{
@@ -1546,7 +1546,7 @@
15461546
"cell_type": "markdown",
15471547
"metadata": {},
15481548
"source": [
1549-
"**Question:** Suppose that a test for using a particular drug has 99% sensitivy (true positive rate) and 99% specificity (true negative rate), that is, a 1% false positive rate and 1% false negative rate. Suppose that 0.5% (5 in 1,000) of people are users of the drug. What is the probability that a randomly selected individual with a positive test is a drug user?\n",
1549+
"**Question:** Suppose that a test for using a particular drug has 99% sensitivity (true positive rate) and 99% specificity (true negative rate), that is, a 1% false positive rate and 1% false negative rate. Suppose that 0.5% (5 in 1,000) of people are users of the drug. What is the probability that a randomly selected individual with a positive test is a drug user?\n",
15501550
"\n",
15511551
"**If we can answer this, it will be really cool as it shows how we can move from knowing $P(+|user)$ to $P(user|+),ドル a MVP for being able to move from $P(data|model)$ to $P(model|data)$.**"
15521552
]

‎notebooks/ODSC-East-2020年04月14日/01-Student-Probability_a_simulated_introduction.ipynb‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@
6262
"source": [
6363
"What type of random phenomena are we talking about here? One example is:\n",
6464
"\n",
65-
"- Knowing that a website has a click-through rate (CTR) of 10%, we can calculate the probabilty of having 10 people, 9 people, 8 people ... and so on click through, upon drawing 10 people randomly from the population;\n",
65+
"- Knowing that a website has a click-through rate (CTR) of 10%, we can calculate the probability of having 10 people, 9 people, 8 people ... and so on click through, upon drawing 10 people randomly from the population;\n",
6666
"- But given the data of how many people click through, how can we calculate the CTR? And how certain can we be of this CTR? Or how likely is a particular CTR?\n",
6767
"\n",
68-
"Science mostly asks questions of the second form above & Bayesian thinking provides a wondereful framework for answering such questions. Essentially Bayes' Theorem gives us a way of moving from the probability of the data given the model (written as $P(data|model)$) to the probability of the model given the data ($P(model|data)$).\n",
68+
"Science mostly asks questions of the second form above & Bayesian thinking provides a wonderful framework for answering such questions. Essentially Bayes' Theorem gives us a way of moving from the probability of the data given the model (written as $P(data|model)$) to the probability of the model given the data ($P(model|data)$).\n",
6969
"\n",
7070
"We'll first explore questions of the 1st type using simulation: knowing the model, what is the probability of seeing certain data?"
7171
]
@@ -156,7 +156,7 @@
156156
"cell_type": "markdown",
157157
"metadata": {},
158158
"source": [
159-
"**Note:** Although, in the above, we have described _probability_ in two ways, we have not described it mathematically. We're not going to do so rigorously here, but we will say that _probabilty_ defines a function from the space of possibilities (in the above, the interval $[0,1]$) that describes how likely it is to get a particular point or region in that space. Mike Betancourt has an elegant [Introduction to Probability Theory (For Scientists and Engineers)](https://betanalpha.github.io/assets/case_studies/probability_theory.html) that I can recommend."
159+
"**Note:** Although, in the above, we have described _probability_ in two ways, we have not described it mathematically. We're not going to do so rigorously here, but we will say that _probability_ defines a function from the space of possibilities (in the above, the interval $[0,1]$) that describes how likely it is to get a particular point or region in that space. Mike Betancourt has an elegant [Introduction to Probability Theory (For Scientists and Engineers)](https://betanalpha.github.io/assets/case_studies/probability_theory.html) that I can recommend."
160160
]
161161
},
162162
{
@@ -190,7 +190,7 @@
190190
"cell_type": "markdown",
191191
"metadata": {},
192192
"source": [
193-
"_Discussion point_: This model is know as the bias coin flip. \n",
193+
"_Discussion point_: This model is known as the bias coin flip. \n",
194194
"- Can you see why?\n",
195195
"- Can it be used to model other phenomena?"
196196
]
@@ -1072,7 +1072,7 @@
10721072
"cell_type": "markdown",
10731073
"metadata": {},
10741074
"source": [
1075-
"Now that we have a grasp on joint probabilities, lets consider conditional probabilities, that is, the probability of some $A,ドル knowing that some other $B$ is true. We use the notation $P(A|B)$ to denote this. For example, you can ask the question \"What is the probability of a finch beak having depth $<10,ドル knowing that the finch of of species 'fortis'?\""
1075+
"Now that we have a grasp on joint probabilities, lets consider conditional probabilities, that is, the probability of some $A,ドル knowing that some other $B$ is true. We use the notation $P(A|B)$ to denote this. For example, you can ask the question \"What is the probability of a finch beak having depth $<10,ドル knowing that the finch is of species 'fortis'?\""
10761076
]
10771077
},
10781078
{
@@ -1155,7 +1155,7 @@
11551155
"cell_type": "markdown",
11561156
"metadata": {},
11571157
"source": [
1158-
"**Question:** Suppose that a test for using a particular drug has 99% sensitivy (true positive rate) and 99% specificity (true negative rate), that is, a 1% false positive rate and 1% false negative rate. Suppose that 0.5% (5 in 1,000) of people are users of the drug. What is the probability that a randomly selected individual with a positive test is a drug user?\n",
1158+
"**Question:** Suppose that a test for using a particular drug has 99% sensitivity (true positive rate) and 99% specificity (true negative rate), that is, a 1% false positive rate and 1% false negative rate. Suppose that 0.5% (5 in 1,000) of people are users of the drug. What is the probability that a randomly selected individual with a positive test is a drug user?\n",
11591159
"\n",
11601160
"**If we can answer this, it will be really cool as it shows how we can move from knowing $P(+|user)$ to $P(user|+),ドル a MVP for being able to move from $P(data|model)$ to $P(model|data)$.**"
11611161
]

‎notebooks/ODSC-East-2020年04月14日/02-Instructor-Parameter_estimation_hypothesis_testing.ipynb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@
488488
"cell_type": "markdown",
489489
"metadata": {},
490490
"source": [
491-
"To specify the full probabilty model, you need\n",
491+
"To specify the full probability model, you need\n",
492492
"- a likelihood function for the data &\n",
493493
"- priors for all unknowns.\n",
494494
"\n",

‎notebooks/ODSC-East-2020年04月14日/02-Student-Parameter_estimation_hypothesis_testing.ipynb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@
407407
"cell_type": "markdown",
408408
"metadata": {},
409409
"source": [
410-
"To specify the full probabilty model, you need\n",
410+
"To specify the full probability model, you need\n",
411411
"- a likelihood function for the data &\n",
412412
"- priors for all unknowns.\n",
413413
"\n",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /