Skip to content

Commit

Permalink
re-render
Browse files Browse the repository at this point in the history
  • Loading branch information
malcolmbarrett committed Aug 31, 2023
1 parent f809dac commit 67d57e2
Show file tree
Hide file tree
Showing 61 changed files with 266 additions and 359 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-when-standard-methods-succeed.pdf
Binary file not shown.
Binary file modified slides/pdf/03-causal-inference-with-group-by-and-summarise.pdf
Binary file not shown.
Binary file modified slides/pdf/04-dags.pdf
Binary file not shown.
Binary file modified slides/pdf/05-quartets.pdf
Binary file not shown.
Binary file modified slides/pdf/06-pscores.pdf
Binary file not shown.
Binary file modified slides/pdf/07-using-pscores.pdf
Binary file not shown.
Binary file modified slides/pdf/08-pscore-diagnostics.pdf
Binary file not shown.
Binary file modified slides/pdf/09-outcome-model.pdf
Binary file not shown.
Binary file modified slides/pdf/10-continuous-g-comp.pdf
Binary file not shown.
Binary file modified slides/pdf/11-tipr.pdf
Binary file not shown.
Binary file modified slides/pdf/12-whole_game-2.pdf
Binary file not shown.
Binary file modified slides/pdf/13-bonus-selection-bias.pdf
Binary file not shown.
Binary file modified slides/pdf/14-bonus-continuous-pscores.pdf
Binary file not shown.
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 @@ -688,9 +688,9 @@ <h2></h2>
<section id="using-rsample-to-bootstrap-our-causal-effect" class="slide level2">
<h2>Using {rsample} to bootstrap our causal effect</h2>
<div class="fragment">
<div class="cell" data-layout-align="center" data-hash="01-causal_modeling_whole_game_cache/revealjs/boot_cache_c1ae9350162d3ec56b38e7754b023d10">
<div class="cell" data-layout-align="center">
<div class="sourceCode cell-code" id="cb17" data-code-line-numbers="|2-3"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb17-1"><a href="#cb17-1"></a><span class="co"># fit ipw model to bootstrapped samples</span></span>
<span id="cb17-2"><a href="#cb17-2"></a>ipw_results <span class="ot">&lt;-</span> <span class="fu">bootstraps</span>(nhefs_complete, <span class="dv">1000</span>, <span class="at">apparent =</span> <span class="cn">TRUE</span>) <span class="sc">|&gt;</span></span>
<span id="cb17-2"><a href="#cb17-2"></a>ipw_results <span class="ot">&lt;-</span> <span class="fu">bootstraps</span>(nhefs_complete_uc, <span class="dv">1000</span>, <span class="at">apparent =</span> <span class="cn">TRUE</span>) <span class="sc">|&gt;</span></span>
<span id="cb17-3"><a href="#cb17-3"></a> <span class="fu">mutate</span>(<span class="at">results =</span> <span class="fu">map</span>(splits, fit_ipw)) </span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion slides/raw/01-causal_modeling_whole_game.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,6 @@ fit_ipw <- function(split, ...) {

```{r}
#| label: boot_cache
#| cache: true
#| code-line-numbers: "|2-3"
# fit ipw model to bootstrapped samples
ipw_results <- bootstraps(nhefs_complete_uc, 1000, apparent = TRUE) |>
Expand Down
39 changes: 0 additions & 39 deletions slides/raw/01-causal_modeling_whole_game_cache/html/__packages

This file was deleted.

Loading

0 comments on commit 67d57e2

Please sign in to comment.