Skip to content

Commit

Permalink
Merge pull request #18 from malcolmbarrett/misc_updates_pre_kp
Browse files Browse the repository at this point in the history
Misc updates pre KP
  • Loading branch information
malcolmbarrett authored Oct 21, 2021
2 parents 76d7893 + 29f648c commit be4b9a3
Show file tree
Hide file tree
Showing 23 changed files with 88 additions and 84 deletions.
Binary file modified slides/pdf/00-intro.pdf
Binary file not shown.
Binary file modified slides/pdf/01-causal_modeling_whole_game.pdf
Binary file not shown.
Binary file modified slides/pdf/02-dags.pdf
Binary file not shown.
Binary file modified slides/pdf/03-pscores.pdf
Binary file not shown.
Binary file modified slides/pdf/04-using-pscores.pdf
Binary file not shown.
Binary file modified slides/pdf/05-pscore-diagnostics.pdf
Binary file not shown.
Binary file modified slides/pdf/06-outcome-model.pdf
Binary file not shown.
Binary file modified slides/pdf/07-g-computation.pdf
Binary file not shown.
Binary file modified slides/pdf/08-tipr.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion slides/raw/00-intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class: center, middle, inverse, title-slide

# Causal Inference in R: Introduction
### 2020-07-29 (updated: 2021-10-18)
### 2020-07-29 (updated: 2021-10-21)

---

Expand Down
2 changes: 1 addition & 1 deletion slides/raw/01-causal_modeling_whole_game.Rmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Causal Modeling in R: Whole Game"
author: "Malcolm Barrett"
institute: "Teladoc Health"
institute: "Apple"
date: "2021-09-01 (updated: `r Sys.Date()`)"
output:
xaringan::moon_reader:
Expand Down
4 changes: 2 additions & 2 deletions slides/raw/01-causal_modeling_whole_game.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

# Causal Modeling in R: Whole Game
### Malcolm Barrett
### Teladoc Health
### 2021-09-01 (updated: 2021-10-18)
### Apple
### 2021-09-01 (updated: 2021-10-21)

---

Expand Down
2 changes: 1 addition & 1 deletion slides/raw/02-dags.Rmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Causal Diagrams in R"
author: "Malcolm Barrett"
institute: "Teladoc Health"
institute: "Apple"
date: "2021-09-01 (updated: `r Sys.Date()`)"
output:
xaringan::moon_reader:
Expand Down
10 changes: 5 additions & 5 deletions slides/raw/02-dags.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

# Causal Diagrams in R
### Malcolm Barrett
### Teladoc Health
### 2021-09-01 (updated: 2021-10-18)
### Apple
### 2021-09-01 (updated: 2021-10-21)

---

Expand Down Expand Up @@ -147,7 +147,7 @@
### We're going to assume that coffee does not cause cancer, so there's no formula for that. But we still need to declare our causal question. Specify "coffee" as the exposure and "cancer" as the outcome (both in quotations marks).
### Plot the DAG using `ggdag()`

<div class="countdown" id="timer_616df331" style="right:0;bottom:0;" data-warnwhen="0">
<div class="countdown" id="timer_617183e9" style="right:0;bottom:0;" data-warnwhen="0">
<code class="countdown-time"><span class="countdown-digits minutes">05</span><span class="countdown-digits colon">:</span><span class="countdown-digits seconds">00</span></code>
</div>

Expand Down Expand Up @@ -228,7 +228,7 @@
### Call `tidy_dagitty()` on `coffee_cancer_dag` to create a tidy DAG, then pass the results to `dag_paths()`. What's different about these data?
### Plot the open paths with `ggdag_paths()`. (Just give it `coffee_cancer_dag` rather than using `dag_paths()`; the quick plot function will do that for you.) Remember, since we assume there is *no* causal path from coffee to lung cancer, any open paths must be confounding pathways.

<div class="countdown" id="timer_616df359" style="right:0;bottom:0;" data-warnwhen="0">
<div class="countdown" id="timer_617182b5" style="right:0;bottom:0;" data-warnwhen="0">
<code class="countdown-time"><span class="countdown-digits minutes">05</span><span class="countdown-digits colon">:</span><span class="countdown-digits seconds">00</span></code>
</div>

Expand Down Expand Up @@ -315,7 +315,7 @@
#### Use `ggdag_adjustment_set()` to visualize the adjustment sets. Add the arguments `use_labels = "label"` and `text = FALSE`.
#### Write an R formula for each adjustment set, as you might if you were fitting a model in `lm()` or `glm()`

<div class="countdown" id="timer_616df414" style="right:0;bottom:0;" data-warnwhen="0">
<div class="countdown" id="timer_61718479" style="right:0;bottom:0;" data-warnwhen="0">
<code class="countdown-time"><span class="countdown-digits minutes">05</span><span class="countdown-digits colon">:</span><span class="countdown-digits seconds">00</span></code>
</div>

Expand Down
4 changes: 2 additions & 2 deletions slides/raw/03-pscores.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Propensity Scores
### Lucy D’Agostino McGowan
### Wake Forest University
### 2021-09-01 (updated: 2021-10-18)
### 2021-09-01 (updated: 2021-10-21)

---

Expand Down Expand Up @@ -168,7 +168,7 @@

## Your turn

<div class="countdown" id="timer_616df394" style="right:0;bottom:0;" data-warnwhen="0">
<div class="countdown" id="timer_6171845e" style="right:0;bottom:0;" data-warnwhen="0">
<code class="countdown-time"><span class="countdown-digits minutes">10</span><span class="countdown-digits colon">:</span><span class="countdown-digits seconds">00</span></code>
</div>

Expand Down
6 changes: 3 additions & 3 deletions slides/raw/04-using-pscores.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Using Propensity Scores
### Lucy D’Agostino McGowan
### Wake Forest University
### 2021-09-01 (updated: 2021-10-18)
### 2021-09-01 (updated: 2021-10-21)

---

Expand Down Expand Up @@ -367,7 +367,7 @@

## Your Turn

<div class="countdown" id="timer_616df37c" style="right:0;bottom:0;" data-warnwhen="0">
<div class="countdown" id="timer_61718335" style="right:0;bottom:0;" data-warnwhen="0">
<code class="countdown-time"><span class="countdown-digits minutes">10</span><span class="countdown-digits colon">:</span><span class="countdown-digits seconds">00</span></code>
</div>

Expand Down Expand Up @@ -478,7 +478,7 @@

## Your Turn

<div class="countdown" id="timer_616df36e" style="right:0;bottom:0;" data-warnwhen="0">
<div class="countdown" id="timer_61718571" style="right:0;bottom:0;" data-warnwhen="0">
<code class="countdown-time"><span class="countdown-digits minutes">10</span><span class="countdown-digits colon">:</span><span class="countdown-digits seconds">00</span></code>
</div>

Expand Down
Loading

0 comments on commit be4b9a3

Please sign in to comment.