From 678cce78f6b6c6118573dddc035eef319161e215 Mon Sep 17 00:00:00 2001 From: Malcolm Barrett Date: Wed, 28 Aug 2024 13:51:48 -0400 Subject: [PATCH 1/2] add status banners to chapters --- R/setup.R | 26 +++++++++++++++++++++ chapters/01-casual-to-causal.qmd | 6 +++++ chapters/02-whole-game.qmd | 6 +++++ chapters/03-counterfactuals.qmd | 6 +++++ chapters/04-target-trials-std-methods.qmd | 5 ++++ chapters/05-dags.qmd | 6 +++++ chapters/06-not-just-a-stats-problem.qmd | 6 +++++ chapters/07-prep-data.qmd | 6 +++++ chapters/08-building-ps-models.qmd | 6 +++++ chapters/09-using-ps.qmd | 7 ++++++ chapters/10-evaluating-ps.qmd | 6 +++++ chapters/11-estimands.qmd | 6 +++++ chapters/12-outcome-model.qmd | 6 +++++ chapters/13-continuous-exposures.qmd | 6 +++++ chapters/14-categorical-exposures.qmd | 6 +++++ chapters/15-g-comp.qmd | 7 ++++++ chapters/16-interaction.qmd | 6 +++++ chapters/17-missingness-and-measurement.qmd | 6 +++++ chapters/18-longitudinal.qmd | 6 +++++ chapters/19-survival.qmd | 6 +++++ chapters/20-mediation.qmd | 6 +++++ chapters/21-sensitivity.qmd | 6 +++++ chapters/22-machine-learning.qmd | 6 +++++ chapters/23-iv-and-friends.qmd | 6 +++++ chapters/24-evidence.qmd | 6 +++++ 25 files changed, 171 insertions(+) diff --git a/R/setup.R b/R/setup.R index 04047dc6..60a8afb1 100644 --- a/R/setup.R +++ b/R/setup.R @@ -58,3 +58,29 @@ est_ci <- function(.df, rsample = FALSE) { glue::glue("{.df$estimate} (95% CI {.df$conf.low}, {.df$conf.high})") } } + +# based on https://github.com/hadley/r-pkgs/blob/main/common.R +status <- function(type) { + status <- switch(type, + unstarted = "is unstarted, but don't worry, it's on our roadmap", + polishing = "has its foundations written but is still undergoing changes", + wip = "is actively undergoing work and may be restructured or changed. It may also be incomplete", + complete = "is mostly complete, but we might make small tweaks or copyedits", + stop("Invalid `type`", call. = FALSE) + ) + + class <- switch(type, + complete = , + polishing = "callout-note", + wip = "callout-warning", + unstarted = "callout-warning" + ) + + knitr::asis_output(paste0( + "::: ", class, "\n", + "## Work-in-progress 🚧\n", + "You are reading the work-in-progress first edition of *Causal Inference in R*. ", + "This chapter ", status, ". \n", + ":::\n" + )) +} diff --git a/chapters/01-casual-to-causal.qmd b/chapters/01-casual-to-causal.qmd index 3074e4d7..c90567c4 100644 --- a/chapters/01-casual-to-causal.qmd +++ b/chapters/01-casual-to-causal.qmd @@ -4,6 +4,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("complete") +``` + ## Casual inference The heart of causal analysis is the causal question; it dictates what data we analyze, how we analyze it, and to which populations our inferences apply. diff --git a/chapters/02-whole-game.qmd b/chapters/02-whole-game.qmd index a51110df..117a9f9a 100644 --- a/chapters/02-whole-game.qmd +++ b/chapters/02-whole-game.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("complete") +``` + In this chapter, we'll analyze data using techniques we learn in this book. We'll play the [whole game](https://www.gse.harvard.edu/news/uk/09/01/education-bat-seven-principles-educators) of causal analysis using a few key steps: diff --git a/chapters/03-counterfactuals.qmd b/chapters/03-counterfactuals.qmd index d2f947a2..164f5b05 100644 --- a/chapters/03-counterfactuals.qmd +++ b/chapters/03-counterfactuals.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("polishing") +``` + ## Potential Outcomes {#sec-potential} Let's begin by thinking about the philosophical concept of a *potential outcome.* Prior to some "cause" occurring, for example receiving some exposure, the *potential outcomes* are all of the potential things that could occur depending on what you are exposed to. diff --git a/chapters/04-target-trials-std-methods.qmd b/chapters/04-target-trials-std-methods.qmd index a4fb3648..92452bc2 100644 --- a/chapters/04-target-trials-std-methods.qmd +++ b/chapters/04-target-trials-std-methods.qmd @@ -2,6 +2,11 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("polishing") +``` ## Randomized trials {#sec-rand-trials} diff --git a/chapters/05-dags.qmd b/chapters/05-dags.qmd index a385321f..fe1bf937 100644 --- a/chapters/05-dags.qmd +++ b/chapters/05-dags.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("complete") +``` + ## Visualizing Causal Assumptions > Draw your assumptions before your conclusions --@hernan2021 diff --git a/chapters/06-not-just-a-stats-problem.qmd b/chapters/06-not-just-a-stats-problem.qmd index 8f2069ff..c8995093 100644 --- a/chapters/06-not-just-a-stats-problem.qmd +++ b/chapters/06-not-just-a-stats-problem.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("complete") +``` + ## The Causal Quartet We now have the tools to look at something we've alluded to thus far in the book: causal inference is not (just) a statistical problem. diff --git a/chapters/07-prep-data.qmd b/chapters/07-prep-data.qmd index 24b34d56..1b1440fa 100644 --- a/chapters/07-prep-data.qmd +++ b/chapters/07-prep-data.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("polishing") +``` + ## Introduction to the data {#sec-data} Throughout this book we will be using data obtained from [Touring Plans](https://touringplans.com). diff --git a/chapters/08-building-ps-models.qmd b/chapters/08-building-ps-models.qmd index 6e3d9405..6f53c061 100644 --- a/chapters/08-building-ps-models.qmd +++ b/chapters/08-building-ps-models.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("polishing") +``` + Often we are interested in how some *exposure* (or treatment) impacts an outcome. For example, we could assess how an ad campaign (exposure) impacts sales (outcome), whether a particular medication (exposure) improves patient survival (outcome), or whether opening a theme park early to some visitors (exposure) reduces wait times later in the day (outcome). As defined in the @sec-counterfactuals, an exposure in the context of this book is often a modifiable event or condition that occurs before the outcome. diff --git a/chapters/09-using-ps.qmd b/chapters/09-using-ps.qmd index 3d8754de..8e76f2e9 100644 --- a/chapters/09-using-ps.qmd +++ b/chapters/09-using-ps.qmd @@ -2,6 +2,13 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("polishing") +``` + + The propensity score is a *balancing* tool -- we use it to help us make our exposure groups *exchangeable*. There are many ways to incorporate the propensity score into an analysis. Commonly used techniques include stratification (estimating the causal effect within propensity score stratum), matching, weighting, and direct covariate adjustment. In this section, we will focus on *matching* and *weighting*; other techniques will be discussed once we introduce the *outcome model*. Recall at this point in the book we are still in the *design* phase. We have not yet incorporated the outcome into our analysis at all. ## Matching diff --git a/chapters/10-evaluating-ps.qmd b/chapters/10-evaluating-ps.qmd index d26001e5..38616729 100644 --- a/chapters/10-evaluating-ps.qmd +++ b/chapters/10-evaluating-ps.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("polishing") +``` + Propensity scores are inherently *balancing* scores. The goal is to *balance* the exposure groups across confounders. ## Calculating the standardized mean difference diff --git a/chapters/11-estimands.qmd b/chapters/11-estimands.qmd index 8758675f..7c25d37a 100644 --- a/chapters/11-estimands.qmd +++ b/chapters/11-estimands.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("polishing") +``` + ## Estimands, Estimators, Estimates When analyzing to make causal inferences, we need to keep the causal question that we're interested in close to our chest. diff --git a/chapters/12-outcome-model.qmd b/chapters/12-outcome-model.qmd index 1b2dc8ef..d2d74125 100644 --- a/chapters/12-outcome-model.qmd +++ b/chapters/12-outcome-model.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("polishing") +``` + ## Using matched data sets When fitting an outcome model on matched data sets, we can simply subset the original data to only those who were matched and then fit a model on these data as we would otherwise. For example, re-performing the matching as we did in @sec-using-ps, we can extract the matched observations in a dataset called `matched_data` as follows. diff --git a/chapters/13-continuous-exposures.qmd b/chapters/13-continuous-exposures.qmd index 05a96613..6973d9a8 100644 --- a/chapters/13-continuous-exposures.qmd +++ b/chapters/13-continuous-exposures.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("wip") +``` + ## Calculating propensity scores for continuous exposures Propensity scores generalize to many other types of exposures, including continuous exposures. diff --git a/chapters/14-categorical-exposures.qmd b/chapters/14-categorical-exposures.qmd index 3c0cfcdf..66f0c126 100644 --- a/chapters/14-categorical-exposures.qmd +++ b/chapters/14-categorical-exposures.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("unstarted") +``` + ## Calculating propensity scores for categorical exposures ```{r} diff --git a/chapters/15-g-comp.qmd b/chapters/15-g-comp.qmd index 103c3654..361fa19b 100644 --- a/chapters/15-g-comp.qmd +++ b/chapters/15-g-comp.qmd @@ -2,6 +2,13 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("wip") +``` + + ## The Parametric G-Formula Let's pause to recap a typical goal of the causal analyses we've seen in this book so far: to estimate what would happen if *everyone* in the study were exposed versus what would happen if *no one* was exposed. diff --git a/chapters/16-interaction.qmd b/chapters/16-interaction.qmd index 540b1fa7..f2615c05 100644 --- a/chapters/16-interaction.qmd +++ b/chapters/16-interaction.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("unstarted") +``` + ## Functional form, hetereogenous effects, and joint causes ## Fitting interaction terms in causal models diff --git a/chapters/17-missingness-and-measurement.qmd b/chapters/17-missingness-and-measurement.qmd index a3c0ac04..3318e1c1 100644 --- a/chapters/17-missingness-and-measurement.qmd +++ b/chapters/17-missingness-and-measurement.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("wip") +``` + Missing and mismeasured data are problems for most real datasets that impact all three types of analysis: description, prediction, and causal inference. As with analysis, the impact of missingness and mismeasurement is also different across all three, even when we use the same tools (like multiple imputation) to address it. At their best, missingness and mismeasurement can worsen the precision and bias of the sample; at their worst, they can create unresolvable selection bias, giving you a completely wrong answer. diff --git a/chapters/18-longitudinal.qmd b/chapters/18-longitudinal.qmd index 124190ba..1a20af28 100644 --- a/chapters/18-longitudinal.qmd +++ b/chapters/18-longitudinal.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("unstarted") +``` + ## Loss to follow-up ```{r} diff --git a/chapters/19-survival.qmd b/chapters/19-survival.qmd index 0ce9ebef..47bc8014 100644 --- a/chapters/19-survival.qmd +++ b/chapters/19-survival.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("unstarted") +``` + ## Preparing data for survival analysis ```{r} diff --git a/chapters/20-mediation.qmd b/chapters/20-mediation.qmd index e8e9533c..9981676d 100644 --- a/chapters/20-mediation.qmd +++ b/chapters/20-mediation.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("unstarted") +``` + ## Estimating direct effects ```{r} diff --git a/chapters/21-sensitivity.qmd b/chapters/21-sensitivity.qmd index bdc302b9..b7ae6723 100644 --- a/chapters/21-sensitivity.qmd +++ b/chapters/21-sensitivity.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("wip") +``` + ```{r} #| include: false library(ggdag) diff --git a/chapters/22-machine-learning.qmd b/chapters/22-machine-learning.qmd index d3aef420..73930623 100644 --- a/chapters/22-machine-learning.qmd +++ b/chapters/22-machine-learning.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("unstarted") +``` + ## Prediction and causal inference, again ## Augmented propensity scores diff --git a/chapters/23-iv-and-friends.qmd b/chapters/23-iv-and-friends.qmd index 13e82b28..5d452504 100644 --- a/chapters/23-iv-and-friends.qmd +++ b/chapters/23-iv-and-friends.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("unstarted") +``` + ## Instrumental variable analysis ```{r} diff --git a/chapters/24-evidence.qmd b/chapters/24-evidence.qmd index ec39bac5..c718de94 100644 --- a/chapters/24-evidence.qmd +++ b/chapters/24-evidence.qmd @@ -2,6 +2,12 @@ {{< include 00-setup.qmd >}} +```{r} +#| echo: false +# TODO: remove when complete +status("unstarted") +``` + > "Circumstantial evidence is a very tricky thing. It may seem to point very straight to one thing, but if you shift your own point of view a little, you may find it pointing in an equally uncompromising manner to something entirely different” > --- Sherlock Holmes From 765d7d06b88d824422e1b68cd7dee3dca3cf5672 Mon Sep 17 00:00:00 2001 From: Malcolm Barrett Date: Wed, 28 Aug 2024 14:14:14 -0400 Subject: [PATCH 2/2] make comment clearer --- chapters/01-casual-to-causal.qmd | 2 +- chapters/02-whole-game.qmd | 2 +- chapters/03-counterfactuals.qmd | 2 +- chapters/04-target-trials-std-methods.qmd | 2 +- chapters/05-dags.qmd | 2 +- chapters/06-not-just-a-stats-problem.qmd | 2 +- chapters/07-prep-data.qmd | 2 +- chapters/08-building-ps-models.qmd | 2 +- chapters/09-using-ps.qmd | 2 +- chapters/10-evaluating-ps.qmd | 2 +- chapters/11-estimands.qmd | 2 +- chapters/12-outcome-model.qmd | 2 +- chapters/13-continuous-exposures.qmd | 2 +- chapters/14-categorical-exposures.qmd | 2 +- chapters/15-g-comp.qmd | 2 +- chapters/16-interaction.qmd | 2 +- chapters/17-missingness-and-measurement.qmd | 2 +- chapters/18-longitudinal.qmd | 2 +- chapters/19-survival.qmd | 2 +- chapters/20-mediation.qmd | 2 +- chapters/21-sensitivity.qmd | 2 +- chapters/22-machine-learning.qmd | 2 +- chapters/23-iv-and-friends.qmd | 2 +- chapters/24-evidence.qmd | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/chapters/01-casual-to-causal.qmd b/chapters/01-casual-to-causal.qmd index c90567c4..0f6d46f9 100644 --- a/chapters/01-casual-to-causal.qmd +++ b/chapters/01-casual-to-causal.qmd @@ -6,7 +6,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("complete") ``` diff --git a/chapters/02-whole-game.qmd b/chapters/02-whole-game.qmd index 117a9f9a..38e43c7a 100644 --- a/chapters/02-whole-game.qmd +++ b/chapters/02-whole-game.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("complete") ``` diff --git a/chapters/03-counterfactuals.qmd b/chapters/03-counterfactuals.qmd index 164f5b05..0518b6bd 100644 --- a/chapters/03-counterfactuals.qmd +++ b/chapters/03-counterfactuals.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("polishing") ``` diff --git a/chapters/04-target-trials-std-methods.qmd b/chapters/04-target-trials-std-methods.qmd index 92452bc2..f9ea7328 100644 --- a/chapters/04-target-trials-std-methods.qmd +++ b/chapters/04-target-trials-std-methods.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("polishing") ``` diff --git a/chapters/05-dags.qmd b/chapters/05-dags.qmd index fe1bf937..d6836d15 100644 --- a/chapters/05-dags.qmd +++ b/chapters/05-dags.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("complete") ``` diff --git a/chapters/06-not-just-a-stats-problem.qmd b/chapters/06-not-just-a-stats-problem.qmd index c8995093..bf76fed1 100644 --- a/chapters/06-not-just-a-stats-problem.qmd +++ b/chapters/06-not-just-a-stats-problem.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("complete") ``` diff --git a/chapters/07-prep-data.qmd b/chapters/07-prep-data.qmd index 1b1440fa..e31c94b2 100644 --- a/chapters/07-prep-data.qmd +++ b/chapters/07-prep-data.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("polishing") ``` diff --git a/chapters/08-building-ps-models.qmd b/chapters/08-building-ps-models.qmd index 6f53c061..d8f9bd2b 100644 --- a/chapters/08-building-ps-models.qmd +++ b/chapters/08-building-ps-models.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("polishing") ``` diff --git a/chapters/09-using-ps.qmd b/chapters/09-using-ps.qmd index 8e76f2e9..d3c3bf19 100644 --- a/chapters/09-using-ps.qmd +++ b/chapters/09-using-ps.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("polishing") ``` diff --git a/chapters/10-evaluating-ps.qmd b/chapters/10-evaluating-ps.qmd index 38616729..561b11bc 100644 --- a/chapters/10-evaluating-ps.qmd +++ b/chapters/10-evaluating-ps.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("polishing") ``` diff --git a/chapters/11-estimands.qmd b/chapters/11-estimands.qmd index 7c25d37a..d464be0a 100644 --- a/chapters/11-estimands.qmd +++ b/chapters/11-estimands.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("polishing") ``` diff --git a/chapters/12-outcome-model.qmd b/chapters/12-outcome-model.qmd index d2d74125..07804dff 100644 --- a/chapters/12-outcome-model.qmd +++ b/chapters/12-outcome-model.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("polishing") ``` diff --git a/chapters/13-continuous-exposures.qmd b/chapters/13-continuous-exposures.qmd index 6973d9a8..1a88ee2d 100644 --- a/chapters/13-continuous-exposures.qmd +++ b/chapters/13-continuous-exposures.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("wip") ``` diff --git a/chapters/14-categorical-exposures.qmd b/chapters/14-categorical-exposures.qmd index 66f0c126..a5ba6856 100644 --- a/chapters/14-categorical-exposures.qmd +++ b/chapters/14-categorical-exposures.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("unstarted") ``` diff --git a/chapters/15-g-comp.qmd b/chapters/15-g-comp.qmd index 361fa19b..fc4a3892 100644 --- a/chapters/15-g-comp.qmd +++ b/chapters/15-g-comp.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("wip") ``` diff --git a/chapters/16-interaction.qmd b/chapters/16-interaction.qmd index f2615c05..18300c70 100644 --- a/chapters/16-interaction.qmd +++ b/chapters/16-interaction.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("unstarted") ``` diff --git a/chapters/17-missingness-and-measurement.qmd b/chapters/17-missingness-and-measurement.qmd index 3318e1c1..1be0b603 100644 --- a/chapters/17-missingness-and-measurement.qmd +++ b/chapters/17-missingness-and-measurement.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("wip") ``` diff --git a/chapters/18-longitudinal.qmd b/chapters/18-longitudinal.qmd index 1a20af28..0269669b 100644 --- a/chapters/18-longitudinal.qmd +++ b/chapters/18-longitudinal.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("unstarted") ``` diff --git a/chapters/19-survival.qmd b/chapters/19-survival.qmd index 47bc8014..fe759567 100644 --- a/chapters/19-survival.qmd +++ b/chapters/19-survival.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("unstarted") ``` diff --git a/chapters/20-mediation.qmd b/chapters/20-mediation.qmd index 9981676d..62b51bd4 100644 --- a/chapters/20-mediation.qmd +++ b/chapters/20-mediation.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("unstarted") ``` diff --git a/chapters/21-sensitivity.qmd b/chapters/21-sensitivity.qmd index b7ae6723..af09bfc9 100644 --- a/chapters/21-sensitivity.qmd +++ b/chapters/21-sensitivity.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("wip") ``` diff --git a/chapters/22-machine-learning.qmd b/chapters/22-machine-learning.qmd index 73930623..be1d37d0 100644 --- a/chapters/22-machine-learning.qmd +++ b/chapters/22-machine-learning.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("unstarted") ``` diff --git a/chapters/23-iv-and-friends.qmd b/chapters/23-iv-and-friends.qmd index 5d452504..d0280862 100644 --- a/chapters/23-iv-and-friends.qmd +++ b/chapters/23-iv-and-friends.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("unstarted") ``` diff --git a/chapters/24-evidence.qmd b/chapters/24-evidence.qmd index c718de94..9d3bca18 100644 --- a/chapters/24-evidence.qmd +++ b/chapters/24-evidence.qmd @@ -4,7 +4,7 @@ ```{r} #| echo: false -# TODO: remove when complete +# TODO: remove when first edition complete status("unstarted") ```