Skip to content

Commit 9317372

Browse files
committed
added pdf versions of inference/models for 2/29 lectures
1 parent 0dc19eb commit 9317372

File tree

6 files changed

+14
-227
lines changed

6 files changed

+14
-227
lines changed

.gitignore

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
.DS_Store
2-
homework/.DS_Store
3-
1+
*.DS_Store
2+
*.Rhistory

lectures/inference/aggregators.html

-221
This file was deleted.

lectures/inference/inference.Rmd

+7-2
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ What do you see?
642642
A - A flat line
643643
B - Exactly a straight line
644644
C - Almost a straight line with some points off
645-
D - The function $ f(x)=\sqrt(x)$
645+
D - The function $f(x)=\sqrt(x)$
646646

647647
```{r}
648648
p_hat <- polls$Obama/100
@@ -652,6 +652,11 @@ plot(N, polls$observations)
652652
abline(0,1)
653653
```
654654

655+
656+
## In-class questions: 2/29/2016
657+
We're going to try something new today. If you have small technical questions during class, go to this [link](https://docs.google.com/document/d/1rClyG2ZMoTM9tER9zjXCBT-26lrpuIH_oSkCLCI6pII/edit?usp=sharing) and ask away.
658+
659+
655660
## p-values
656661

657662
p-values are ubiquitous in the scientific literature. They are related to confidence interval so we introduce the concept here.
@@ -670,7 +675,7 @@ $$
670675

671676
is standard normal. So we can compute the probability above, which is the p-value.
672677

673-
$$\mbox{Pr}(\sqrt{N}\frac{\mid \hat{p} - 0.5\mid}{\sqrt{0.5(1-0.5)}}> \sqrt{N} 0.03/ \sqrt{0.5(1-0.5)) $$
678+
$$\mbox{Pr}\left(\sqrt{N}\frac{\mid \hat{p} - 0.5\mid}{\sqrt{0.5(1-0.5)}} > \sqrt{N} \frac{0.03}{ \sqrt{0.5(1-0.5)}}\right)$$
674679

675680

676681
```{r}

lectures/inference/inference.pdf

2.09 MB
Binary file not shown.

lectures/inference/models.Rmd

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
---
22
title: "Models"
3-
output: html_document
3+
output: pdf_document
44
fontsize: 12pt
55
---
66

7+
## In-class questions: 2/29/2016
8+
We're going to try something new today. If you have small technical questions during class, go to this [link](https://docs.google.com/document/d/1rClyG2ZMoTM9tER9zjXCBT-26lrpuIH_oSkCLCI6pII/edit?usp=sharing) and ask away.
9+
10+
711
# Statistical Models
812

913
"All models are wrong, but some are useful" -George E. P. Box

lectures/inference/models.pdf

283 KB
Binary file not shown.

0 commit comments

Comments
 (0)