Skip to content

Commit 1bb34fb

Browse files
14
1 parent c859b41 commit 1bb34fb

File tree

4 files changed

+24
-15
lines changed

4 files changed

+24
-15
lines changed

slides/raw/14-bonus-continuous-pscores.html

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@
88
<link href="14-bonus-continuous-pscores_files/libs/quarto-html/light-border.css" rel="stylesheet">
99
<link href="14-bonus-continuous-pscores_files/libs/quarto-html/quarto-html.min.css" rel="stylesheet" data-mode="light">
1010
<link href="14-bonus-continuous-pscores_files/libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles"><meta charset="utf-8">
11-
<meta name="generator" content="quarto-1.4.67">
11+
<meta name="generator" content="quarto-1.4.358">
1212

1313
<meta name="author" content="Malcolm Barrett">
14-
<meta name="dcterms.date" content="2021-09-01">
1514
<title>Continuous exposures with propensity scores</title>
1615
<meta name="apple-mobile-web-app-capable" content="yes">
1716
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
@@ -32,7 +31,7 @@
3231
}
3332
/* CSS for syntax highlighting */
3433
pre > code.sourceCode { white-space: pre; position: relative; }
35-
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
34+
pre > code.sourceCode > span { line-height: 1.25; }
3635
pre > code.sourceCode > span:empty { height: 1.2em; }
3736
.sourceCode { overflow: visible; }
3837
code.sourceCode > span { color: inherit; text-decoration: inherit; }
@@ -222,7 +221,8 @@
222221
}
223222

224223
.callout.callout-titled .callout-body > .callout-content > :last-child {
225-
margin-bottom: 0.5rem;
224+
padding-bottom: 0.5rem;
225+
margin-bottom: 0;
226226
}
227227

