Skip to content

Commit cc53ff3

Browse files
committed
update iv
1 parent c9d345f commit cc53ff3

File tree

9 files changed

+297
-255
lines changed

9 files changed

+297
-255
lines changed

css/scpo.css

+7
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,13 @@ a, a > code {
110110
width: 48%;
111111
}
112112

113+
.center {
114+
margin: auto;
115+
width: 60%;
116+
padding: 10px;
117+
text-align: center;
118+
}
119+
113120
.pull-right ~ * {
114121
clear: both;
115122
}

lectures/04-IV/04-IV.Rmd

+10-5
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ knitr::opts_chunk$set(
3939
om = par("mar")
4040
lowtop = c(om[1],om[2],0.1,om[4])
4141
library(magrittr)
42+
library(ggplot2)
4243
4344
```
4445

@@ -171,11 +172,15 @@ knitr::include_graphics("../../img/father-thames.jpg")
171172
background-image: url(../../img/slum.jpg)
172173
background-size: cover
173174

174-
.pull-right[
175+
---
176+
background-image: url(../../img/slum.jpg)
177+
background-size: cover
178+
179+
.center[
175180
<br>
176181
<br>
177182
<br>
178-
.red[
183+
.white[
179184
## In 1850:
180185

181186

@@ -185,7 +190,7 @@ background-size: cover
185190

186191
* Most human pathogens are not visible to the naked eye.
187192

188-
* The so-called *infection theory* (i.e. infection via *germs*) has some supporters,
193+
* The so-called *infection theory* (i.e. infection via *germs*) has some supporters,
189194

190195
* but the dominant idea is that disease, in general, results from [*miasmas*](https://en.wikipedia.org/wiki/Miasma_theory)
191196
]
@@ -215,7 +220,7 @@ background-size: 800px
215220

216221
--
217222

218-
.center[May the force be with you. (click [here!](https://itempool.com/floswald/c/pahhozoDAnF))]
223+
.center[May the force be with you. (click [here!](https://youtu.be/lNjrAXGRda4?si=Oj-MONvr9Exp-2xo))]
219224

220225

221226
---
@@ -347,7 +352,7 @@ class: separator, middle
347352

348353
# We Need A Model.
349354

350-
## Because: *It takes a model to beat a model*
355+
## Because: *It takes a model to beat a model*. attributed to Thomas L Sargent.
351356

352357

353358

lectures/04-IV/04-IV.html

+36-8
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,39 @@
44
<title>ScPoEconometrics: Advanced</title>
55
<meta charset="utf-8" />
66
<meta name="author" content="Florian Oswald" />
7+
<script src="libs/header-attrs/header-attrs.js"></script>
78
<link href="libs/remark-css/default.css" rel="stylesheet" />
89
<script src="https://use.fontawesome.com/5235085b15.js"></script>
9-
10+
1011
<!-- Global site tag (gtag.js) - Google Analytics -->
1112
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-41584331-6"></script>
1213
<script>
1314
window.dataLayer = window.dataLayer || [];
1415
function gtag(){dataLayer.push(arguments);}
1516
gtag('js', new Date());
16-
17+
1718
gtag('config', 'UA-41584331-6');
1819
</script>
20+
1921
<link rel="stylesheet" href="../../css/scpo.css" type="text/css" />
2022
<link rel="stylesheet" href="../../css/scpo-fonts.css" type="text/css" />
2123
</head>
2224
<body>
2325
<textarea id="source">
2426
class: center, middle, inverse, title-slide
2527

28+
.title[
2629
# ScPoEconometrics: Advanced
30+
]
31+
.subtitle[
2732
## Instrumental Variables
33+
]
34+
.author[
2835
### Florian Oswald
29-
### SciencesPo Paris </br> 2020-10-07
36+
]
37+
.date[
38+
### SciencesPo Paris </br> 2024-03-05
39+
]
3040

3141
---
3242

@@ -148,11 +158,15 @@
148158
background-image: url(../../img/slum.jpg)
149159
background-size: cover
150160

151-
.pull-right[
161+
---
162+
background-image: url(../../img/slum.jpg)
163+
background-size: cover
164+
165+
.center[
152166
&lt;br&gt;
153167
&lt;br&gt;
154168
&lt;br&gt;
155-
.red[
169+
.white[
156170
## In 1850:
157171

158172

@@ -162,7 +176,7 @@
162176

163177
* Most human pathogens are not visible to the naked eye.
164178

165-
* The so-called *infection theory* (i.e. infection via *germs*) has some supporters,
179+
* The so-called *infection theory* (i.e. infection via *germs*) has some supporters,
166180

167181
* but the dominant idea is that disease, in general, results from [*miasmas*](https://en.wikipedia.org/wiki/Miasma_theory)
168182
]
@@ -192,7 +206,7 @@
192206

193207
--
194208

195-
.center[May the force be with you. (click [here!](https://itempool.com/floswald/c/pahhozoDAnF))]
209+
.center[May the force be with you. (click [here!](https://youtu.be/lNjrAXGRda4?si=Oj-MONvr9Exp-2xo))]
196210

197211

198212
---
@@ -309,7 +323,7 @@
309323

310324
# We Need A Model.
311325

312-
## Because: *It takes a model to beat a model*
326+
## Because: *It takes a model to beat a model*. attributed to Thomas L Sargent.
313327

314328

315329

@@ -550,6 +564,7 @@
550564
| &lt;a href="https://scpoecon.github.io/ScPoEconometrics"&gt;.ScPored[&lt;i class="fa fa-link fa-fw"&gt;&lt;/i&gt;] | Book |
551565
| &lt;a href="http://twitter.com/ScPoEcon"&gt;.ScPored[&lt;i class="fa fa-twitter fa-fw"&gt;&lt;/i&gt;] | @ScPoEcon |
552566
| &lt;a href="http://github.com/ScPoEcon"&gt;.ScPored[&lt;i class="fa fa-github fa-fw"&gt;&lt;/i&gt;] | @ScPoEcon |
567+
553568
</textarea>
554569
<style data-target="print-only">@media screen {.remark-slide-container{display:block;}.remark-slide-scaler{box-shadow:none;}}</style>
555570
<script src="https://remarkjs.com/downloads/remark-latest.min.js"></script>
@@ -599,6 +614,19 @@
599614
deleted = true;
600615
});
601616
})();
617+
// add `data-at-shortcutkeys` attribute to <body> to resolve conflicts with JAWS
618+
// screen reader (see PR #262)
619+
(function(d) {
620+
let res = {};
621+
d.querySelectorAll('.remark-help-content table tr').forEach(tr => {
622+
const t = tr.querySelector('td:nth-child(2)').innerText;
623+
tr.querySelectorAll('td:first-child .key').forEach(key => {
624+
const k = key.innerText;
625+
if (/^[a-z]$/.test(k)) res[k] = t; // must be a single letter (key)
626+
});
627+
});
628+
d.body.setAttribute('data-at-shortcutkeys', JSON.stringify(res));
629+
})(document);
602630
(function() {
603631
"use strict"
604632
// Replace <script> tags in slides area to make them executable

lectures/04-IV/04-IV_files/figure-html/dag1-1.svg

+15-15
Loading

lectures/04-IV/04-IV_files/figure-html/unnamed-chunk-2-1.svg

+39-39
Loading

0 commit comments

Comments
 (0)