8
8
< link href ="14-bonus-continuous-pscores_files/libs/quarto-html/light-border.css " rel ="stylesheet ">
9
9
< link href ="14-bonus-continuous-pscores_files/libs/quarto-html/quarto-html.min.css " rel ="stylesheet " data-mode ="light ">
10
10
< 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 ">
12
12
13
13
< meta name ="author " content ="Malcolm Barrett ">
14
- < meta name ="dcterms.date " content ="2021-09-01 ">
15
14
< title > Continuous exposures with propensity scores</ title >
16
15
< meta name ="apple-mobile-web-app-capable " content ="yes ">
17
16
< meta name ="apple-mobile-web-app-status-bar-style " content ="black-translucent ">
32
31
}
33
32
/* CSS for syntax highlighting */
34
33
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 ; }
36
35
pre > code .sourceCode > span : empty { height : 1.2em ; }
37
36
.sourceCode { overflow : visible; }
38
37
code .sourceCode > span { color : inherit; text-decoration : inherit; }
222
221
}
223
222
224
223
.callout .callout-titled .callout-body > .callout-content > : last-child {
225
- margin-bottom : 0.5rem ;
224
+ padding-bottom : 0.5rem ;
225
+ margin-bottom : 0 ;
226
226
}
227
227
228
228
.callout .callout-titled .callout-icon ::before {
@@ -400,10 +400,12 @@ <h1 class="title">Continuous exposures with propensity scores</h1>
400
400
< div class ="quarto-title-author-name ">
401
401
Malcolm Barrett
402
402
</ div >
403
- </ div >
403
+ < p class ="quarto-title-affiliation ">
404
+ Stanford University
405
+ </ p >
406
+ </ div >
404
407
</ div >
405
408
406
- < p class ="date "> 2021-09-01</ p >
407
409
</ section >
408
410
< section id ="section " class ="slide level2 huge center " data-background-color ="#23373B ">
409
411
< h2 > </ h2 >
@@ -523,7 +525,7 @@ <h2><em>Your Turn 1</em></h2>
523
525
< 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 >
524
526
< 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 >
525
527
< 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 >
527
529
</ section >
528
530
< section id ="your-turn-1-1 " class ="slide level2 ">
529
531
< h2 > < em > Your Turn 1</ em > </ h2 >
@@ -578,7 +580,7 @@ <h2>Stabilizing extreme weights</h2>
578
580
< section id ="your-turn-2 " class ="slide level2 ">
579
581
< h2 > < em > Your Turn 2</ em > </ h2 >
580
582
< 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 >
582
584
</ section >
583
585
< section id ="your-turn-2-1 " class ="slide level2 ">
584
586
< h2 > < em > Your Turn 2</ em > </ h2 >
@@ -621,7 +623,7 @@ <h2>Fitting the outcome model</h2>
621
623
< section id ="your-turn-3 " class ="slide level2 ">
622
624
< h2 > < em > Your Turn 3</ em > </ h2 >
623
625
< 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 >
625
627
</ section >
626
628
< section id ="your-turn-3-1 " class ="slide level2 ">
627
629
< h2 > < em > Your Turn 3</ em > </ h2 >
@@ -683,7 +685,6 @@ <h3 id="httpsgithub.comlucymcgowanwriting-positivity-continous-ps">https://githu
683
685
Reveal . initialize ( {
684
686
'controlsAuto' : true ,
685
687
'previewLinksAuto' : false ,
686
- 'smaller' : false ,
687
688
'pdfSeparateFragments' : false ,
688
689
'autoAnimateEasing' : "ease" ,
689
690
'autoAnimateDuration' : 1 ,
@@ -982,10 +983,9 @@ <h3 id="httpsgithub.comlucymcgowanwriting-positivity-continous-ps">https://githu
982
983
// clear code selection
983
984
e . clearSelection ( ) ;
984
985
} ) ;
985
- function tippyHover ( el , contentFn ) {
986
+ function tippyHover ( el , contentFn , onTriggerFn , onUntriggerFn ) {
986
987
const config = {
987
988
allowHTML : true ,
988
- content : contentFn ,
989
989
maxWidth : 500 ,
990
990
delay : 100 ,
991
991
arrow : false ,
@@ -995,8 +995,17 @@ <h3 id="httpsgithub.comlucymcgowanwriting-positivity-continous-ps">https://githu
995
995
interactive : true ,
996
996
interactiveBorder : 10 ,
997
997
theme : 'light-border' ,
998
- placement : 'bottom-start'
998
+ placement : 'bottom-start' ,
999
999
} ;
1000
+ if ( contentFn ) {
1001
+ config . content = contentFn ;
1002
+ }
1003
+ if ( onTriggerFn ) {
1004
+ config . onTrigger = onTriggerFn ;
1005
+ }
1006
+ if ( onUntriggerFn ) {
1007
+ config . onUntrigger = onUntriggerFn ;
1008
+ }
1000
1009
config [ 'offset' ] = [ 0 , 0 ] ;
1001
1010
config [ 'maxWidth' ] = 700 ;
1002
1011
window . tippy ( el , config ) ;
0 commit comments