Skip to content

Commit 63e09d5

Browse files
committed
some additions/corrections
1 parent d24a517 commit 63e09d5

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

6_STATINFERENCE/Statistical Inference Course Notes.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ grid.raster(readPNG("figures/3.png"))
6868
### Conditional Probability
6969
* let B = an event so that $P(B) > 0$
7070
* **conditional probability** of an event A, given B is defined as the probability that BOTH A and B occurring divided by the probability of B occurring $$P(A\:|\:B) = \frac{P(A \:\cap\: B)}{P(B)}$$
71-
* if A and B are ***independent***, then $$P(A\:|\:B) = \frac{P(A)P(B)}{P(A)} = P(A)$$
71+
* if A and B are ***independent***, then $$P(A\:|\:B) = \frac{P(A)P(B)}{P(B)} = P(A)$$
7272
* ***example***
7373
* for die roll, $A = \{1\}$, $B = \{1, 3, 5\}$, then $$P(1~|~Odd) = P(A\:|\:B) = \frac{P(A \cap B)}{P(B)} = \frac{P(A)}{P(B)} = \frac{1/6}{3/6} = \frac{1}{3}$$
7474

@@ -103,8 +103,8 @@ $\pagebreak$
103103

104104
### Probability Density Function (PDF)
105105
* evaluates the probability that the **continuous random variable** takes on a specific value
106-
* always $\ge$ everywhere
107-
* total area under the must = 1
106+
* always $\ge$ 0 everywhere
107+
* total area under curve must = 1
108108
* **areas under PDFs** correspond to the probabilities for that random variable taking on that range of values (PMF)
109109

110110
```{r echo = FALSE, fig.width = 2, fig.height = 2, fig.align = 'center'}

8_PREDMACHLEARN/Practical Machine Learning Course Notes HTML.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ grid.raster(readPNG("figures/10.png"))
277277
* ***considerations***
278278
- must be done _without replacement_
279279
- random sampling with replacement = _bootstrap_
280-
+ underestimates of the error
281-
+ can be corrected, but it is complicated ([0.632 Bootstrap](http://www.jstor.org/discover/10.2307/2965703?uid=2&uid=4&sid=21103054448997))
280+
+ underestimates of the error, since the if we get one right and the sample appears more than once we'll get the other right
281+
+ can be corrected with the ([0.632 Bootstrap](http://www.jstor.org/discover/10.2307/2965703?uid=2&uid=4&sid=21103054448997)), but it is complicated
282282

283283

284284
### K-Fold

8_PREDMACHLEARN/Practical Machine Learning Course Notes.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ grid.raster(readPNG("figures/10.png"))
278278
* ***considerations***
279279
- must be done _without replacement_
280280
- random sampling with replacement = _bootstrap_
281-
+ underestimates of the error
282-
+ can be corrected, but it is complicated ([0.632 Bootstrap](http://www.jstor.org/discover/10.2307/2965703?uid=2&uid=4&sid=21103054448997))
281+
+ underestimates of the error, since the if we get one right and the sample appears more than once we'll get the other right
282+
+ can be corrected with the ([0.632 Bootstrap](http://www.jstor.org/discover/10.2307/2965703?uid=2&uid=4&sid=21103054448997)), but it is complicated
283283

284284

285285
### K-Fold

9_DEVDATAPROD/Developing Data Products Course Notes HTML.Rmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ mode : selfcontained # {standalone, draft}
590590
* advanced HTML can be added directly to the `index.Rmd` file and most of the time it should function correctly
591591
* interactive element (quiz questions, rCharts, shiny apps) can be embedded into slidify documents ([demos](http://slidify.github.io/dcmeetup/demos/interactive/))
592592
- quiz elements
593+
+ `--- &radio` before slide content for multiple choice (make sure quiz is included in widgets)
593594
+ `##` = signifies title of questions
594595
+ the question can be type in plain text format
595596
+ the multiple choice options are listed by number (`1. a`, `2. b`, etc.)
@@ -599,6 +600,9 @@ mode : selfcontained # {standalone, draft}
599600
+ a page like the one below will be generated when processed with slidify
600601

601602
```Rmd
603+
604+
--- &radio
605+
602606
## Question 1
603607

604608
What is 1 + 1?

0 commit comments

Comments
 (0)