228228
.callout.callout-titled .callout-icon::before {
@@ -400,10 +400,12 @@ <h1 class="title">Continuous exposures with propensity scores</h1>
400400
<div class="quarto-title-author-name">
401401
Malcolm Barrett
402402
</div>
403-
</div>
403+
<p class="quarto-title-affiliation">
404+
Stanford University
405+
</p>
406+
</div>
404407
</div>
405408

406-
<p class="date">2021-09-01</p>
407409
</section>
408410
<section id="section" class="slide level2 huge center" data-background-color="#23373B">
409411
<h2></h2>
@@ -523,7 +525,7 @@ <h2><em>Your Turn 1</em></h2>
523525
<h3 id="fit-a-model-using-lm-with-wait_minutes_posted_avg-as-the-outcome-and-the-confounders-identified-in-the-dag.">Fit a model using <code>lm()</code> with <code>wait_minutes_posted_avg</code> as the outcome and the confounders identified in the DAG.</h3>
524526
<h3 id="use-augment-to-add-model-predictions-to-the-data-frame">Use <code>augment()</code> to add model predictions to the data frame</h3>
525527
<h3 id="in-wt_ate-calculate-the-weights-using-wait_minutes_posted_avg-.fitted-and-.sigma">In <code>wt_ate()</code>, calculate the weights using <code>wait_minutes_posted_avg</code>, <code>.fitted</code>, and <code>.sigma</code></h3>
526-
<p></p><div class="countdown" id="timer_e12dfe1d" data-update-every="1" tabindex="0" style="right:0;bottom:0;"> <div class="countdown-controls"><button class="countdown-bump-down"></button><button class="countdown-bump-up">+</button></div> <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><p></p>
528+
<p></p><div class="countdown" id="timer_33a70840" data-update-every="1" tabindex="0" style="right:0;bottom:0;"> <div class="countdown-controls"><button class="countdown-bump-down"></button><button class="countdown-bump-up">+</button></div> <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><p></p>
527529
</section>
528530
<section id="your-turn-1-1" class="slide level2">
529531
<h2><em>Your Turn 1</em></h2>
@@ -578,7 +580,7 @@ <h2>Stabilizing extreme weights</h2>
578580
<section id="your-turn-2" class="slide level2">
579581
<h2><em>Your Turn 2</em></h2>
580582
<h3 id="re-fit-the-above-using-stabilized-weights">Re-fit the above using stabilized weights</h3>
581-
<p></p><div class="countdown" id="timer_b591aacf" data-update-every="1" tabindex="0" style="right:0;bottom:0;"> <div class="countdown-controls"><button class="countdown-bump-down"></button><button class="countdown-bump-up">+</button></div> <code class="countdown-time"><span class="countdown-digits minutes">03</span><span class="countdown-digits colon">:</span><span class="countdown-digits seconds">00</span></code> </div><p></p>
583+
<p></p><div class="countdown" id="timer_53312437" data-update-every="1" tabindex="0" style="right:0;bottom:0;"> <div class="countdown-controls"><button class="countdown-bump-down"></button><button class="countdown-bump-up">+</button></div> <code class="countdown-time"><span class="countdown-digits minutes">03</span><span class="countdown-digits colon">:</span><span class="countdown-digits seconds">00</span></code> </div><p></p>
582584
</section>
583585
<section id="your-turn-2-1" class="slide level2">
584586
<h2><em>Your Turn 2</em></h2>
@@ -621,7 +623,7 @@ <h2>Fitting the outcome model</h2>
621623
<section id="your-turn-3" class="slide level2">
622624
<h2><em>Your Turn 3</em></h2>
623625
<h3 id="estimate-the-relationship-between-posted-wait-times-and-actual-wait-times-using-the-stabilized-weights-we-just-created.">Estimate the relationship between posted wait times and actual wait times using the stabilized weights we just created.</h3>
624-
<p></p><div class="countdown" id="timer_c7ee5ebd" data-update-every="1" tabindex="0" style="right:0;bottom:0;"> <div class="countdown-controls"><button class="countdown-bump-down"></button><button class="countdown-bump-up">+</button></div> <code class="countdown-time"><span class="countdown-digits minutes">03</span><span class="countdown-digits colon">:</span><span class="countdown-digits seconds">00</span></code> </div><p></p>
626+
<p></p><div class="countdown" id="timer_2ce87dfa" data-update-every="1" tabindex="0" style="right:0;bottom:0;"> <div class="countdown-controls"><button class="countdown-bump-down"></button><button class="countdown-bump-up">+</button></div> <code class="countdown-time"><span class="countdown-digits minutes">03</span><span class="countdown-digits colon">:</span><span class="countdown-digits seconds">00</span></code> </div><p></p>
625627
</section>
626628
<section id="your-turn-3-1" class="slide level2">
627629
<h2><em>Your Turn 3</em></h2>
@@ -683,7 +685,6 @@ <h3 id="httpsgithub.comlucymcgowanwriting-positivity-continous-ps">https://githu
683685
Reveal.initialize({
684686
'controlsAuto': true,
685687
'previewLinksAuto': false,
686-
'smaller': false,
687688
'pdfSeparateFragments': false,
688689
'autoAnimateEasing': "ease",
689690
'autoAnimateDuration': 1,
@@ -982,10 +983,9 @@ <h3 id="httpsgithub.comlucymcgowanwriting-positivity-continous-ps">https://githu
982983
// clear code selection
983984
e.clearSelection();
984985
});
985-
function tippyHover(el, contentFn) {
986+
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
986987
const config = {
987988
allowHTML: true,
988-
content: contentFn,
989989
maxWidth: 500,
990990
delay: 100,
991991
arrow: false,
@@ -995,8 +995,17 @@ <h3 id="httpsgithub.comlucymcgowanwriting-positivity-continous-ps">https://githu
995995
interactive: true,
996996
interactiveBorder: 10,
997997
theme: 'light-border',
998-
placement: 'bottom-start'
998+
placement: 'bottom-start',
999999
};
1000+
if (contentFn) {
1001+
config.content = contentFn;
1002+
}
1003+
if (onTriggerFn) {
1004+
config.onTrigger = onTriggerFn;
1005+
}
1006+
if (onUntriggerFn) {
1007+
config.onUntrigger = onUntriggerFn;
1008+
}
10001009
config['offset'] = [0,0];
10011010
config['maxWidth'] = 700;
10021011
window.tippy(el, config);
399 Bytes
Loading
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/*# sourceMappingURL=0a6b880beb84f9b6f36107a76f82c5b1.css.map */
1+

0 commit comments

Comments
 (0)