diff --git a/docs/articles/IBD.html b/docs/articles/IBD.html index d96b562..6cf79fd 100644 --- a/docs/articles/IBD.html +++ b/docs/articles/IBD.html @@ -132,13 +132,12 @@

Microbiome - Metabolome Mediation Analysis

Data Processing

-

We’ll load data from the Borenstein Lab’s microbiome-metabolome -curated data repository. This is a great resource that consistently -documents each study and ensures uniform data processing. Our data is -from Franzosa et -al.’s study of intestinal bowel disease. We’ll treat disease status -as the treatment, the microbiome as mediators, and metabolites as the -outcome, in the spirit of that study’s discussion:

+

We’ll load data from the Borenstein Lab’s microbiome-metabolome curated data +repository. This is a great resource that consistently documents each +study and ensures uniform data processing. Our data is from Franzosa et al.’s study of +intestinal bowel disease. We’ll treat disease status as the treatment, +the microbiome as mediators, and metabolites as the outcome, in the +spirit of that study’s discussion:

Together, these findings suggest that yet-to-be characterized molecules in the gut metabolome, linked to inflammation and ultimately @@ -146,9 +145,9 @@

Data Processing
 Sys.setenv("VROOM_CONNECTION_SIZE" = 5e6)
-taxa <- read_tsv("https://raw.githubusercontent.com/borenstein-lab/microbiome-metabolome-curated-data/main/data/processed_data/FRANZOSA_IBD_2019/genera.tsv")[, -1]
-metabolites <- read_tsv("https://raw.githubusercontent.com/borenstein-lab/microbiome-metabolome-curated-data/main/data/processed_data/FRANZOSA_IBD_2019/mtb.tsv")[, -1]
-metadata <- read_tsv("https://github.com/borenstein-lab/microbiome-metabolome-curated-data/raw/main/data/processed_data/FRANZOSA_IBD_2019/metadata.tsv")
+taxa <- read_tsv("https://go.wisc.edu/l015v0")[, -1] +metabolites <- read_tsv("https://go.wisc.edu/0t3gs3")[, -1] +metadata <- read_tsv("https://go.wisc.edu/9z36wr")

We’ll filter quite aggressively so that the examples in this vignette run quickly. We then compile everything into a mediation_data object that organizes the treatment, @@ -159,23 +158,23 @@

Data Processing.Rmd source.

 taxa <- clr(taxa) |>
-  filter_mean() |>
-  simplify_tax_names()
+    filter_mean() |>
+    simplify_tax_names()
 
 metabolites <- log(1 + metabolites) |>
-  filter_mean(threshold = 6) |>
-  select(matches(annotated_metabolites(metabolites))) |>
-  simplify_metab_names()
+    filter_mean(threshold = 6) |>
+    select(matches(annotated_metabolites(metabolites))) |>
+    simplify_metab_names()
 
 combined <- metabolites |>
-  bind_cols(taxa, metadata) |>
-  as_tibble()
+    bind_cols(taxa, metadata) |>
+    as_tibble()
 
 exper <- mediation_data(
-  combined,
-  colnames(metabolites),
-  "Study.Group",
-  colnames(taxa)
+    combined,
+    colnames(metabolites),
+    "Study.Group",
+    colnames(taxa)
 )
 
 exper
@@ -193,7 +192,7 @@

Lasso Approach
 model <- multimedia(exper, glmnet_model(lambda = 0.1)) |>
-  estimate(exper)
+ estimate(exper)

We can have different direct effects depending on the treatment assignments of the mediators. Here we’ll average over all mediator settings and plot the features with the largest direct effects. Note @@ -202,25 +201,29 @@

Lasso Approach
 direct <- list(
-  CD = direct_effect(model, exper, 1, 3),
-  UC = direct_effect(model, exper, 2, 3)
+    CD = direct_effect(model, exper, 1, 3),
+    UC = direct_effect(model, exper, 2, 3)
 ) |>
-  map_dfr(effect_summary, .id = "treatment")
+    map_dfr(effect_summary, .id = "treatment")
 
 vis_direct <- direct |>
-  slice_max(abs(direct_effect), n = 20) |>
-  pull(outcome)
+    slice_max(abs(direct_effect), n = 20) |>
+    pull(outcome)
 
 combined |>
-  select(any_of(vis_direct), Study.Group) |>
-  pivot_longer(-Study.Group, names_to = "feature") |>
-  ggplot() +
-  geom_boxplot(aes(value, reorder(feature, value, median), fill = Study.Group)) +
-  labs(
-    x = "log(1 + intensity)",
-    y = "Metabolite",
-    fill = "Group"
-  )
+ select(any_of(vis_direct), Study.Group) |> + pivot_longer(-Study.Group, names_to = "feature") |> + ggplot() + + geom_boxplot( + aes(value, reorder(feature, value, median), + fill = Study.Group + ) + ) + + labs( + x = "log(1 + intensity)", + y = "Metabolite", + fill = "Group" + )

The block below calculates the analogous overall indirect effects. We’re particularly interested in the difference between metabolites that @@ -230,19 +233,25 @@

Lasso Approachtop_effects.

 indirect_effect <- list(
-  CD = indirect_overall(model, exper, 1, 3),
-  UC = indirect_overall(model, exper, 2, 3)
+    CD = indirect_overall(model, exper, 1, 3),
+    UC = indirect_overall(model, exper, 2, 3)
 )
 
 top_direct <- dplyr::rename(direct, effect = direct_effect)
-top_indirect <- dplyr::rename(bind_rows(indirect_effect), effect = indirect_effect)
+top_indirect <- dplyr::rename(bind_rows(indirect_effect),
+    effect = indirect_effect
+)
 top_effects <- list(direct = top_direct, indirect = top_indirect) |>
-  bind_rows(.id = "type")
+    bind_rows(.id = "type")
 
-vis_outcomes <- c("m0181_hydrocinnamic_acid", "m1303_lithocholate", "m0036_creatinine", "m0253_sphingosine", "m1478_C182_CE", "m0295_arginine")
+vis_outcomes <- c(
+    "m0181_hydrocinnamic_acid", "m1303_lithocholate",
+    "m0036_creatinine", "m0253_sphingosine", "m1478_C182_CE",
+    "m0295_arginine"
+)
 top_effects <- bind_rows(
-  filter(top_effects, outcome %in% vis_outcomes[1:3], type == "indirect"),
-  filter(top_effects, outcome %in% vis_outcomes[4:6], type == "direct"),
+    filter(top_effects, outcome %in% vis_outcomes[1:3], type == "indirect"),
+    filter(top_effects, outcome %in% vis_outcomes[4:6], type == "direct"),
 )

The plot below is an MDS of microbiome compositions where point sizes represent metabolite abundances. Notice that the for indirect effects, @@ -255,23 +264,26 @@

Lasso Approach mds <- cmdscale(dist(mediators(exper)), eig = TRUE, k = 2) coords <- data.frame(mds$points) |> - bind_cols(treatments(exper)) |> - bind_cols(outcomes(exper)[, vis_outcomes]) |> - pivot_longer(top_effects$outcome, names_to = "outcome", values_to = "abundance") |> - left_join(top_effects) |> - group_by(outcome) |> - mutate(abundance_quantile = as.integer(as.factor(cut(abundance, 10))) / 10) + bind_cols(treatments(exper)) |> + bind_cols(outcomes(exper)[, vis_outcomes]) |> + pivot_longer(top_effects$outcome, + names_to = "outcome", + values_to = "abundance" + ) |> + left_join(top_effects) |> + group_by(outcome) |> + mutate(abundance_quantile = as.integer(as.factor(cut(abundance, 10))) / 10) ggplot(coords) + - geom_point(aes(X1, X2, col = Study.Group, size = abundance_quantile)) + - scale_size_area(max_size = 1.5, breaks = c(0.25, 0.5, 0.75)) + - labs( - x = glue("MDS1 [{eig(mds$eig, 1)}%]"), - y = glue("MDS2 [{eig(mds$eig, 2)}%]"), - size = "Metabolite Abundance Quantile", - col = "Group" - ) + - facet_wrap(~ type + reorder(outcome, -abundance)) + geom_point(aes(X1, X2, col = Study.Group, size = abundance_quantile)) + + scale_size_area(max_size = 1.5, breaks = c(0.25, 0.5, 0.75)) + + labs( + x = glue("MDS1 [{eig(mds$eig, 1)}%]"), + y = glue("MDS2 [{eig(mds$eig, 2)}%]"), + size = "Metabolite Abundance Quantile", + col = "Group" + ) + + facet_wrap(~ type + reorder(outcome, -abundance))

Pathwise indirect effects are those that appear when modifying the treatment status for a single mediator. Unlike overall indirect effects, @@ -287,7 +299,7 @@

Lasso Approach# ) |> # map_dfr(effect_summary, .id = "treatment") -indirect_sorted <- read_csv("https://drive.google.com/uc?export=download&id=1Ar7u2rU7DLMjvS-iV9OXwGcY4Rs1Q5wI") +indirect_sorted <- read_csv("https://go.wisc.edu/n04p94")

We can look at the effects which have the strongest indirect effects. These make sense. For example, genus Biophila seems to have a negative relationship with Taurine. Maybe that metabolite is produced by a @@ -296,9 +308,9 @@

Lasso Approach
 p <- indirect_sorted %>%
-  split(.$treatment) |>
-  map(~ arrange(., -indirect_effect) |>
-    plot_mediators(exper, treatment = "Study.Group", nrow = 2))
+    split(.$treatment) |>
+    map(~ arrange(., -indirect_effect) |>
+        plot_mediators(exper, treatment = "Study.Group", nrow = 2))
 
 p[["CD"]]

@@ -310,25 +322,25 @@

Lasso Approach
 altered <- model |>
-  nullify("T->Y") |>
-  estimate(exper)
+    nullify("T->Y") |>
+    estimate(exper)
 
 # sample at original treatment assignments
 profile <- setup_profile(model, treatments(exper), treatments(exper))
 samples <- list(
-  real = outcomes(exper),
-  fitted = outcomes(sample(model, profile = profile)),
-  altered = outcomes(sample(altered, profile = profile))
+    real = outcomes(exper),
+    fitted = outcomes(sample(model, profile = profile)),
+    altered = outcomes(sample(altered, profile = profile))
 ) |>
-  bind_rows(.id = "source") |>
-  bind_cols(treatment = rep(treatments(exper)$Study.Group, 3)) |>
-  pivot_longer(direct$outcome) |>
-  mutate(name = factor(name, levels = unique(direct$outcome)))
+    bind_rows(.id = "source") |>
+    bind_cols(treatment = rep(treatments(exper)$Study.Group, 3)) |>
+    pivot_longer(direct$outcome) |>
+    mutate(name = factor(name, levels = unique(direct$outcome)))
 
 # visualize
 ggplot(filter(samples, samples$name %in% unique(samples$name)[1:20])) +
-  geom_boxplot(aes(value, name, fill = treatment)) +
-  facet_wrap(~source)
+ geom_boxplot(aes(value, name, fill = treatment)) + + facet_wrap(~source)

How can we understand the uncertainty of the estimated models? One approach is to form the bootstrap distribution of the effects that we @@ -339,38 +351,38 @@

Lasso Approach
 fs <- list(direct = direct_effect, indirect = indirect_overall)
-#inference <- bootstrap(model, exper, fs, B = 1000)
-inference <- readRDS(url("https://drive.google.com/uc?export=download&id=16A9MCblgf327SiL0hataAHYfs38wB_K1"))
+# inference <- bootstrap(model, exper, fs, B = 1000) +inference <- readRDS(url("https://go.wisc.edu/33ty1f"))
 filter_outcomes <- inference$indirect |>
-  effect_summary() |>
-  group_by(outcome) |>
-  summarise(indirect_effect = median(indirect_effect)) |>
-  slice_max(abs(indirect_effect), n = 20) |>
-  pull(outcome)
+    effect_summary() |>
+    group_by(outcome) |>
+    summarise(indirect_effect = median(indirect_effect)) |>
+    slice_max(abs(indirect_effect), n = 20) |>
+    pull(outcome)
 
 p1 <- filter(inference$indirect, outcome %in% filter_outcomes) |>
-  ggplot() +
-  geom_vline(xintercept = 0) +
-  stat_slabinterval(
-    aes(indirect_effect, reorder(outcome, indirect_effect, median)),
-    .width = c(.66, .95)
-  ) +
-  labs(x = "Indirect Effect", y = "Metabolite")
+    ggplot() +
+    geom_vline(xintercept = 0) +
+    stat_slabinterval(
+        aes(indirect_effect, reorder(outcome, indirect_effect, median)),
+        .width = c(.66, .95)
+    ) +
+    labs(x = "Indirect Effect", y = "Metabolite")
 
 filter_outcomes <- inference$direct |>
-  group_by(outcome) |>
-  summarise(direct_effect = median(direct_effect)) |>
-  slice_max(abs(direct_effect), n = 20) |>
-  pull(outcome)
+    group_by(outcome) |>
+    summarise(direct_effect = median(direct_effect)) |>
+    slice_max(abs(direct_effect), n = 20) |>
+    pull(outcome)
 p2 <- filter(inference$direct, outcome %in% filter_outcomes) |>
-  ggplot() +
-  geom_vline(xintercept = 0) +
-  stat_slabinterval(
-    aes(direct_effect, reorder(outcome, direct_effect, median)),
-    .width = c(.66, .95)
-  ) +
-  labs(x = "Direct Effect", y = "Metabolite")
+    ggplot() +
+    geom_vline(xintercept = 0) +
+    stat_slabinterval(
+        aes(direct_effect, reorder(outcome, direct_effect, median)),
+        .width = c(.66, .95)
+    ) +
+    labs(x = "Direct Effect", y = "Metabolite")
 
 p1 | p2

@@ -401,7 +413,7 @@

Hurdle-Lognormal Approach# brms_model(family = hurdle_lognormal()) # ) |> # estimate(exper2) -model <- readRDS(url("https://uwmadison.box.com/shared/static/803fpu7skhjpd8f5ye6pb3crkc67qhl1.rds")) +model <- readRDS(url("https://go.wisc.edu/5e26op"))

With the updated model, we can again compute pathwise indirect effects. This time, we are more sensitive to metabolites that completely vanish in the IBD (treatment) group. In all of the selected pairs, there @@ -409,9 +421,9 @@

Hurdle-Lognormal Approach
-#indirect_sorted <- indirect_pathwise(model, exper2) |>
-indirect_sorted <- read_csv("https://drive.google.com/uc?export=download&id=1aX6h98udBxqR3RBOjbUnoY1wLMfFUceB") |>
-  effect_summary()
+# indirect_sorted <- indirect_pathwise(model, exper2) |>
+indirect_sorted <- read_csv("https://go.wisc.edu/j3z503") |>
+    effect_summary()
 plot_mediators(indirect_sorted, exper2, treatment = "Study.Group")

We can see how well the hurdle model captured the zero pattern by @@ -436,16 +448,16 @@

Hurdle-Lognormal Approach
-#direct <- direct_effect(model, exper) |>
-direct <- read_csv("https://drive.google.com/uc?export=download&id=10dYU4ahizRk7hjsi6JKJWdNKdAI1qyXS") |>
-  effect_summary()
+# direct <- direct_effect(model, exper) |>
+direct <- read_csv("https://go.wisc.edu/3ik252") |>
+    effect_summary()
 
 combined |>
-  select(any_of(direct$outcome), Study.Group) |>
-  pivot_longer(-Study.Group, names_to = "feature") |>
-  mutate(feature = factor(feature, levels = unique(direct$outcome))) |>
-  ggplot() +
-  geom_boxplot(aes(value, feature, fill = Study.Group))
+ select(any_of(direct$outcome), Study.Group) |> + pivot_longer(-Study.Group, names_to = "feature") |> + mutate(feature = factor(feature, levels = unique(direct$outcome))) |> + ggplot() + + geom_boxplot(aes(value, feature, fill = Study.Group))

@@ -499,7 +511,7 @@

Hurdle-Lognormal Approach#> [34] iterators_1.0.14 pkgconfig_2.0.3 Matrix_1.7-0 #> [37] R6_2.5.1 fastmap_1.2.0 glmnetUtils_1.1.9 #> [40] GenomeInfoDbData_1.2.12 digest_0.6.37 colorspace_2.1-1 -#> [43] textshaping_0.4.0 vegan_2.6-6.1 labeling_0.4.3 +#> [43] textshaping_0.4.0 vegan_2.6-8 labeling_0.4.3 #> [46] timechange_0.3.0 fansi_1.0.6 httr_1.4.7 #> [49] abind_1.4-5 mgcv_1.9-1 compiler_4.4.1 #> [52] bit64_4.0.5 withr_3.0.1 backports_1.5.0 diff --git a/docs/articles/illustration.html b/docs/articles/illustration.html index b1d720e..51950e5 100644 --- a/docs/articles/illustration.html +++ b/docs/articles/illustration.html @@ -117,19 +117,19 @@

Illustration with Nonlinear Effects

#' Helper to plot the real data plot_exper <- function(fit, profile) { - pivot_samples(fit, profile) |> -
ggplot() + - geom_point(aes(mediator, value, col = factor(treatment))) + - facet_grid(. ~ outcome) + - theme(legend.position = "bottom") + pivot_samples(fit, profile) |> + ggplot() + + geom_point(aes(mediator, value, col = factor(treatment))) + + facet_grid(. ~ outcome) + + theme(legend.position = "bottom") } #' Convert a SummarizedExperiment to long form pivot_samples <- function(fit, profile) { - exper_sample <- sample(fit, profile = profile) - outcomes(exper_sample) |> - bind_cols(mediators(exper_sample), t_outcome) |> - pivot_longer(starts_with("outcome"), names_to = "outcome") + exper_sample <- sample(fit, profile = profile) + outcomes(exper_sample) |> + bind_cols(mediators(exper_sample), t_outcome) |> + pivot_longer(starts_with("outcome"), names_to = "outcome") }

We will consdier a mediation analysis with two outcomes and a single mediator. The toy dataset below is included in the package – you can @@ -139,22 +139,27 @@

Illustration with Nonlinear Effects

for the direct effect.

 xy_data <- demo_spline()
-xy_long <- list(true = pivot_longer(xy_data, starts_with("outcome"), names_to = "outcome"))
+xy_long <- list( + true = pivot_longer(xy_data, starts_with("outcome"), names_to = "outcome") +)

The block below estimates a random forest model on these randomly generated data (after first converting them into an object of class mediation_data). We can vary ranger parameters using the arguments to rf_model().

-exper <- mediation_data(xy_data, starts_with("outcome"), "treatment", "mediator")
+exper <- mediation_data(
+    xy_data, starts_with("outcome"), "treatment", "mediator"
+)
+
 fit <- multimedia(
-  exper,
-  outcome_estimator = rf_model(num.trees = 1e3)
+    exper,
+    outcome_estimator = rf_model(num.trees = 1e3)
 ) |>
-  estimate(exper)
+ estimate(exper)

Let’s look at the estimated effects.

 direct_effect(fit) |>
-  effect_summary()
+ effect_summary()
#> # A tibble: 2 × 2
 #>   outcome   direct_effect
 #>                
@@ -163,7 +168,7 @@ 

Illustration with Nonlinear Effects

+ effect_summary()
#> # A tibble: 2 × 2
 #>   outcome   indirect_effect
 #>                  
@@ -176,19 +181,21 @@ 

Illustration with Nonlinear Effects

estimate?

 confound_ix <- expand.grid(mediator = 1, outcome = 1:2)
-#sensitivity_curve <- sensitivity(fit, exper, confound_ix)
-sensitivity_curve <- read_csv("https://drive.google.com/uc?export=download&id=1fEhg-aMRyfhAjgcJmsrxz2cmWCOdnM6C")
+# sensitivity_curve <- sensitivity(fit, exper, confound_ix)
+sensitivity_curve <- read_csv("https://go.wisc.edu/0xcyr1")
 plot_sensitivity(sensitivity_curve)

 perturb <- matrix(
-  c(0, 3, 0,
-    3, 0, 0,
-    0, 0, 0),
-  nrow = 3, byrow = TRUE
+    c(
+        0, 3, 0,
+        3, 0, 0,
+        0, 0, 0
+    ),
+    nrow = 3, byrow = TRUE
 )
-#sensitivity_curve <- sensitivity_perturb(fit, exper, perturb)
-sensitivity_curve <- read_csv("https://drive.google.com/uc?export=download&id=1CkCdaAbiVeoo7ILYB1PavFzqiFb1N08A")
+# sensitivity_curve <- sensitivity_perturb(fit, exper, perturb)
+sensitivity_curve <- read_csv("https://go.wisc.edu/75mz1b")
 plot_sensitivity(sensitivity_curve, x_var = "nu")

If we want to look at samples at new treatment assignments, we have @@ -204,75 +211,79 @@

Illustration with Nonlinear Effects

assumes a linear, rather than random forest, outcome model.

 altered_m <- nullify(fit, "T->M") |>
-  estimate(exper)
+    estimate(exper)
 altered_ty <- nullify(fit, "T->Y") |>
-  estimate(exper)
+    estimate(exper)
 
 fit_lm <- multimedia(
-  exper,
-  outcome_estimator = lm_model()
+    exper,
+    outcome_estimator = lm_model()
 ) |>
-  estimate(exper)
+ estimate(exper)

We can sample from these models and organize the results into one long data.frame. The function pivot_samples is defined at the top of the script.

-xy_long <- c(
-  xy_long,
-  list(
-    altered_m = pivot_samples(altered_m, profile),
-    altered_ty = pivot_samples(altered_ty, profile),
-    linear = pivot_samples(fit_lm, profile)
-  )
-) |>
-  bind_rows(.id = "fit_type") |>
-  mutate(
-    fit_type = case_when(
-      fit_type == "linear" ~ "Linear Model",
-      fit_type == "true" ~ "Original Data",
-      fit_type == "fitted" ~ "RF (Full)",
-      fit_type == "altered_ty" ~ "RF (T-\\->Y)",
-      fit_type == "altered_m" ~ "RF (T-\\->M)"
-    ),
-    fit_type = factor(fit_type, levels = c("Original Data", "RF (Full)", "RF (T-\\->M)", "RF (T-\\->Y)", "Linear Model")),
-    outcome = case_when(
-      outcome == "outcome_1" ~ "Y[1]",
-      outcome == "outcome_2" ~ "Y[2]"
+pretty_labels <- c(
+    "Original Data", "RF (Full)", "RF (T-\\->M)", "RF (T-\\->Y)", "Linear Model"
+)
+
+xy_long <- c(
+    xy_long,
+    list(
+        altered_m = pivot_samples(altered_m, profile),
+        altered_ty = pivot_samples(altered_ty, profile),
+        linear = pivot_samples(fit_lm, profile)
     )
-  )
+) |> + bind_rows(.id = "fit_type") |> + mutate( + fit_type = case_when( + fit_type == "linear" ~ "Linear Model", + fit_type == "true" ~ "Original Data", + fit_type == "fitted" ~ "RF (Full)", + fit_type == "altered_ty" ~ "RF (T-\\->Y)", + fit_type == "altered_m" ~ "RF (T-\\->M)" + ), + fit_type = factor(fit_type, levels = pretty_labels), + outcome = case_when( + outcome == "outcome_1" ~ "Y[1]", + outcome == "outcome_2" ~ "Y[2]" + ) + )

The figure below compares the original data and model with the various nullified versions, using the combined xy_long dataset constructed above.

 xy_long |>
-  sample_frac(size = 0.1) |>
-  ggplot(aes(mediator, col = treatment)) +
-  geom_point(aes(y = value), size = 0.4, alpha = 0.9) +
-  geom_rug(alpha = 0.99, linewidth = 0.1) +
-  facet_grid(outcome ~ fit_type) +
-  labs(x = expression("Mediator M"), y = "Outcome", col = "Treatment") +
-  theme(
-    strip.text = element_text(size = 11),
-    axis.title = element_text(size = 14),
-    legend.title = element_text(size = 12)
-  )
+ sample_frac(size = 0.1) |> + ggplot(aes(mediator, col = treatment)) + + geom_point(aes(y = value), size = 0.4, alpha = 0.9) + + geom_rug(alpha = 0.99, linewidth = 0.1) + + facet_grid(outcome ~ fit_type) + + labs(x = expression("Mediator M"), y = "Outcome", col = "Treatment") + + theme( + strip.text = element_text(size = 11), + axis.title = element_text(size = 14), + legend.title = element_text(size = 12) + )

We can calculate bootstrap confidence intervals for the direct and overall indirect effects using the block below.

 fs <- list(direct_effect = direct_effect, indirect_overall = indirect_overall)
-#bootstraps <- bootstrap(fit, exper, fs = fs)
-bootstraps <- readRDS(url("https://drive.google.com/uc?export=download&id=1vhWcY5UruCyLNJbTDTVFLBHV_6ITQdYT"))
+# bootstraps <- bootstrap(fit, exper, fs = fs)
+bootstraps <- readRDS(url("https://go.wisc.edu/977l04"))
 
 ggplot(bootstraps$direct_effect) +
-  geom_histogram(aes(direct_effect)) +
-  facet_wrap(~outcome)
+ geom_histogram(aes(direct_effect)) + + facet_wrap(~outcome)

 
 ggplot(bootstraps$indirect_overall) +
-  geom_histogram(aes(indirect_effect)) +
-  facet_wrap(~outcome)
+ geom_histogram(aes(indirect_effect)) + + facet_wrap(~outcome)

 sessionInfo()
@@ -325,7 +336,7 @@

Illustration with Nonlinear Effects

#> [40] bookdown_0.40 iterators_1.0.14 knitr_1.48 #> [43] timechange_0.3.0 Matrix_1.7-0 splines_4.4.1 #> [46] igraph_2.0.3 abind_1.4-5 yaml_2.3.10 -#> [49] vegan_2.6-6.1 codetools_0.2-20 curl_5.2.1 +#> [49] vegan_2.6-8 codetools_0.2-20 curl_5.2.1 #> [52] lattice_0.22-6 plyr_1.8.9 withr_3.0.1 #> [55] evaluate_0.24.0 desc_1.4.3 survival_3.7-0 #> [58] Biostrings_2.73.1 pillar_1.9.0 BiocManager_1.30.24 diff --git a/docs/articles/mindfulness.html b/docs/articles/mindfulness.html index 4fc383c..b557eb5 100644 --- a/docs/articles/mindfulness.html +++ b/docs/articles/mindfulness.html @@ -132,11 +132,11 @@

The Mindfulness Study

different baseline behavioral and microbiome profiles.

 exper <- mediation_data(
-  mindfulness,
-  taxa_names(mindfulness),
-  "treatment",
-  starts_with("mediator"),
-  "subject"
+    mindfulness,
+    taxa_names(mindfulness),
+    "treatment",
+    starts_with("mediator"),
+    "subject"
 )
 
 exper
@@ -155,21 +155,21 @@

The Mindfulness Study

 # use Flavonifractor as the reference for the log-ratio transform
 outcomes(exper) <- outcomes(exper) |>
-  select(Flavonifractor, everything())
+    select(Flavonifractor, everything())
 
 model <- multimedia(
-  exper,
-  lnm_model(seed = .Random.seed[1]),
-  glmnet_model(lambda = 0.5, alpha = 0)
+    exper,
+    lnm_model(seed = .Random.seed[1]),
+    glmnet_model(lambda = 0.5, alpha = 0)
 ) |>
-  estimate(exper)
+ estimate(exper)
#> ------------------------------------------------------------ 
 #> EXPERIMENTAL ALGORITHM: 
 #>   This procedure has not been thoroughly tested and may be unstable 
 #>   or buggy. The interface is subject to change. 
 #> ------------------------------------------------------------ 
-#> Gradient evaluation took 0.008748 seconds 
-#> 1000 transitions using 10 leapfrog steps per transition would take 87.48 seconds. 
+#> Gradient evaluation took 0.011177 seconds 
+#> 1000 transitions using 10 leapfrog steps per transition would take 111.77 seconds. 
 #> Adjust your expectations accordingly! 
 #> Begin eta adaptation. 
 #> Iteration:   1 / 250 [  0%]  (Adaptation) 
@@ -195,7 +195,7 @@ 

The Mindfulness Study

#> 1300 -83647.463 0.016 0.008 MEDIAN ELBO CONVERGED #> Drawing a sample of size 1000 from the approximate posterior... #> COMPLETED. -#> Finished in 15.3 seconds.
+#> Finished in 15.1 seconds.

Evaluating Effects

@@ -206,9 +206,9 @@

Evaluating Effects
 direct <- direct_effect(model, exper)
 direct |>
-  group_by(outcome) |>
-  summarise(direct_effect = mean(direct_effect)) |>
-  arrange(-abs(direct_effect))

+ group_by(outcome) |> + summarise(direct_effect = mean(direct_effect)) |> + arrange(-abs(direct_effect))
#> # A tibble: 55 × 2
 #>    outcome          direct_effect
 #>                        
@@ -227,9 +227,9 @@ 

Evaluating Effects
 indirect <- indirect_pathwise(model, exper) |>
-  group_by(mediator, outcome) |>
-  summarise(indirect_effect = mean(indirect_effect)) |>
-  arrange(-abs(indirect_effect))
+    group_by(mediator, outcome) |>
+    summarise(indirect_effect = mean(indirect_effect)) |>
+    arrange(-abs(indirect_effect))
 indirect
#> # A tibble: 220 × 3
 #> # Groups:   mediator [4]
@@ -273,15 +273,15 @@ 

Model Alterations
 altered <- model |>
-  nullify("T->M") |>
-  estimate(exper)
+ nullify("T->M") |> + estimate(exper)

#> ------------------------------------------------------------ 
 #> EXPERIMENTAL ALGORITHM: 
 #>   This procedure has not been thoroughly tested and may be unstable 
 #>   or buggy. The interface is subject to change. 
 #> ------------------------------------------------------------ 
-#> Gradient evaluation took 0.009652 seconds 
-#> 1000 transitions using 10 leapfrog steps per transition would take 96.52 seconds. 
+#> Gradient evaluation took 0.010854 seconds 
+#> 1000 transitions using 10 leapfrog steps per transition would take 108.54 seconds. 
 #> Adjust your expectations accordingly! 
 #> Begin eta adaptation. 
 #> Iteration:   1 / 250 [  0%]  (Adaptation) 
@@ -307,7 +307,7 @@ 

Model Alterations#> 1300 -83647.463 0.016 0.008 MEDIAN ELBO CONVERGED #> Drawing a sample of size 1000 from the approximate posterior... #> COMPLETED. -#> Finished in 14.9 seconds.

+#> Finished in 16.8 seconds.

These modified models can be used to simulate synthetic null data that help contextualize the effects seen in real data. For example, we can compare imaginary cohort drawn from the original and the altered @@ -317,7 +317,7 @@

Model Alterations
-new_assign <- treatments(exper)[sample(nrow(treatments(exper))),, drop=FALSE]
+new_assign <- treatments(exper)[sample(nrow(treatments(exper))), , drop = FALSE]
 profile <- setup_profile(model, new_assign, new_assign)
 m1 <- sample(model, profile = profile, pretreatment = pretreatments(exper))
 m2 <- sample(altered, profile = profile, pretreatment = pretreatments(exper))
@@ -329,15 +329,17 @@

Model Alterations
 list(
-  real = bind_cols(treatments(exper), mediators(exper), pretreatments(exper)),
-  original = bind_cols(new_assign, mediators(m1), pretreatments(exper)),
-  altered = bind_cols(new_assign, mediators(m2), pretreatments(exper))
+    real = bind_cols(treatments(exper), mediators(exper), pretreatments(exper)),
+    original = bind_cols(new_assign, mediators(m1), pretreatments(exper)),
+    altered = bind_cols(new_assign, mediators(m2), pretreatments(exper))
 ) |>
-  bind_rows(.id = "source") |>
-  pivot_longer(starts_with("mediator"), names_to = "mediator") |>
-  ggplot() +
-  geom_boxplot(aes(value, reorder(mediator, value, median), fill = treatment)) +
-  facet_grid(~source)
+ bind_rows(.id = "source") |> + pivot_longer(starts_with("mediator"), names_to = "mediator") |> + ggplot() + + geom_boxplot( + aes(value, reorder(mediator, value, median), fill = treatment) + ) + + facet_grid(~source)

Here is the analogous alteration that removes all direct effects. The xx-axis @@ -351,15 +353,15 @@

Model Alterations
 altered_direct <- model |>
-  nullify("T->Y") |>
-  estimate(exper)
+ nullify("T->Y") |> + estimate(exper)
#> ------------------------------------------------------------ 
 #> EXPERIMENTAL ALGORITHM: 
 #>   This procedure has not been thoroughly tested and may be unstable 
 #>   or buggy. The interface is subject to change. 
 #> ------------------------------------------------------------ 
-#> Gradient evaluation took 0.008821 seconds 
-#> 1000 transitions using 10 leapfrog steps per transition would take 88.21 seconds. 
+#> Gradient evaluation took 0.016047 seconds 
+#> 1000 transitions using 10 leapfrog steps per transition would take 160.47 seconds. 
 #> Adjust your expectations accordingly! 
 #> Begin eta adaptation. 
 #> Iteration:   1 / 250 [  0%]  (Adaptation) 
@@ -384,19 +386,19 @@ 

Model Alterations#> 1200 -83870.635 0.040 0.010 MEDIAN ELBO CONVERGED #> Drawing a sample of size 1000 from the approximate posterior... #> COMPLETED. -#> Finished in 14.4 seconds.

+#> Finished in 15.9 seconds. + nullify("M->Y") |> + estimate(exper)
#> ------------------------------------------------------------ 
 #> EXPERIMENTAL ALGORITHM: 
 #>   This procedure has not been thoroughly tested and may be unstable 
 #>   or buggy. The interface is subject to change. 
 #> ------------------------------------------------------------ 
-#> Gradient evaluation took 0.00862 seconds 
-#> 1000 transitions using 10 leapfrog steps per transition would take 86.2 seconds. 
+#> Gradient evaluation took 0.010268 seconds 
+#> 1000 transitions using 10 leapfrog steps per transition would take 102.68 seconds. 
 #> Adjust your expectations accordingly! 
 #> Begin eta adaptation. 
 #> Iteration:   1 / 250 [  0%]  (Adaptation) 
@@ -421,56 +423,62 @@ 

Model Alterations#> 1200 -83009.099 0.018 0.007 MEDIAN ELBO CONVERGED #> Drawing a sample of size 1000 from the approximate posterior... #> COMPLETED. -#> Finished in 14.3 seconds.

+#> Finished in 15.6 seconds.
 
 profile <- setup_profile(model, treatments(exper), treatments(exper))
 y1 <- sample(model, profile = profile, pretreatment = pretreatments(exper))
-y2 <- sample(altered_direct, profile = profile, pretreatment = pretreatments(exper))
-y3 <- sample(altered_indirect, profile = profile, pretreatment = pretreatments(exper))
+y2 <- sample( + altered_direct, + profile = profile, pretreatment = pretreatments(exper) +) +y3 <- sample( + altered_indirect, + profile = profile, pretreatment = pretreatments(exper) +)
 taxa_order <- normalize(outcomes(exper)) |>
-  log() |>
-  apply(2, \(x) {
-    x[is.infinite(x)] <- NA
-    median(x, na.rm = TRUE)
-  }) |>
-  order()
+    log() |>
+    apply(2, \(x) {
+        x[is.infinite(x)] <- NA
+        median(x, na.rm = TRUE)
+    }) |>
+    order()
 
 combined_samples <- list(
-  "Original Data" = normalize(outcomes(exper)),
-  "Full Model" = normalize(outcomes(y1)),
-  "No Direct Effect" = normalize(outcomes(y2)),
-  "No Indirect Effect" = normalize(outcomes(y3))
+    "Original Data" = normalize(outcomes(exper)),
+    "Full Model" = normalize(outcomes(y1)),
+    "No Direct Effect" = normalize(outcomes(y2)),
+    "No Indirect Effect" = normalize(outcomes(y3))
 ) |>
-  bind_rows(.id = "source") |>
-  mutate(treatment = rep(treatments(exper)$treatment, 4)) |>
-  pivot_longer(colnames(outcomes(exper))) |>
-  mutate(name = factor(name, levels = colnames(outcomes(exper))[taxa_order]))
+    bind_rows(.id = "source") |>
+    mutate(treatment = rep(treatments(exper)$treatment, 4)) |>
+    pivot_longer(colnames(outcomes(exper))) |>
+    mutate(name = factor(name, levels = colnames(outcomes(exper))[taxa_order]))
 
 ggplot(combined_samples) +
-  geom_boxplot(
-    aes(log(value), name, fill = treatment),
-    size = 0.4, outlier.size = 0.8, position = "identity",
-    alpha = 0.7
-  ) +
-  labs(x = "log(Relative Abundance)", y = "Genus", fill = "", col = "") +
-  facet_grid(~source, scales = "free") +
-  theme(panel.border = element_rect(fill = NA))
+ geom_boxplot( + aes(log(value), name, fill = treatment), + size = 0.4, outlier.size = 0.8, position = "identity", + alpha = 0.7 + ) + + labs(x = "log(Relative Abundance)", y = "Genus", fill = "", col = "") + + facet_grid(~source, scales = "free") + + theme(panel.border = element_rect(fill = NA))

 combined_samples |>
-  group_by(name, source, treatment) |>
-  summarise(presence = mean(value > 0)) |>
-  ggplot() +
-  geom_col(
-    aes(presence, name, fill = treatment, col = treatment),
-    position = "identity", width = 1,
-    alpha = 0.7
-  ) +
-  facet_grid(~source, scales = "free") +
-  scale_x_continuous(expand = c(0, 0)) +
-  theme(panel.border = element_rect(fill = NA))
+ group_by(name, source, treatment) |> + summarise(presence = mean(value > 0)) |> + ggplot() + + geom_col( + aes(presence, name, fill = treatment, col = treatment), + position = "identity", width = 1, + alpha = 0.7 + ) + + facet_grid(~source, scales = "free") + + scale_x_continuous(expand = c(0, 0)) + + theme(panel.border = element_rect(fill = NA))

@@ -506,8 +514,8 @@

Synthetic Null Testing#> This procedure has not been thoroughly tested and may be unstable #> or buggy. The interface is subject to change. #> ------------------------------------------------------------ -#> Gradient evaluation took 0.009921 seconds -#> 1000 transitions using 10 leapfrog steps per transition would take 99.21 seconds. +#> Gradient evaluation took 0.008489 seconds +#> 1000 transitions using 10 leapfrog steps per transition would take 84.89 seconds. #> Adjust your expectations accordingly! #> Begin eta adaptation. #> Iteration: 1 / 250 [ 0%] (Adaptation) @@ -532,14 +540,14 @@

Synthetic Null Testing#> 1200 -83870.635 0.040 0.010 MEDIAN ELBO CONVERGED #> Drawing a sample of size 1000 from the approximate posterior... #> COMPLETED. -#> Finished in 14.9 seconds. +#> Finished in 15.1 seconds. #> ------------------------------------------------------------ #> EXPERIMENTAL ALGORITHM: #> This procedure has not been thoroughly tested and may be unstable #> or buggy. The interface is subject to change. #> ------------------------------------------------------------ -#> Gradient evaluation took 0.007981 seconds -#> 1000 transitions using 10 leapfrog steps per transition would take 79.81 seconds. +#> Gradient evaluation took 0.00817 seconds +#> 1000 transitions using 10 leapfrog steps per transition would take 81.7 seconds. #> Adjust your expectations accordingly! #> Begin eta adaptation. #> Iteration: 1 / 250 [ 0%] (Adaptation) @@ -564,10 +572,10 @@

Synthetic Null Testing#> 1200 -93959.448 0.051 0.010 MEDIAN ELBO CONVERGED #> Drawing a sample of size 1000 from the approximate posterior... #> COMPLETED. -#> Finished in 13.7 seconds. +#> Finished in 14.5 seconds.
 fdr_direct <- fdr_summary(contrast, "direct_effect") |>
-  dplyr::rename(effect = direct_effect)
+ dplyr::rename(effect = direct_effect)

The indirect effect analog is shown below. It seems we have more evidence for direct than indirect effects. This is consistent with literature on the difficulty of estimating indirect effects in mediation @@ -579,8 +587,8 @@

Synthetic Null Testing#> This procedure has not been thoroughly tested and may be unstable #> or buggy. The interface is subject to change. #> ------------------------------------------------------------ -#> Gradient evaluation took 0.009195 seconds -#> 1000 transitions using 10 leapfrog steps per transition would take 91.95 seconds. +#> Gradient evaluation took 0.007982 seconds +#> 1000 transitions using 10 leapfrog steps per transition would take 79.82 seconds. #> Adjust your expectations accordingly! #> Begin eta adaptation. #> Iteration: 1 / 250 [ 0%] (Adaptation) @@ -605,14 +613,14 @@

Synthetic Null Testing#> 1200 -83009.099 0.018 0.007 MEDIAN ELBO CONVERGED #> Drawing a sample of size 1000 from the approximate posterior... #> COMPLETED. -#> Finished in 15.7 seconds. +#> Finished in 14.3 seconds. #> ------------------------------------------------------------ #> EXPERIMENTAL ALGORITHM: #> This procedure has not been thoroughly tested and may be unstable #> or buggy. The interface is subject to change. #> ------------------------------------------------------------ -#> Gradient evaluation took 0.008695 seconds -#> 1000 transitions using 10 leapfrog steps per transition would take 86.95 seconds. +#> Gradient evaluation took 0.008389 seconds +#> 1000 transitions using 10 leapfrog steps per transition would take 83.89 seconds. #> Adjust your expectations accordingly! #> Begin eta adaptation. #> Iteration: 1 / 250 [ 0%] (Adaptation) @@ -639,46 +647,55 @@

Synthetic Null Testing#> 1400 -92232.072 0.019 0.006 MEDIAN ELBO CONVERGED #> Drawing a sample of size 1000 from the approximate posterior... #> COMPLETED. -#> Finished in 17.2 seconds. +#> Finished in 16.2 seconds.
 fdr_indirect <- fdr_summary(contrast, "indirect_overall") |>
-  dplyr::rename(effect = indirect_effect)
+ dplyr::rename(effect = indirect_effect)
 fdr_data <- bind_rows(fdr_direct, fdr_indirect, .id = "effect_type") |>
-  mutate(effect_type = c("Direct", "Indirect")[as.integer(effect_type)])
+    mutate(effect_type = c("Direct", "Indirect")[as.integer(effect_type)])
 ggplot(fdr_data, aes(effect, fdr_hat)) +
-  geom_text_repel(data = filter(fdr_data, keep), aes(label = outcome, col = source), size = 3, force = 10) +
-  labs(x = "Effect", y = expression(widehat(FDR)), col = "Data Source") +
-  geom_point(aes(col = source, size = keep)) +
-  scale_size_discrete("Selected", range = c(.5, 3), guide = FALSE) +
-  scale_y_continuous(limits = c(-0.1, 0.55)) +
-  facet_wrap(~effect_type, scales = "free_x") +
-  theme(
-    axis.text.x = element_text(size = 12),
-    axis.text.y = element_text(size = 12),
-    strip.text = element_text(size = 14),
-    legend.text = element_text(size = 12)
-  )
+ geom_text_repel( + data = filter(fdr_data, keep), + aes(label = outcome, col = source), size = 3, force = 10 + ) + + labs(x = "Effect", y = expression(widehat(FDR)), col = "Data Source") + + geom_point(aes(col = source, size = keep)) + + scale_size_discrete("Selected", range = c(.5, 3), guide = FALSE) + + scale_y_continuous(limits = c(-0.1, 0.55)) + + facet_wrap(~effect_type, scales = "free_x") + + theme( + axis.text.x = element_text(size = 12), + axis.text.y = element_text(size = 12), + strip.text = element_text(size = 14), + legend.text = element_text(size = 12) + )

 bind_mediation(exper_rela) |>
-  select(subject, starts_with("mediator"), treatment, Roseburia, Blautia, Faecalibacterium) |>
-  pivot_longer(starts_with("mediator"), names_to = "mediator") |>
-  mutate(mediator = str_remove(mediator, "mediator.")) |>
-  pivot_longer(Roseburia:Faecalibacterium, names_to = "taxon", values_to = "abundance") |>
-  group_by(subject, mediator, treatment, taxon) |>
-  summarise(abundance = mean(abundance), value = mean(value)) |>
-  ggplot() +
-  geom_point(aes(value, abundance, col = treatment)) +
-  facet_grid(taxon ~ mediator, scales = "free") +
-  labs(y = "Relative Abundance", x = "Mediator Value", col = "") +
-  theme(
-    axis.title = element_text(size = 14),
-    strip.text = element_text(size = 12),
-    strip.text.y = element_text(size = 12, angle = 0),
-    legend.text = element_text(size = 12),
-    panel.border = element_rect(fill = NA)
-  )
+ select( + subject, starts_with("mediator"), treatment, Roseburia, Blautia, + Faecalibacterium + ) |> + pivot_longer(starts_with("mediator"), names_to = "mediator") |> + mutate(mediator = str_remove(mediator, "mediator.")) |> + pivot_longer( + Roseburia:Faecalibacterium, + names_to = "taxon", values_to = "abundance" + ) |> + group_by(subject, mediator, treatment, taxon) |> + summarise(abundance = mean(abundance), value = mean(value)) |> + ggplot() + + geom_point(aes(value, abundance, col = treatment)) + + facet_grid(taxon ~ mediator, scales = "free") + + labs(y = "Relative Abundance", x = "Mediator Value", col = "") + + theme( + axis.title = element_text(size = 14), + strip.text = element_text(size = 12), + strip.text.y = element_text(size = 12, angle = 0), + legend.text = element_text(size = 12), + panel.border = element_rect(fill = NA) + )

Here is the analog for indirect pathwise effects. Since these effects distinguish between individual mediators, we can facet by these @@ -690,8 +707,8 @@

Synthetic Null Testing#> This procedure has not been thoroughly tested and may be unstable #> or buggy. The interface is subject to change. #> ------------------------------------------------------------ -#> Gradient evaluation took 0.007716 seconds -#> 1000 transitions using 10 leapfrog steps per transition would take 77.16 seconds. +#> Gradient evaluation took 0.00768 seconds +#> 1000 transitions using 10 leapfrog steps per transition would take 76.8 seconds. #> Adjust your expectations accordingly! #> Begin eta adaptation. #> Iteration: 1 / 250 [ 0%] (Adaptation) @@ -716,14 +733,14 @@

Synthetic Null Testing#> 1200 -83009.099 0.018 0.007 MEDIAN ELBO CONVERGED #> Drawing a sample of size 1000 from the approximate posterior... #> COMPLETED. -#> Finished in 13.4 seconds. +#> Finished in 13.9 seconds. #> ------------------------------------------------------------ #> EXPERIMENTAL ALGORITHM: #> This procedure has not been thoroughly tested and may be unstable #> or buggy. The interface is subject to change. #> ------------------------------------------------------------ -#> Gradient evaluation took 0.008217 seconds -#> 1000 transitions using 10 leapfrog steps per transition would take 82.17 seconds. +#> Gradient evaluation took 0.008923 seconds +#> 1000 transitions using 10 leapfrog steps per transition would take 89.23 seconds. #> Adjust your expectations accordingly! #> Begin eta adaptation. #> Iteration: 1 / 250 [ 0%] (Adaptation) @@ -749,15 +766,18 @@

Synthetic Null Testing#> 1300 -92870.784 0.015 0.008 MEDIAN ELBO CONVERGED #> Drawing a sample of size 1000 from the approximate posterior... #> COMPLETED. -#> Finished in 13.4 seconds. +#> Finished in 15.1 seconds.
 fdr <- fdr_summary(contrast, "indirect_pathwise")
 ggplot(fdr, aes(indirect_effect, fdr_hat)) +
-  geom_text_repel(data = filter(fdr, keep), aes(label = outcome, fill = source), size = 4) +
-  labs(x = "Indirect Effect", y = "Estimated False Discovery Rate") +
-  geom_point(aes(col = source, size = keep)) +
-  scale_size_discrete(range = c(.2, 3)) +
-  facet_wrap(~mediator)
+ geom_text_repel( + data = filter(fdr, keep), + aes(label = outcome, fill = source), size = 4 + ) + + labs(x = "Indirect Effect", y = "Estimated False Discovery Rate") + + geom_point(aes(col = source, size = keep)) + + scale_size_discrete(range = c(.2, 3)) + + facet_wrap(~mediator)

@@ -771,24 +791,24 @@

Random Forests
 model <- multimedia(
-  exper_rela,
-  rf_model(num.trees = 50),
-  glmnet_model(lambda = 0.5, alpha = 0)
+    exper_rela,
+    rf_model(num.trees = 50),
+    glmnet_model(lambda = 0.5, alpha = 0)
 ) |>
-  estimate(exper_rela)
+ estimate(exper_rela)

We can compute direct and indirect effects from the estimated model.

 direct <- direct_effect(model, exper_rela)
 direct_sorted <- direct |>
-  group_by(outcome, contrast) |>
-  summarise(direct_effect = mean(direct_effect)) |>
-  arrange(-direct_effect)
+    group_by(outcome, contrast) |>
+    summarise(direct_effect = mean(direct_effect)) |>
+    arrange(-direct_effect)
 
 indirect_sorted <- indirect_pathwise(model, exper_rela) |>
-  group_by(outcome, mediator, contrast) |>
-  summarise(indirect_effect = mean(indirect_effect)) |>
-  arrange(-abs(indirect_effect))
+    group_by(outcome, mediator, contrast) |>
+    summarise(indirect_effect = mean(indirect_effect)) |>
+    arrange(-abs(indirect_effect))
 
 direct_sorted
#> # A tibble: 55 × 3
@@ -842,8 +862,8 @@ 

Bootstrap
 funs <- list(direct = direct_effect, indirect = indirect_overall)
-#inference <- bootstrap(model, exper_rela, funs, B = 1e3)
-inference <- readRDS(url("https://drive.google.com/uc?export=download&id=196yFXbuyeZShpZr58WZpUI3EEArotMuk"))
+# inference <- bootstrap(model, exper_rela, funs, B = 1e3) +inference <- readRDS(url("https://go.wisc.edu/ba3e87"))

We can now visualize the bootstrap confidence intervals associated with the estimated effects. The largest interval corresponds to a 90% bootstrap confidence interval. The inner interval covers the median +/- @@ -858,20 +878,22 @@

Bootstrap
 p1 <- ggplot(inference$indirect) +
-  geom_vline(xintercept = 0) +
-  stat_slabinterval(
-    aes(indirect_effect, reorder(outcome, indirect_effect, median)),
-    .width = c(.66, .95)
-  ) +
-  labs(title = "Indirect Effects", y = "Taxon", x = "Effect (Rel. Abund Scale)")
+    geom_vline(xintercept = 0) +
+    stat_slabinterval(
+        aes(indirect_effect, reorder(outcome, indirect_effect, median)),
+        .width = c(.66, .95)
+    ) +
+    labs(
+        title = "Indirect Effects", y = "Taxon", x = "Effect (Rel. Abund Scale)"
+    )
 
 p2 <- ggplot(inference$direct) +
-  geom_vline(xintercept = 0) +
-  stat_slabinterval(
-    aes(direct_effect, reorder(outcome, direct_effect, median)),
-    .width = c(.66, .95)
-  ) +
-  labs(title = "Direct Effects", y = "Taxon", x = "Effect (Rel. Abund Scale)")
+    geom_vline(xintercept = 0) +
+    stat_slabinterval(
+        aes(direct_effect, reorder(outcome, direct_effect, median)),
+        .width = c(.66, .95)
+    ) +
+    labs(title = "Direct Effects", y = "Taxon", x = "Effect (Rel. Abund Scale)")
 
 p1 | p2

@@ -928,7 +950,7 @@

Bootstrap#> [43] jquerylib_0.1.4 Rcpp_1.0.13 bookdown_0.40 #> [46] iterators_1.0.14 knitr_1.48 timechange_0.3.0 #> [49] Matrix_1.7-0 splines_4.4.1 igraph_2.0.3 -#> [52] abind_1.4-5 yaml_2.3.10 vegan_2.6-6.1 +#> [52] abind_1.4-5 yaml_2.3.10 vegan_2.6-8 #> [55] codetools_0.2-20 processx_3.8.4 lattice_0.22-6 #> [58] plyr_1.8.9 withr_3.0.1 posterior_1.6.0 #> [61] evaluate_0.24.0 desc_1.4.3 survival_3.7-0 diff --git a/docs/articles/random.html b/docs/articles/random.html index 2757b57..3358a9c 100644 --- a/docs/articles/random.html +++ b/docs/articles/random.html @@ -18,15 +18,13 @@ - - - +
@@ -79,7 +87,7 @@ - +
@@ -87,7 +95,7 @@

Quick Start with Random Data

- + Source: vignettes/random.Rmd
@@ -95,8 +103,8 @@

Quick Start with Random Data

This vignette gives a brief introduction using simulated that resemble a mediation analysis of the gut-brain axis. The basic question @@ -129,7 +137,7 @@

Quick Start with Random Data

linear regression model for each mediation and outcome variable.

 model <- multimedia(exper) |>
-  estimate(exper)
+    estimate(exper)
 
 model
#> [Multimedia Analysis] 
@@ -140,13 +148,14 @@ 

Quick Start with Random Data

#> [Models] #> mediation: A fitted lm_model(). #> outcome: A fitted lm_model().
-

The edges slot tracks all the variable relationships. -For example, we can visualize the causal graph using the -ggraph code below.

+

The edges slot tracks all the variable relationships, +and it can be accessed using the edges method. For example, +we can visualize the causal graph using the ggraph code +below.

-ggraph(model@edges) +
-  geom_edge_link(arrow = arrow()) +
-  geom_node_label(aes(label = name, fill = node_type))
+ggraph(edges(model)) + + geom_edge_link(arrow = arrow()) + + geom_node_label(aes(label = name, fill = node_type))

Now that we’ve coupled the mediation and outcome models, we can propogate predictions and samples through them. That is, we can define @@ -186,8 +195,9 @@

Quick Start with Random Data

with this kind of configuration and three others that keep all edges at control.

-t_mediator <- model@treatments[c(2, rep(1, 3)),, drop=FALSE]
-t_outcome <- model@treatments[rep(1, 4),, drop=FALSE]
+t_mediator <- factor(c("Treatment", rep("Control", 3)))
+t_outcome <- factor(rep("Control", 4), levels = c("Treatment", "Control"))
+
 profile <- setup_profile(model, t_mediator, t_outcome)
 sample(model, profile = profile)
#> [Mediation Data] 
@@ -214,10 +224,58 @@ 

Quick Start with Random Data

#> 2 -0.129 #> 3 -0.129 #> 4 -0.129
+
+
+setup_profile(model, t_mediator, t_outcome)
+
#> An object of class "treatment_profile"
+#> Slot "t_mediator":
+#> $ASV1
+#>   treatment
+#> 1 Treatment
+#> 2   Control
+#> 3   Control
+#> 4   Control
+#> 
+#> $ASV2
+#>   treatment
+#> 1 Treatment
+#> 2   Control
+#> 3   Control
+#> 4   Control
+#> 
+#> $ASV3
+#>   treatment
+#> 1 Treatment
+#> 2   Control
+#> 3   Control
+#> 4   Control
+#> 
+#> $ASV4
+#>   treatment
+#> 1 Treatment
+#> 2   Control
+#> 3   Control
+#> 4   Control
+#> 
+#> $ASV5
+#>   treatment
+#> 1 Treatment
+#> 2   Control
+#> 3   Control
+#> 4   Control
+#> 
+#> 
+#> Slot "t_outcome":
+#> $PHQ
+#>   treatment
+#> 1   Control
+#> 2   Control
+#> 3   Control
+#> 4   Control

We can also contrast the predictions and samples under different profiles.

-
-profile_control <- setup_profile(model, model@treatments[rep(1, 4),, drop = FALSE], t_outcome)
+
+profile_control <- setup_profile(model, t_outcome, t_outcome)
 contrast_predictions(model, profile, profile_control)
#> $mediators
 #>          ASV1      ASV2      ASV3      ASV4        ASV5
@@ -232,7 +290,7 @@ 

Quick Start with Random Data

#> 2 0.000000000 #> 3 0.000000000 #> 4 0.000000000
-
+
 contrast_samples(model, profile, profile_control)
#> $mediators
 #>         ASV1        ASV2       ASV3       ASV4       ASV5
@@ -252,26 +310,29 @@ 

Effect Estimates

It’s a small step from contrasting different configurations to asking for the direct and indirect treatments effects. The direct effect is -defined as the average of \(\hat{Y}\left(\hat{M}\left(t'\right), 1\right) -- \hat{Y}\left(\hat{M}\left(t'\right), 0\right)\) across -mediator treatment effects \(t'\). +defined as the average of +Ŷ(M̂(t),1)Ŷ(M̂(t),0) +\hat{Y}\left(\hat{M}\left(t'\right), 1\right) - +\hat{Y}\left(\hat{M}\left(t'\right), 0\right) + across mediator treatment effects +tt'. The hats mean that we use the predicted values from the mediation and outcome values. I’ve distinguished between “overall” and “pathwise” indirect effects because we’re working with high-dimensional mediators. In the overall effect, we toggle treatment/control status for incoming edges to all mediators. In pathwise indirect effects, we toggle only the treatment going into one mediator.

-
+
 direct_effect(model, exper)
#>   outcome indirect_setting            contrast direct_effect
 #> 1     PHQ          Control Control - Treatment   -0.08646108
 #> 2     PHQ        Treatment Control - Treatment   -0.08646108
-
+
 indirect_overall(model, exper)
#>   outcome direct_setting            contrast indirect_effect
 #> 1     PHQ        Control Control - Treatment     0.004711189
 #> 2     PHQ      Treatment Control - Treatment     0.004711189
-
+
 indirect_pathwise(model, exper)
#>    outcome mediator direct_setting            contrast indirect_effect
 #> 1      PHQ     ASV1        Control Control - Treatment     0.002020718
@@ -294,20 +355,20 @@ 

Effect Estimates -
+
 model <- multimedia(exper, glmnet_model(lambda = .1)) |>
-  estimate(exper)
+    estimate(exper)
 
 direct_effect(model, exper)
#>   outcome indirect_setting            contrast direct_effect
 #> 1     PHQ          Control Control - Treatment   -0.05366268
 #> 2     PHQ        Treatment Control - Treatment   -0.05366268
-
+
 indirect_overall(model, exper)
#>   outcome direct_setting            contrast indirect_effect
 #> 1     PHQ        Control Control - Treatment      0.01384187
 #> 2     PHQ      Treatment Control - Treatment      0.01384187
-
+
 indirect_pathwise(model, exper)
#>    outcome mediator direct_setting            contrast indirect_effect
 #> 1      PHQ     ASV1        Control Control - Treatment     0.000000000
@@ -329,2010 +390,20 @@ 

Inference
-bootstrap(model, exper, c(direct_effect = direct_effect))

-
#> $direct_effect
-#>      bootstrap outcome indirect_setting            contrast direct_effect
-#> 1            1     PHQ          Control Control - Treatment -7.762666e-02
-#> 2            1     PHQ        Treatment Control - Treatment -7.762666e-02
-#> 3            2     PHQ          Control Control - Treatment -1.324763e-01
-#> 4            2     PHQ        Treatment Control - Treatment -1.324763e-01
-#> 5            3     PHQ          Control Control - Treatment -8.455178e-02
-#> 6            3     PHQ        Treatment Control - Treatment -8.455178e-02
-#> 7            4     PHQ          Control Control - Treatment -1.042292e-01
-#> 8            4     PHQ        Treatment Control - Treatment -1.042292e-01
-#> 9            5     PHQ          Control Control - Treatment -1.521041e-01
-#> 10           5     PHQ        Treatment Control - Treatment -1.521041e-01
-#> 11           6     PHQ          Control Control - Treatment -1.187328e-01
-#> 12           6     PHQ        Treatment Control - Treatment -1.187328e-01
-#> 13           7     PHQ          Control Control - Treatment -1.567047e-01
-#> 14           7     PHQ        Treatment Control - Treatment -1.567047e-01
-#> 15           8     PHQ          Control Control - Treatment  9.642162e-02
-#> 16           8     PHQ        Treatment Control - Treatment  9.642162e-02
-#> 17           9     PHQ          Control Control - Treatment -1.438649e-01
-#> 18           9     PHQ        Treatment Control - Treatment -1.438649e-01
-#> 19          10     PHQ          Control Control - Treatment -4.427735e-02
-#> 20          10     PHQ        Treatment Control - Treatment -4.427735e-02
-#> 21          11     PHQ          Control Control - Treatment -2.322077e-01
-#> 22          11     PHQ        Treatment Control - Treatment -2.322077e-01
-#> 23          12     PHQ          Control Control - Treatment  3.484604e-02
-#> 24          12     PHQ        Treatment Control - Treatment  3.484604e-02
-#> 25          13     PHQ          Control Control - Treatment -2.368980e-01
-#> 26          13     PHQ        Treatment Control - Treatment -2.368980e-01
-#> 27          14     PHQ          Control Control - Treatment -3.304762e-01
-#> 28          14     PHQ        Treatment Control - Treatment -3.304762e-01
-#> 29          15     PHQ          Control Control - Treatment -1.025688e-01
-#> 30          15     PHQ        Treatment Control - Treatment -1.025688e-01
-#> 31          16     PHQ          Control Control - Treatment  0.000000e+00
-#> 32          16     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 33          17     PHQ          Control Control - Treatment -1.837012e-02
-#> 34          17     PHQ        Treatment Control - Treatment -1.837012e-02
-#> 35          18     PHQ          Control Control - Treatment -1.666047e-01
-#> 36          18     PHQ        Treatment Control - Treatment -1.666047e-01
-#> 37          19     PHQ          Control Control - Treatment  9.319094e-02
-#> 38          19     PHQ        Treatment Control - Treatment  9.319094e-02
-#> 39          20     PHQ          Control Control - Treatment -1.310074e-01
-#> 40          20     PHQ        Treatment Control - Treatment -1.310074e-01
-#> 41          21     PHQ          Control Control - Treatment -1.073142e-01
-#> 42          21     PHQ        Treatment Control - Treatment -1.073142e-01
-#> 43          22     PHQ          Control Control - Treatment -7.778502e-02
-#> 44          22     PHQ        Treatment Control - Treatment -7.778502e-02
-#> 45          23     PHQ          Control Control - Treatment -1.557000e-02
-#> 46          23     PHQ        Treatment Control - Treatment -1.557000e-02
-#> 47          24     PHQ          Control Control - Treatment  3.432699e-03
-#> 48          24     PHQ        Treatment Control - Treatment  3.432699e-03
-#> 49          25     PHQ          Control Control - Treatment  5.457910e-03
-#> 50          25     PHQ        Treatment Control - Treatment  5.457910e-03
-#> 51          26     PHQ          Control Control - Treatment -6.537745e-02
-#> 52          26     PHQ        Treatment Control - Treatment -6.537745e-02
-#> 53          27     PHQ          Control Control - Treatment -1.032590e-01
-#> 54          27     PHQ        Treatment Control - Treatment -1.032590e-01
-#> 55          28     PHQ          Control Control - Treatment -1.017752e-01
-#> 56          28     PHQ        Treatment Control - Treatment -1.017752e-01
-#> 57          29     PHQ          Control Control - Treatment  1.416466e-02
-#> 58          29     PHQ        Treatment Control - Treatment  1.416466e-02
-#> 59          30     PHQ          Control Control - Treatment  0.000000e+00
-#> 60          30     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 61          31     PHQ          Control Control - Treatment -8.061846e-03
-#> 62          31     PHQ        Treatment Control - Treatment -8.061846e-03
-#> 63          32     PHQ          Control Control - Treatment -9.446516e-02
-#> 64          32     PHQ        Treatment Control - Treatment -9.446516e-02
-#> 65          33     PHQ          Control Control - Treatment  6.297865e-02
-#> 66          33     PHQ        Treatment Control - Treatment  6.297865e-02
-#> 67          34     PHQ          Control Control - Treatment -9.254250e-02
-#> 68          34     PHQ        Treatment Control - Treatment -9.254250e-02
-#> 69          35     PHQ          Control Control - Treatment  0.000000e+00
-#> 70          35     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 71          36     PHQ          Control Control - Treatment -8.402947e-02
-#> 72          36     PHQ        Treatment Control - Treatment -8.402947e-02
-#> 73          37     PHQ          Control Control - Treatment -1.930173e-01
-#> 74          37     PHQ        Treatment Control - Treatment -1.930173e-01
-#> 75          38     PHQ          Control Control - Treatment -2.220973e-01
-#> 76          38     PHQ        Treatment Control - Treatment -2.220973e-01
-#> 77          39     PHQ          Control Control - Treatment  2.848019e-02
-#> 78          39     PHQ        Treatment Control - Treatment  2.848019e-02
-#> 79          40     PHQ          Control Control - Treatment -3.070817e-01
-#> 80          40     PHQ        Treatment Control - Treatment -3.070817e-01
-#> 81          41     PHQ          Control Control - Treatment  0.000000e+00
-#> 82          41     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 83          42     PHQ          Control Control - Treatment -1.006393e-01
-#> 84          42     PHQ        Treatment Control - Treatment -1.006393e-01
-#> 85          43     PHQ          Control Control - Treatment  1.919206e-01
-#> 86          43     PHQ        Treatment Control - Treatment  1.919206e-01
-#> 87          44     PHQ          Control Control - Treatment  2.539128e-02
-#> 88          44     PHQ        Treatment Control - Treatment  2.539128e-02
-#> 89          45     PHQ          Control Control - Treatment  1.231050e-03
-#> 90          45     PHQ        Treatment Control - Treatment  1.231050e-03
-#> 91          46     PHQ          Control Control - Treatment  0.000000e+00
-#> 92          46     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 93          47     PHQ          Control Control - Treatment -7.170489e-02
-#> 94          47     PHQ        Treatment Control - Treatment -7.170489e-02
-#> 95          48     PHQ          Control Control - Treatment -2.898635e-01
-#> 96          48     PHQ        Treatment Control - Treatment -2.898635e-01
-#> 97          49     PHQ          Control Control - Treatment  5.756366e-02
-#> 98          49     PHQ        Treatment Control - Treatment  5.756366e-02
-#> 99          50     PHQ          Control Control - Treatment  0.000000e+00
-#> 100         50     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 101         51     PHQ          Control Control - Treatment -2.082641e-01
-#> 102         51     PHQ        Treatment Control - Treatment -2.082641e-01
-#> 103         52     PHQ          Control Control - Treatment -2.994597e-02
-#> 104         52     PHQ        Treatment Control - Treatment -2.994597e-02
-#> 105         53     PHQ          Control Control - Treatment -1.627506e-02
-#> 106         53     PHQ        Treatment Control - Treatment -1.627506e-02
-#> 107         54     PHQ          Control Control - Treatment -3.293532e-01
-#> 108         54     PHQ        Treatment Control - Treatment -3.293532e-01
-#> 109         55     PHQ          Control Control - Treatment  0.000000e+00
-#> 110         55     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 111         56     PHQ          Control Control - Treatment  1.170738e-01
-#> 112         56     PHQ        Treatment Control - Treatment  1.170738e-01
-#> 113         57     PHQ          Control Control - Treatment -2.275115e-01
-#> 114         57     PHQ        Treatment Control - Treatment -2.275115e-01
-#> 115         58     PHQ          Control Control - Treatment -1.004455e-01
-#> 116         58     PHQ        Treatment Control - Treatment -1.004455e-01
-#> 117         59     PHQ          Control Control - Treatment  2.414521e-02
-#> 118         59     PHQ        Treatment Control - Treatment  2.414521e-02
-#> 119         60     PHQ          Control Control - Treatment -2.181795e-01
-#> 120         60     PHQ        Treatment Control - Treatment -2.181795e-01
-#> 121         61     PHQ          Control Control - Treatment -1.061964e-01
-#> 122         61     PHQ        Treatment Control - Treatment -1.061964e-01
-#> 123         62     PHQ          Control Control - Treatment -5.863176e-02
-#> 124         62     PHQ        Treatment Control - Treatment -5.863176e-02
-#> 125         63     PHQ          Control Control - Treatment -1.437120e-01
-#> 126         63     PHQ        Treatment Control - Treatment -1.437120e-01
-#> 127         64     PHQ          Control Control - Treatment -8.816228e-02
-#> 128         64     PHQ        Treatment Control - Treatment -8.816228e-02
-#> 129         65     PHQ          Control Control - Treatment -2.636299e-01
-#> 130         65     PHQ        Treatment Control - Treatment -2.636299e-01
-#> 131         66     PHQ          Control Control - Treatment -6.887667e-02
-#> 132         66     PHQ        Treatment Control - Treatment -6.887667e-02
-#> 133         67     PHQ          Control Control - Treatment -1.801654e-02
-#> 134         67     PHQ        Treatment Control - Treatment -1.801654e-02
-#> 135         68     PHQ          Control Control - Treatment -1.821646e-02
-#> 136         68     PHQ        Treatment Control - Treatment -1.821646e-02
-#> 137         69     PHQ          Control Control - Treatment  1.738987e-02
-#> 138         69     PHQ        Treatment Control - Treatment  1.738987e-02
-#> 139         70     PHQ          Control Control - Treatment -4.716761e-02
-#> 140         70     PHQ        Treatment Control - Treatment -4.716761e-02
-#> 141         71     PHQ          Control Control - Treatment  0.000000e+00
-#> 142         71     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 143         72     PHQ          Control Control - Treatment -1.611522e-02
-#> 144         72     PHQ        Treatment Control - Treatment -1.611522e-02
-#> 145         73     PHQ          Control Control - Treatment -4.055384e-02
-#> 146         73     PHQ        Treatment Control - Treatment -4.055384e-02
-#> 147         74     PHQ          Control Control - Treatment -9.743863e-03
-#> 148         74     PHQ        Treatment Control - Treatment -9.743863e-03
-#> 149         75     PHQ          Control Control - Treatment -9.652140e-02
-#> 150         75     PHQ        Treatment Control - Treatment -9.652140e-02
-#> 151         76     PHQ          Control Control - Treatment  3.002125e-02
-#> 152         76     PHQ        Treatment Control - Treatment  3.002125e-02
-#> 153         77     PHQ          Control Control - Treatment -1.483893e-01
-#> 154         77     PHQ        Treatment Control - Treatment -1.483893e-01
-#> 155         78     PHQ          Control Control - Treatment -1.561849e-01
-#> 156         78     PHQ        Treatment Control - Treatment -1.561849e-01
-#> 157         79     PHQ          Control Control - Treatment -2.649322e-01
-#> 158         79     PHQ        Treatment Control - Treatment -2.649322e-01
-#> 159         80     PHQ          Control Control - Treatment -9.521887e-02
-#> 160         80     PHQ        Treatment Control - Treatment -9.521887e-02
-#> 161         81     PHQ          Control Control - Treatment -8.667531e-02
-#> 162         81     PHQ        Treatment Control - Treatment -8.667531e-02
-#> 163         82     PHQ          Control Control - Treatment -2.534475e-02
-#> 164         82     PHQ        Treatment Control - Treatment -2.534475e-02
-#> 165         83     PHQ          Control Control - Treatment -6.987284e-03
-#> 166         83     PHQ        Treatment Control - Treatment -6.987284e-03
-#> 167         84     PHQ          Control Control - Treatment -1.061896e-01
-#> 168         84     PHQ        Treatment Control - Treatment -1.061896e-01
-#> 169         85     PHQ          Control Control - Treatment -2.272629e-01
-#> 170         85     PHQ        Treatment Control - Treatment -2.272629e-01
-#> 171         86     PHQ          Control Control - Treatment  0.000000e+00
-#> 172         86     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 173         87     PHQ          Control Control - Treatment -1.177915e-01
-#> 174         87     PHQ        Treatment Control - Treatment -1.177915e-01
-#> 175         88     PHQ          Control Control - Treatment  0.000000e+00
-#> 176         88     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 177         89     PHQ          Control Control - Treatment -2.166762e-01
-#> 178         89     PHQ        Treatment Control - Treatment -2.166762e-01
-#> 179         90     PHQ          Control Control - Treatment -9.250657e-02
-#> 180         90     PHQ        Treatment Control - Treatment -9.250657e-02
-#> 181         91     PHQ          Control Control - Treatment -7.273251e-02
-#> 182         91     PHQ        Treatment Control - Treatment -7.273251e-02
-#> 183         92     PHQ          Control Control - Treatment -1.658560e-01
-#> 184         92     PHQ        Treatment Control - Treatment -1.658560e-01
-#> 185         93     PHQ          Control Control - Treatment  0.000000e+00
-#> 186         93     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 187         94     PHQ          Control Control - Treatment  1.938094e-03
-#> 188         94     PHQ        Treatment Control - Treatment  1.938094e-03
-#> 189         95     PHQ          Control Control - Treatment  3.216920e-01
-#> 190         95     PHQ        Treatment Control - Treatment  3.216920e-01
-#> 191         96     PHQ          Control Control - Treatment -8.174660e-02
-#> 192         96     PHQ        Treatment Control - Treatment -8.174660e-02
-#> 193         97     PHQ          Control Control - Treatment -1.038543e-01
-#> 194         97     PHQ        Treatment Control - Treatment -1.038543e-01
-#> 195         98     PHQ          Control Control - Treatment  1.381215e-01
-#> 196         98     PHQ        Treatment Control - Treatment  1.381215e-01
-#> 197         99     PHQ          Control Control - Treatment -1.703143e-01
-#> 198         99     PHQ        Treatment Control - Treatment -1.703143e-01
-#> 199        100     PHQ          Control Control - Treatment -2.691922e-02
-#> 200        100     PHQ        Treatment Control - Treatment -2.691922e-02
-#> 201        101     PHQ          Control Control - Treatment -1.652090e-01
-#> 202        101     PHQ        Treatment Control - Treatment -1.652090e-01
-#> 203        102     PHQ          Control Control - Treatment -4.783078e-02
-#> 204        102     PHQ        Treatment Control - Treatment -4.783078e-02
-#> 205        103     PHQ          Control Control - Treatment -1.430659e-02
-#> 206        103     PHQ        Treatment Control - Treatment -1.430659e-02
-#> 207        104     PHQ          Control Control - Treatment -8.269058e-02
-#> 208        104     PHQ        Treatment Control - Treatment -8.269058e-02
-#> 209        105     PHQ          Control Control - Treatment -1.188421e-01
-#> 210        105     PHQ        Treatment Control - Treatment -1.188421e-01
-#> 211        106     PHQ          Control Control - Treatment  8.680211e-02
-#> 212        106     PHQ        Treatment Control - Treatment  8.680211e-02
-#> 213        107     PHQ          Control Control - Treatment -5.092539e-02
-#> 214        107     PHQ        Treatment Control - Treatment -5.092539e-02
-#> 215        108     PHQ          Control Control - Treatment  0.000000e+00
-#> 216        108     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 217        109     PHQ          Control Control - Treatment  4.745631e-02
-#> 218        109     PHQ        Treatment Control - Treatment  4.745631e-02
-#> 219        110     PHQ          Control Control - Treatment  0.000000e+00
-#> 220        110     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 221        111     PHQ          Control Control - Treatment -1.190272e-01
-#> 222        111     PHQ        Treatment Control - Treatment -1.190272e-01
-#> 223        112     PHQ          Control Control - Treatment -1.524078e-01
-#> 224        112     PHQ        Treatment Control - Treatment -1.524078e-01
-#> 225        113     PHQ          Control Control - Treatment -1.096187e-01
-#> 226        113     PHQ        Treatment Control - Treatment -1.096187e-01
-#> 227        114     PHQ          Control Control - Treatment -6.831264e-02
-#> 228        114     PHQ        Treatment Control - Treatment -6.831264e-02
-#> 229        115     PHQ          Control Control - Treatment -1.332897e-01
-#> 230        115     PHQ        Treatment Control - Treatment -1.332897e-01
-#> 231        116     PHQ          Control Control - Treatment -3.052268e-02
-#> 232        116     PHQ        Treatment Control - Treatment -3.052268e-02
-#> 233        117     PHQ          Control Control - Treatment  0.000000e+00
-#> 234        117     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 235        118     PHQ          Control Control - Treatment -1.451510e-01
-#> 236        118     PHQ        Treatment Control - Treatment -1.451510e-01
-#> 237        119     PHQ          Control Control - Treatment -2.066207e-01
-#> 238        119     PHQ        Treatment Control - Treatment -2.066207e-01
-#> 239        120     PHQ          Control Control - Treatment -1.209809e-01
-#> 240        120     PHQ        Treatment Control - Treatment -1.209809e-01
-#> 241        121     PHQ          Control Control - Treatment -8.028033e-02
-#> 242        121     PHQ        Treatment Control - Treatment -8.028033e-02
-#> 243        122     PHQ          Control Control - Treatment  1.333276e-01
-#> 244        122     PHQ        Treatment Control - Treatment  1.333276e-01
-#> 245        123     PHQ          Control Control - Treatment  0.000000e+00
-#> 246        123     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 247        124     PHQ          Control Control - Treatment  0.000000e+00
-#> 248        124     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 249        125     PHQ          Control Control - Treatment  0.000000e+00
-#> 250        125     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 251        126     PHQ          Control Control - Treatment -2.299748e-01
-#> 252        126     PHQ        Treatment Control - Treatment -2.299748e-01
-#> 253        127     PHQ          Control Control - Treatment  0.000000e+00
-#> 254        127     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 255        128     PHQ          Control Control - Treatment  0.000000e+00
-#> 256        128     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 257        129     PHQ          Control Control - Treatment -1.584480e-01
-#> 258        129     PHQ        Treatment Control - Treatment -1.584480e-01
-#> 259        130     PHQ          Control Control - Treatment  2.070209e-02
-#> 260        130     PHQ        Treatment Control - Treatment  2.070209e-02
-#> 261        131     PHQ          Control Control - Treatment  1.095261e-01
-#> 262        131     PHQ        Treatment Control - Treatment  1.095261e-01
-#> 263        132     PHQ          Control Control - Treatment -5.505505e-02
-#> 264        132     PHQ        Treatment Control - Treatment -5.505505e-02
-#> 265        133     PHQ          Control Control - Treatment -8.047061e-02
-#> 266        133     PHQ        Treatment Control - Treatment -8.047061e-02
-#> 267        134     PHQ          Control Control - Treatment -1.521274e-01
-#> 268        134     PHQ        Treatment Control - Treatment -1.521274e-01
-#> 269        135     PHQ          Control Control - Treatment -4.003398e-02
-#> 270        135     PHQ        Treatment Control - Treatment -4.003398e-02
-#> 271        136     PHQ          Control Control - Treatment  1.017973e-01
-#> 272        136     PHQ        Treatment Control - Treatment  1.017973e-01
-#> 273        137     PHQ          Control Control - Treatment -4.529145e-02
-#> 274        137     PHQ        Treatment Control - Treatment -4.529145e-02
-#> 275        138     PHQ          Control Control - Treatment -2.323296e-01
-#> 276        138     PHQ        Treatment Control - Treatment -2.323296e-01
-#> 277        139     PHQ          Control Control - Treatment  1.617812e-01
-#> 278        139     PHQ        Treatment Control - Treatment  1.617812e-01
-#> 279        140     PHQ          Control Control - Treatment -8.674083e-02
-#> 280        140     PHQ        Treatment Control - Treatment -8.674083e-02
-#> 281        141     PHQ          Control Control - Treatment -5.481912e-02
-#> 282        141     PHQ        Treatment Control - Treatment -5.481912e-02
-#> 283        142     PHQ          Control Control - Treatment  2.637698e-01
-#> 284        142     PHQ        Treatment Control - Treatment  2.637698e-01
-#> 285        143     PHQ          Control Control - Treatment -2.418545e-03
-#> 286        143     PHQ        Treatment Control - Treatment -2.418545e-03
-#> 287        144     PHQ          Control Control - Treatment -1.388641e-01
-#> 288        144     PHQ        Treatment Control - Treatment -1.388641e-01
-#> 289        145     PHQ          Control Control - Treatment -6.439074e-02
-#> 290        145     PHQ        Treatment Control - Treatment -6.439074e-02
-#> 291        146     PHQ          Control Control - Treatment -7.626521e-02
-#> 292        146     PHQ        Treatment Control - Treatment -7.626521e-02
-#> 293        147     PHQ          Control Control - Treatment -1.080242e-01
-#> 294        147     PHQ        Treatment Control - Treatment -1.080242e-01
-#> 295        148     PHQ          Control Control - Treatment -1.917407e-01
-#> 296        148     PHQ        Treatment Control - Treatment -1.917407e-01
-#> 297        149     PHQ          Control Control - Treatment  0.000000e+00
-#> 298        149     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 299        150     PHQ          Control Control - Treatment  2.920038e-03
-#> 300        150     PHQ        Treatment Control - Treatment  2.920038e-03
-#> 301        151     PHQ          Control Control - Treatment -1.141470e-01
-#> 302        151     PHQ        Treatment Control - Treatment -1.141470e-01
-#> 303        152     PHQ          Control Control - Treatment  1.069344e-02
-#> 304        152     PHQ        Treatment Control - Treatment  1.069344e-02
-#> 305        153     PHQ          Control Control - Treatment -1.167735e-01
-#> 306        153     PHQ        Treatment Control - Treatment -1.167735e-01
-#> 307        154     PHQ          Control Control - Treatment -5.651319e-02
-#> 308        154     PHQ        Treatment Control - Treatment -5.651319e-02
-#> 309        155     PHQ          Control Control - Treatment -1.695445e-01
-#> 310        155     PHQ        Treatment Control - Treatment -1.695445e-01
-#> 311        156     PHQ          Control Control - Treatment -2.327566e-01
-#> 312        156     PHQ        Treatment Control - Treatment -2.327566e-01
-#> 313        157     PHQ          Control Control - Treatment -2.765415e-02
-#> 314        157     PHQ        Treatment Control - Treatment -2.765415e-02
-#> 315        158     PHQ          Control Control - Treatment -3.639388e-02
-#> 316        158     PHQ        Treatment Control - Treatment -3.639388e-02
-#> 317        159     PHQ          Control Control - Treatment -2.444301e-01
-#> 318        159     PHQ        Treatment Control - Treatment -2.444301e-01
-#> 319        160     PHQ          Control Control - Treatment -9.933988e-02
-#> 320        160     PHQ        Treatment Control - Treatment -9.933988e-02
-#> 321        161     PHQ          Control Control - Treatment  7.410313e-03
-#> 322        161     PHQ        Treatment Control - Treatment  7.410313e-03
-#> 323        162     PHQ          Control Control - Treatment -8.637349e-04
-#> 324        162     PHQ        Treatment Control - Treatment -8.637349e-04
-#> 325        163     PHQ          Control Control - Treatment -1.030710e-01
-#> 326        163     PHQ        Treatment Control - Treatment -1.030710e-01
-#> 327        164     PHQ          Control Control - Treatment -1.472128e-01
-#> 328        164     PHQ        Treatment Control - Treatment -1.472128e-01
-#> 329        165     PHQ          Control Control - Treatment -8.406497e-03
-#> 330        165     PHQ        Treatment Control - Treatment -8.406497e-03
-#> 331        166     PHQ          Control Control - Treatment -1.754614e-01
-#> 332        166     PHQ        Treatment Control - Treatment -1.754614e-01
-#> 333        167     PHQ          Control Control - Treatment -1.379040e-01
-#> 334        167     PHQ        Treatment Control - Treatment -1.379040e-01
-#> 335        168     PHQ          Control Control - Treatment -8.032566e-02
-#> 336        168     PHQ        Treatment Control - Treatment -8.032566e-02
-#> 337        169     PHQ          Control Control - Treatment  1.181133e-01
-#> 338        169     PHQ        Treatment Control - Treatment  1.181133e-01
-#> 339        170     PHQ          Control Control - Treatment -1.721784e-01
-#> 340        170     PHQ        Treatment Control - Treatment -1.721784e-01
-#> 341        171     PHQ          Control Control - Treatment -4.776345e-02
-#> 342        171     PHQ        Treatment Control - Treatment -4.776345e-02
-#> 343        172     PHQ          Control Control - Treatment -1.442476e-02
-#> 344        172     PHQ        Treatment Control - Treatment -1.442476e-02
-#> 345        173     PHQ          Control Control - Treatment  3.400862e-02
-#> 346        173     PHQ        Treatment Control - Treatment  3.400862e-02
-#> 347        174     PHQ          Control Control - Treatment -2.614234e-01
-#> 348        174     PHQ        Treatment Control - Treatment -2.614234e-01
-#> 349        175     PHQ          Control Control - Treatment -2.576467e-01
-#> 350        175     PHQ        Treatment Control - Treatment -2.576467e-01
-#> 351        176     PHQ          Control Control - Treatment -1.282833e-02
-#> 352        176     PHQ        Treatment Control - Treatment -1.282833e-02
-#> 353        177     PHQ          Control Control - Treatment -1.435075e-01
-#> 354        177     PHQ        Treatment Control - Treatment -1.435075e-01
-#> 355        178     PHQ          Control Control - Treatment  0.000000e+00
-#> 356        178     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 357        179     PHQ          Control Control - Treatment -4.737078e-02
-#> 358        179     PHQ        Treatment Control - Treatment -4.737078e-02
-#> 359        180     PHQ          Control Control - Treatment -6.801642e-02
-#> 360        180     PHQ        Treatment Control - Treatment -6.801642e-02
-#> 361        181     PHQ          Control Control - Treatment -2.698856e-02
-#> 362        181     PHQ        Treatment Control - Treatment -2.698856e-02
-#> 363        182     PHQ          Control Control - Treatment  8.149481e-02
-#> 364        182     PHQ        Treatment Control - Treatment  8.149481e-02
-#> 365        183     PHQ          Control Control - Treatment -1.100180e-01
-#> 366        183     PHQ        Treatment Control - Treatment -1.100180e-01
-#> 367        184     PHQ          Control Control - Treatment -2.050266e-02
-#> 368        184     PHQ        Treatment Control - Treatment -2.050266e-02
-#> 369        185     PHQ          Control Control - Treatment -2.462616e-01
-#> 370        185     PHQ        Treatment Control - Treatment -2.462616e-01
-#> 371        186     PHQ          Control Control - Treatment -1.728397e-01
-#> 372        186     PHQ        Treatment Control - Treatment -1.728397e-01
-#> 373        187     PHQ          Control Control - Treatment -1.859216e-01
-#> 374        187     PHQ        Treatment Control - Treatment -1.859216e-01
-#> 375        188     PHQ          Control Control - Treatment -2.145506e-02
-#> 376        188     PHQ        Treatment Control - Treatment -2.145506e-02
-#> 377        189     PHQ          Control Control - Treatment -1.890705e-01
-#> 378        189     PHQ        Treatment Control - Treatment -1.890705e-01
-#> 379        190     PHQ          Control Control - Treatment -4.877683e-02
-#> 380        190     PHQ        Treatment Control - Treatment -4.877683e-02
-#> 381        191     PHQ          Control Control - Treatment -2.370622e-01
-#> 382        191     PHQ        Treatment Control - Treatment -2.370622e-01
-#> 383        192     PHQ          Control Control - Treatment -4.820170e-02
-#> 384        192     PHQ        Treatment Control - Treatment -4.820170e-02
-#> 385        193     PHQ          Control Control - Treatment  1.708176e-01
-#> 386        193     PHQ        Treatment Control - Treatment  1.708176e-01
-#> 387        194     PHQ          Control Control - Treatment -1.666117e-01
-#> 388        194     PHQ        Treatment Control - Treatment -1.666117e-01
-#> 389        195     PHQ          Control Control - Treatment -1.684532e-01
-#> 390        195     PHQ        Treatment Control - Treatment -1.684532e-01
-#> 391        196     PHQ          Control Control - Treatment  0.000000e+00
-#> 392        196     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 393        197     PHQ          Control Control - Treatment  0.000000e+00
-#> 394        197     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 395        198     PHQ          Control Control - Treatment -1.752140e-01
-#> 396        198     PHQ        Treatment Control - Treatment -1.752140e-01
-#> 397        199     PHQ          Control Control - Treatment -2.064624e-02
-#> 398        199     PHQ        Treatment Control - Treatment -2.064624e-02
-#> 399        200     PHQ          Control Control - Treatment -3.714773e-02
-#> 400        200     PHQ        Treatment Control - Treatment -3.714773e-02
-#> 401        201     PHQ          Control Control - Treatment -7.456955e-02
-#> 402        201     PHQ        Treatment Control - Treatment -7.456955e-02
-#> 403        202     PHQ          Control Control - Treatment -1.959620e-01
-#> 404        202     PHQ        Treatment Control - Treatment -1.959620e-01
-#> 405        203     PHQ          Control Control - Treatment -1.106672e-01
-#> 406        203     PHQ        Treatment Control - Treatment -1.106672e-01
-#> 407        204     PHQ          Control Control - Treatment -1.407542e-01
-#> 408        204     PHQ        Treatment Control - Treatment -1.407542e-01
-#> 409        205     PHQ          Control Control - Treatment -6.302985e-02
-#> 410        205     PHQ        Treatment Control - Treatment -6.302985e-02
-#> 411        206     PHQ          Control Control - Treatment -8.023525e-02
-#> 412        206     PHQ        Treatment Control - Treatment -8.023525e-02
-#> 413        207     PHQ          Control Control - Treatment  6.000237e-02
-#> 414        207     PHQ        Treatment Control - Treatment  6.000237e-02
-#> 415        208     PHQ          Control Control - Treatment  8.038234e-03
-#> 416        208     PHQ        Treatment Control - Treatment  8.038234e-03
-#> 417        209     PHQ          Control Control - Treatment  2.483904e-02
-#> 418        209     PHQ        Treatment Control - Treatment  2.483904e-02
-#> 419        210     PHQ          Control Control - Treatment -2.465571e-01
-#> 420        210     PHQ        Treatment Control - Treatment -2.465571e-01
-#> 421        211     PHQ          Control Control - Treatment  5.454439e-02
-#> 422        211     PHQ        Treatment Control - Treatment  5.454439e-02
-#> 423        212     PHQ          Control Control - Treatment -1.271139e-01
-#> 424        212     PHQ        Treatment Control - Treatment -1.271139e-01
-#> 425        213     PHQ          Control Control - Treatment -6.954931e-02
-#> 426        213     PHQ        Treatment Control - Treatment -6.954931e-02
-#> 427        214     PHQ          Control Control - Treatment  2.411049e-02
-#> 428        214     PHQ        Treatment Control - Treatment  2.411049e-02
-#> 429        215     PHQ          Control Control - Treatment  0.000000e+00
-#> 430        215     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 431        216     PHQ          Control Control - Treatment  1.230800e-01
-#> 432        216     PHQ        Treatment Control - Treatment  1.230800e-01
-#> 433        217     PHQ          Control Control - Treatment  0.000000e+00
-#> 434        217     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 435        218     PHQ          Control Control - Treatment -4.809211e-02
-#> 436        218     PHQ        Treatment Control - Treatment -4.809211e-02
-#> 437        219     PHQ          Control Control - Treatment -4.031160e-02
-#> 438        219     PHQ        Treatment Control - Treatment -4.031160e-02
-#> 439        220     PHQ          Control Control - Treatment -2.144588e-01
-#> 440        220     PHQ        Treatment Control - Treatment -2.144588e-01
-#> 441        221     PHQ          Control Control - Treatment  0.000000e+00
-#> 442        221     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 443        222     PHQ          Control Control - Treatment -1.320888e-01
-#> 444        222     PHQ        Treatment Control - Treatment -1.320888e-01
-#> 445        223     PHQ          Control Control - Treatment  0.000000e+00
-#> 446        223     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 447        224     PHQ          Control Control - Treatment -1.686139e-02
-#> 448        224     PHQ        Treatment Control - Treatment -1.686139e-02
-#> 449        225     PHQ          Control Control - Treatment -2.169576e-01
-#> 450        225     PHQ        Treatment Control - Treatment -2.169576e-01
-#> 451        226     PHQ          Control Control - Treatment -8.365488e-02
-#> 452        226     PHQ        Treatment Control - Treatment -8.365488e-02
-#> 453        227     PHQ          Control Control - Treatment -1.554083e-02
-#> 454        227     PHQ        Treatment Control - Treatment -1.554083e-02
-#> 455        228     PHQ          Control Control - Treatment -1.410097e-01
-#> 456        228     PHQ        Treatment Control - Treatment -1.410097e-01
-#> 457        229     PHQ          Control Control - Treatment -7.798076e-02
-#> 458        229     PHQ        Treatment Control - Treatment -7.798076e-02
-#> 459        230     PHQ          Control Control - Treatment -9.713999e-02
-#> 460        230     PHQ        Treatment Control - Treatment -9.713999e-02
-#> 461        231     PHQ          Control Control - Treatment -1.357240e-01
-#> 462        231     PHQ        Treatment Control - Treatment -1.357240e-01
-#> 463        232     PHQ          Control Control - Treatment -6.208189e-02
-#> 464        232     PHQ        Treatment Control - Treatment -6.208189e-02
-#> 465        233     PHQ          Control Control - Treatment  4.799066e-02
-#> 466        233     PHQ        Treatment Control - Treatment  4.799066e-02
-#> 467        234     PHQ          Control Control - Treatment  1.284861e-01
-#> 468        234     PHQ        Treatment Control - Treatment  1.284861e-01
-#> 469        235     PHQ          Control Control - Treatment -3.420706e-02
-#> 470        235     PHQ        Treatment Control - Treatment -3.420706e-02
-#> 471        236     PHQ          Control Control - Treatment -2.341656e-01
-#> 472        236     PHQ        Treatment Control - Treatment -2.341656e-01
-#> 473        237     PHQ          Control Control - Treatment -2.447773e-02
-#> 474        237     PHQ        Treatment Control - Treatment -2.447773e-02
-#> 475        238     PHQ          Control Control - Treatment  1.494163e-01
-#> 476        238     PHQ        Treatment Control - Treatment  1.494163e-01
-#> 477        239     PHQ          Control Control - Treatment -1.530105e-01
-#> 478        239     PHQ        Treatment Control - Treatment -1.530105e-01
-#> 479        240     PHQ          Control Control - Treatment -1.078543e-01
-#> 480        240     PHQ        Treatment Control - Treatment -1.078543e-01
-#> 481        241     PHQ          Control Control - Treatment  3.789029e-02
-#> 482        241     PHQ        Treatment Control - Treatment  3.789029e-02
-#> 483        242     PHQ          Control Control - Treatment -9.388300e-02
-#> 484        242     PHQ        Treatment Control - Treatment -9.388300e-02
-#> 485        243     PHQ          Control Control - Treatment -1.141758e-01
-#> 486        243     PHQ        Treatment Control - Treatment -1.141758e-01
-#> 487        244     PHQ          Control Control - Treatment  1.851769e-01
-#> 488        244     PHQ        Treatment Control - Treatment  1.851769e-01
-#> 489        245     PHQ          Control Control - Treatment -6.633664e-02
-#> 490        245     PHQ        Treatment Control - Treatment -6.633664e-02
-#> 491        246     PHQ          Control Control - Treatment -2.094949e-02
-#> 492        246     PHQ        Treatment Control - Treatment -2.094949e-02
-#> 493        247     PHQ          Control Control - Treatment  6.579359e-02
-#> 494        247     PHQ        Treatment Control - Treatment  6.579359e-02
-#> 495        248     PHQ          Control Control - Treatment -2.938618e-01
-#> 496        248     PHQ        Treatment Control - Treatment -2.938618e-01
-#> 497        249     PHQ          Control Control - Treatment -3.524422e-02
-#> 498        249     PHQ        Treatment Control - Treatment -3.524422e-02
-#> 499        250     PHQ          Control Control - Treatment  3.345575e-01
-#> 500        250     PHQ        Treatment Control - Treatment  3.345575e-01
-#> 501        251     PHQ          Control Control - Treatment  0.000000e+00
-#> 502        251     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 503        252     PHQ          Control Control - Treatment  7.814580e-02
-#> 504        252     PHQ        Treatment Control - Treatment  7.814580e-02
-#> 505        253     PHQ          Control Control - Treatment -5.598993e-02
-#> 506        253     PHQ        Treatment Control - Treatment -5.598993e-02
-#> 507        254     PHQ          Control Control - Treatment -2.161802e-01
-#> 508        254     PHQ        Treatment Control - Treatment -2.161802e-01
-#> 509        255     PHQ          Control Control - Treatment  6.836405e-02
-#> 510        255     PHQ        Treatment Control - Treatment  6.836405e-02
-#> 511        256     PHQ          Control Control - Treatment -3.682235e-02
-#> 512        256     PHQ        Treatment Control - Treatment -3.682235e-02
-#> 513        257     PHQ          Control Control - Treatment -1.571685e-01
-#> 514        257     PHQ        Treatment Control - Treatment -1.571685e-01
-#> 515        258     PHQ          Control Control - Treatment -1.539254e-01
-#> 516        258     PHQ        Treatment Control - Treatment -1.539254e-01
-#> 517        259     PHQ          Control Control - Treatment  1.087247e-01
-#> 518        259     PHQ        Treatment Control - Treatment  1.087247e-01
-#> 519        260     PHQ          Control Control - Treatment -4.510158e-02
-#> 520        260     PHQ        Treatment Control - Treatment -4.510158e-02
-#> 521        261     PHQ          Control Control - Treatment -1.130784e-02
-#> 522        261     PHQ        Treatment Control - Treatment -1.130784e-02
-#> 523        262     PHQ          Control Control - Treatment -2.658350e-01
-#> 524        262     PHQ        Treatment Control - Treatment -2.658350e-01
-#> 525        263     PHQ          Control Control - Treatment -1.290101e-01
-#> 526        263     PHQ        Treatment Control - Treatment -1.290101e-01
-#> 527        264     PHQ          Control Control - Treatment  1.346179e-01
-#> 528        264     PHQ        Treatment Control - Treatment  1.346179e-01
-#> 529        265     PHQ          Control Control - Treatment -2.248434e-02
-#> 530        265     PHQ        Treatment Control - Treatment -2.248434e-02
-#> 531        266     PHQ          Control Control - Treatment -1.879160e-01
-#> 532        266     PHQ        Treatment Control - Treatment -1.879160e-01
-#> 533        267     PHQ          Control Control - Treatment -9.201953e-02
-#> 534        267     PHQ        Treatment Control - Treatment -9.201953e-02
-#> 535        268     PHQ          Control Control - Treatment -1.577246e-01
-#> 536        268     PHQ        Treatment Control - Treatment -1.577246e-01
-#> 537        269     PHQ          Control Control - Treatment  0.000000e+00
-#> 538        269     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 539        270     PHQ          Control Control - Treatment -1.659723e-01
-#> 540        270     PHQ        Treatment Control - Treatment -1.659723e-01
-#> 541        271     PHQ          Control Control - Treatment  0.000000e+00
-#> 542        271     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 543        272     PHQ          Control Control - Treatment -2.299099e-02
-#> 544        272     PHQ        Treatment Control - Treatment -2.299099e-02
-#> 545        273     PHQ          Control Control - Treatment  0.000000e+00
-#> 546        273     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 547        274     PHQ          Control Control - Treatment  3.225146e-02
-#> 548        274     PHQ        Treatment Control - Treatment  3.225146e-02
-#> 549        275     PHQ          Control Control - Treatment -1.074035e-01
-#> 550        275     PHQ        Treatment Control - Treatment -1.074035e-01
-#> 551        276     PHQ          Control Control - Treatment -1.933727e-01
-#> 552        276     PHQ        Treatment Control - Treatment -1.933727e-01
-#> 553        277     PHQ          Control Control - Treatment -1.653582e-01
-#> 554        277     PHQ        Treatment Control - Treatment -1.653582e-01
-#> 555        278     PHQ          Control Control - Treatment -8.845767e-02
-#> 556        278     PHQ        Treatment Control - Treatment -8.845767e-02
-#> 557        279     PHQ          Control Control - Treatment  1.830284e-01
-#> 558        279     PHQ        Treatment Control - Treatment  1.830284e-01
-#> 559        280     PHQ          Control Control - Treatment  0.000000e+00
-#> 560        280     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 561        281     PHQ          Control Control - Treatment -2.087209e-02
-#> 562        281     PHQ        Treatment Control - Treatment -2.087209e-02
-#> 563        282     PHQ          Control Control - Treatment -5.428608e-02
-#> 564        282     PHQ        Treatment Control - Treatment -5.428608e-02
-#> 565        283     PHQ          Control Control - Treatment -7.495726e-02
-#> 566        283     PHQ        Treatment Control - Treatment -7.495726e-02
-#> 567        284     PHQ          Control Control - Treatment  0.000000e+00
-#> 568        284     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 569        285     PHQ          Control Control - Treatment -7.828351e-02
-#> 570        285     PHQ        Treatment Control - Treatment -7.828351e-02
-#> 571        286     PHQ          Control Control - Treatment -4.969589e-02
-#> 572        286     PHQ        Treatment Control - Treatment -4.969589e-02
-#> 573        287     PHQ          Control Control - Treatment -1.844841e-01
-#> 574        287     PHQ        Treatment Control - Treatment -1.844841e-01
-#> 575        288     PHQ          Control Control - Treatment -1.878489e-01
-#> 576        288     PHQ        Treatment Control - Treatment -1.878489e-01
-#> 577        289     PHQ          Control Control - Treatment -4.273486e-01
-#> 578        289     PHQ        Treatment Control - Treatment -4.273486e-01
-#> 579        290     PHQ          Control Control - Treatment  6.649094e-02
-#> 580        290     PHQ        Treatment Control - Treatment  6.649094e-02
-#> 581        291     PHQ          Control Control - Treatment -8.987500e-02
-#> 582        291     PHQ        Treatment Control - Treatment -8.987500e-02
-#> 583        292     PHQ          Control Control - Treatment -6.712519e-02
-#> 584        292     PHQ        Treatment Control - Treatment -6.712519e-02
-#> 585        293     PHQ          Control Control - Treatment  2.596648e-02
-#> 586        293     PHQ        Treatment Control - Treatment  2.596648e-02
-#> 587        294     PHQ          Control Control - Treatment  6.474051e-02
-#> 588        294     PHQ        Treatment Control - Treatment  6.474051e-02
-#> 589        295     PHQ          Control Control - Treatment -1.888838e-01
-#> 590        295     PHQ        Treatment Control - Treatment -1.888838e-01
-#> 591        296     PHQ          Control Control - Treatment -1.705035e-01
-#> 592        296     PHQ        Treatment Control - Treatment -1.705035e-01
-#> 593        297     PHQ          Control Control - Treatment -1.670709e-01
-#> 594        297     PHQ        Treatment Control - Treatment -1.670709e-01
-#> 595        298     PHQ          Control Control - Treatment -2.647465e-01
-#> 596        298     PHQ        Treatment Control - Treatment -2.647465e-01
-#> 597        299     PHQ          Control Control - Treatment -6.980704e-02
-#> 598        299     PHQ        Treatment Control - Treatment -6.980704e-02
-#> 599        300     PHQ          Control Control - Treatment -1.268392e-01
-#> 600        300     PHQ        Treatment Control - Treatment -1.268392e-01
-#> 601        301     PHQ          Control Control - Treatment  1.194737e-01
-#> 602        301     PHQ        Treatment Control - Treatment  1.194737e-01
-#> 603        302     PHQ          Control Control - Treatment -3.879885e-01
-#> 604        302     PHQ        Treatment Control - Treatment -3.879885e-01
-#> 605        303     PHQ          Control Control - Treatment -1.925904e-01
-#> 606        303     PHQ        Treatment Control - Treatment -1.925904e-01
-#> 607        304     PHQ          Control Control - Treatment  0.000000e+00
-#> 608        304     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 609        305     PHQ          Control Control - Treatment -1.941392e-01
-#> 610        305     PHQ        Treatment Control - Treatment -1.941392e-01
-#> 611        306     PHQ          Control Control - Treatment -1.023470e-01
-#> 612        306     PHQ        Treatment Control - Treatment -1.023470e-01
-#> 613        307     PHQ          Control Control - Treatment  1.585396e-01
-#> 614        307     PHQ        Treatment Control - Treatment  1.585396e-01
-#> 615        308     PHQ          Control Control - Treatment -1.651217e-01
-#> 616        308     PHQ        Treatment Control - Treatment -1.651217e-01
-#> 617        309     PHQ          Control Control - Treatment  9.375438e-02
-#> 618        309     PHQ        Treatment Control - Treatment  9.375438e-02
-#> 619        310     PHQ          Control Control - Treatment -2.796297e-03
-#> 620        310     PHQ        Treatment Control - Treatment -2.796297e-03
-#> 621        311     PHQ          Control Control - Treatment -1.539733e-01
-#> 622        311     PHQ        Treatment Control - Treatment -1.539733e-01
-#> 623        312     PHQ          Control Control - Treatment  6.991516e-02
-#> 624        312     PHQ        Treatment Control - Treatment  6.991516e-02
-#> 625        313     PHQ          Control Control - Treatment  0.000000e+00
-#> 626        313     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 627        314     PHQ          Control Control - Treatment -4.903737e-02
-#> 628        314     PHQ        Treatment Control - Treatment -4.903737e-02
-#> 629        315     PHQ          Control Control - Treatment  2.073700e-01
-#> 630        315     PHQ        Treatment Control - Treatment  2.073700e-01
-#> 631        316     PHQ          Control Control - Treatment -1.595000e-01
-#> 632        316     PHQ        Treatment Control - Treatment -1.595000e-01
-#> 633        317     PHQ          Control Control - Treatment -1.282132e-01
-#> 634        317     PHQ        Treatment Control - Treatment -1.282132e-01
-#> 635        318     PHQ          Control Control - Treatment -1.381515e-01
-#> 636        318     PHQ        Treatment Control - Treatment -1.381515e-01
-#> 637        319     PHQ          Control Control - Treatment  1.449145e-01
-#> 638        319     PHQ        Treatment Control - Treatment  1.449145e-01
-#> 639        320     PHQ          Control Control - Treatment -2.133266e-02
-#> 640        320     PHQ        Treatment Control - Treatment -2.133266e-02
-#> 641        321     PHQ          Control Control - Treatment -8.702867e-02
-#> 642        321     PHQ        Treatment Control - Treatment -8.702867e-02
-#> 643        322     PHQ          Control Control - Treatment  7.041786e-02
-#> 644        322     PHQ        Treatment Control - Treatment  7.041786e-02
-#> 645        323     PHQ          Control Control - Treatment  6.507043e-02
-#> 646        323     PHQ        Treatment Control - Treatment  6.507043e-02
-#> 647        324     PHQ          Control Control - Treatment  2.795723e-01
-#> 648        324     PHQ        Treatment Control - Treatment  2.795723e-01
-#> 649        325     PHQ          Control Control - Treatment  6.472257e-02
-#> 650        325     PHQ        Treatment Control - Treatment  6.472257e-02
-#> 651        326     PHQ          Control Control - Treatment  3.160630e-02
-#> 652        326     PHQ        Treatment Control - Treatment  3.160630e-02
-#> 653        327     PHQ          Control Control - Treatment -8.982422e-02
-#> 654        327     PHQ        Treatment Control - Treatment -8.982422e-02
-#> 655        328     PHQ          Control Control - Treatment -5.991595e-02
-#> 656        328     PHQ        Treatment Control - Treatment -5.991595e-02
-#> 657        329     PHQ          Control Control - Treatment -1.803391e-02
-#> 658        329     PHQ        Treatment Control - Treatment -1.803391e-02
-#> 659        330     PHQ          Control Control - Treatment  1.644650e-02
-#> 660        330     PHQ        Treatment Control - Treatment  1.644650e-02
-#> 661        331     PHQ          Control Control - Treatment  0.000000e+00
-#> 662        331     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 663        332     PHQ          Control Control - Treatment  0.000000e+00
-#> 664        332     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 665        333     PHQ          Control Control - Treatment -1.871717e-01
-#> 666        333     PHQ        Treatment Control - Treatment -1.871717e-01
-#> 667        334     PHQ          Control Control - Treatment -1.254957e-01
-#> 668        334     PHQ        Treatment Control - Treatment -1.254957e-01
-#> 669        335     PHQ          Control Control - Treatment  2.685002e-02
-#> 670        335     PHQ        Treatment Control - Treatment  2.685002e-02
-#> 671        336     PHQ          Control Control - Treatment -5.089499e-02
-#> 672        336     PHQ        Treatment Control - Treatment -5.089499e-02
-#> 673        337     PHQ          Control Control - Treatment -7.764951e-02
-#> 674        337     PHQ        Treatment Control - Treatment -7.764951e-02
-#> 675        338     PHQ          Control Control - Treatment -1.291108e-01
-#> 676        338     PHQ        Treatment Control - Treatment -1.291108e-01
-#> 677        339     PHQ          Control Control - Treatment -4.900660e-02
-#> 678        339     PHQ        Treatment Control - Treatment -4.900660e-02
-#> 679        340     PHQ          Control Control - Treatment -2.621398e-01
-#> 680        340     PHQ        Treatment Control - Treatment -2.621398e-01
-#> 681        341     PHQ          Control Control - Treatment  3.813784e-02
-#> 682        341     PHQ        Treatment Control - Treatment  3.813784e-02
-#> 683        342     PHQ          Control Control - Treatment  2.002810e-01
-#> 684        342     PHQ        Treatment Control - Treatment  2.002810e-01
-#> 685        343     PHQ          Control Control - Treatment -8.201764e-02
-#> 686        343     PHQ        Treatment Control - Treatment -8.201764e-02
-#> 687        344     PHQ          Control Control - Treatment -1.942091e-02
-#> 688        344     PHQ        Treatment Control - Treatment -1.942091e-02
-#> 689        345     PHQ          Control Control - Treatment  4.355204e-02
-#> 690        345     PHQ        Treatment Control - Treatment  4.355204e-02
-#> 691        346     PHQ          Control Control - Treatment -2.757635e-01
-#> 692        346     PHQ        Treatment Control - Treatment -2.757635e-01
-#> 693        347     PHQ          Control Control - Treatment  2.813214e-02
-#> 694        347     PHQ        Treatment Control - Treatment  2.813214e-02
-#> 695        348     PHQ          Control Control - Treatment  3.937099e-02
-#> 696        348     PHQ        Treatment Control - Treatment  3.937099e-02
-#> 697        349     PHQ          Control Control - Treatment  0.000000e+00
-#> 698        349     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 699        350     PHQ          Control Control - Treatment  0.000000e+00
-#> 700        350     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 701        351     PHQ          Control Control - Treatment -2.192759e-01
-#> 702        351     PHQ        Treatment Control - Treatment -2.192759e-01
-#> 703        352     PHQ          Control Control - Treatment -6.246582e-02
-#> 704        352     PHQ        Treatment Control - Treatment -6.246582e-02
-#> 705        353     PHQ          Control Control - Treatment  0.000000e+00
-#> 706        353     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 707        354     PHQ          Control Control - Treatment -2.149844e-04
-#> 708        354     PHQ        Treatment Control - Treatment -2.149844e-04
-#> 709        355     PHQ          Control Control - Treatment -1.097217e-01
-#> 710        355     PHQ        Treatment Control - Treatment -1.097217e-01
-#> 711        356     PHQ          Control Control - Treatment  1.679003e-01
-#> 712        356     PHQ        Treatment Control - Treatment  1.679003e-01
-#> 713        357     PHQ          Control Control - Treatment -2.240038e-01
-#> 714        357     PHQ        Treatment Control - Treatment -2.240038e-01
-#> 715        358     PHQ          Control Control - Treatment -1.552116e-01
-#> 716        358     PHQ        Treatment Control - Treatment -1.552116e-01
-#> 717        359     PHQ          Control Control - Treatment -3.381020e-02
-#> 718        359     PHQ        Treatment Control - Treatment -3.381020e-02
-#> 719        360     PHQ          Control Control - Treatment  3.113539e-02
-#> 720        360     PHQ        Treatment Control - Treatment  3.113539e-02
-#> 721        361     PHQ          Control Control - Treatment -3.315729e-02
-#> 722        361     PHQ        Treatment Control - Treatment -3.315729e-02
-#> 723        362     PHQ          Control Control - Treatment -1.847210e-01
-#> 724        362     PHQ        Treatment Control - Treatment -1.847210e-01
-#> 725        363     PHQ          Control Control - Treatment  0.000000e+00
-#> 726        363     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 727        364     PHQ          Control Control - Treatment  8.075785e-02
-#> 728        364     PHQ        Treatment Control - Treatment  8.075785e-02
-#> 729        365     PHQ          Control Control - Treatment -1.742762e-02
-#> 730        365     PHQ        Treatment Control - Treatment -1.742762e-02
-#> 731        366     PHQ          Control Control - Treatment -7.987820e-02
-#> 732        366     PHQ        Treatment Control - Treatment -7.987820e-02
-#> 733        367     PHQ          Control Control - Treatment  9.553131e-02
-#> 734        367     PHQ        Treatment Control - Treatment  9.553131e-02
-#> 735        368     PHQ          Control Control - Treatment -2.331159e-01
-#> 736        368     PHQ        Treatment Control - Treatment -2.331159e-01
-#> 737        369     PHQ          Control Control - Treatment -2.088423e-01
-#> 738        369     PHQ        Treatment Control - Treatment -2.088423e-01
-#> 739        370     PHQ          Control Control - Treatment -1.439145e-01
-#> 740        370     PHQ        Treatment Control - Treatment -1.439145e-01
-#> 741        371     PHQ          Control Control - Treatment  2.643057e-02
-#> 742        371     PHQ        Treatment Control - Treatment  2.643057e-02
-#> 743        372     PHQ          Control Control - Treatment -1.065930e-01
-#> 744        372     PHQ        Treatment Control - Treatment -1.065930e-01
-#> 745        373     PHQ          Control Control - Treatment  8.999065e-02
-#> 746        373     PHQ        Treatment Control - Treatment  8.999065e-02
-#> 747        374     PHQ          Control Control - Treatment -7.889382e-02
-#> 748        374     PHQ        Treatment Control - Treatment -7.889382e-02
-#> 749        375     PHQ          Control Control - Treatment  0.000000e+00
-#> 750        375     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 751        376     PHQ          Control Control - Treatment -6.685552e-02
-#> 752        376     PHQ        Treatment Control - Treatment -6.685552e-02
-#> 753        377     PHQ          Control Control - Treatment -3.456853e-02
-#> 754        377     PHQ        Treatment Control - Treatment -3.456853e-02
-#> 755        378     PHQ          Control Control - Treatment -9.112838e-02
-#> 756        378     PHQ        Treatment Control - Treatment -9.112838e-02
-#> 757        379     PHQ          Control Control - Treatment -1.398320e-01
-#> 758        379     PHQ        Treatment Control - Treatment -1.398320e-01
-#> 759        380     PHQ          Control Control - Treatment  9.634581e-02
-#> 760        380     PHQ        Treatment Control - Treatment  9.634581e-02
-#> 761        381     PHQ          Control Control - Treatment  0.000000e+00
-#> 762        381     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 763        382     PHQ          Control Control - Treatment -7.750481e-02
-#> 764        382     PHQ        Treatment Control - Treatment -7.750481e-02
-#> 765        383     PHQ          Control Control - Treatment  0.000000e+00
-#> 766        383     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 767        384     PHQ          Control Control - Treatment -1.070915e-01
-#> 768        384     PHQ        Treatment Control - Treatment -1.070915e-01
-#> 769        385     PHQ          Control Control - Treatment -1.138551e-01
-#> 770        385     PHQ        Treatment Control - Treatment -1.138551e-01
-#> 771        386     PHQ          Control Control - Treatment  1.944184e-01
-#> 772        386     PHQ        Treatment Control - Treatment  1.944184e-01
-#> 773        387     PHQ          Control Control - Treatment  4.611757e-02
-#> 774        387     PHQ        Treatment Control - Treatment  4.611757e-02
-#> 775        388     PHQ          Control Control - Treatment -1.420874e-01
-#> 776        388     PHQ        Treatment Control - Treatment -1.420874e-01
-#> 777        389     PHQ          Control Control - Treatment  1.452413e-02
-#> 778        389     PHQ        Treatment Control - Treatment  1.452413e-02
-#> 779        390     PHQ          Control Control - Treatment -8.278715e-03
-#> 780        390     PHQ        Treatment Control - Treatment -8.278715e-03
-#> 781        391     PHQ          Control Control - Treatment -1.556693e-01
-#> 782        391     PHQ        Treatment Control - Treatment -1.556693e-01
-#> 783        392     PHQ          Control Control - Treatment -3.776885e-02
-#> 784        392     PHQ        Treatment Control - Treatment -3.776885e-02
-#> 785        393     PHQ          Control Control - Treatment -2.182170e-01
-#> 786        393     PHQ        Treatment Control - Treatment -2.182170e-01
-#> 787        394     PHQ          Control Control - Treatment -6.484238e-02
-#> 788        394     PHQ        Treatment Control - Treatment -6.484238e-02
-#> 789        395     PHQ          Control Control - Treatment -1.777170e-02
-#> 790        395     PHQ        Treatment Control - Treatment -1.777170e-02
-#> 791        396     PHQ          Control Control - Treatment  0.000000e+00
-#> 792        396     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 793        397     PHQ          Control Control - Treatment -9.627009e-02
-#> 794        397     PHQ        Treatment Control - Treatment -9.627009e-02
-#> 795        398     PHQ          Control Control - Treatment -3.557732e-02
-#> 796        398     PHQ        Treatment Control - Treatment -3.557732e-02
-#> 797        399     PHQ          Control Control - Treatment -2.979742e-02
-#> 798        399     PHQ        Treatment Control - Treatment -2.979742e-02
-#> 799        400     PHQ          Control Control - Treatment -1.937137e-01
-#> 800        400     PHQ        Treatment Control - Treatment -1.937137e-01
-#> 801        401     PHQ          Control Control - Treatment -1.842765e-01
-#> 802        401     PHQ        Treatment Control - Treatment -1.842765e-01
-#> 803        402     PHQ          Control Control - Treatment  1.046871e-01
-#> 804        402     PHQ        Treatment Control - Treatment  1.046871e-01
-#> 805        403     PHQ          Control Control - Treatment -1.272461e-01
-#> 806        403     PHQ        Treatment Control - Treatment -1.272461e-01
-#> 807        404     PHQ          Control Control - Treatment  1.387762e-01
-#> 808        404     PHQ        Treatment Control - Treatment  1.387762e-01
-#> 809        405     PHQ          Control Control - Treatment -2.186698e-01
-#> 810        405     PHQ        Treatment Control - Treatment -2.186698e-01
-#> 811        406     PHQ          Control Control - Treatment  8.502232e-02
-#> 812        406     PHQ        Treatment Control - Treatment  8.502232e-02
-#> 813        407     PHQ          Control Control - Treatment -3.571200e-02
-#> 814        407     PHQ        Treatment Control - Treatment -3.571200e-02
-#> 815        408     PHQ          Control Control - Treatment  1.210651e-01
-#> 816        408     PHQ        Treatment Control - Treatment  1.210651e-01
-#> 817        409     PHQ          Control Control - Treatment  3.191189e-02
-#> 818        409     PHQ        Treatment Control - Treatment  3.191189e-02
-#> 819        410     PHQ          Control Control - Treatment  2.206261e-01
-#> 820        410     PHQ        Treatment Control - Treatment  2.206261e-01
-#> 821        411     PHQ          Control Control - Treatment -8.491532e-02
-#> 822        411     PHQ        Treatment Control - Treatment -8.491532e-02
-#> 823        412     PHQ          Control Control - Treatment -4.161993e-02
-#> 824        412     PHQ        Treatment Control - Treatment -4.161993e-02
-#> 825        413     PHQ          Control Control - Treatment  0.000000e+00
-#> 826        413     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 827        414     PHQ          Control Control - Treatment -1.345484e-01
-#> 828        414     PHQ        Treatment Control - Treatment -1.345484e-01
-#> 829        415     PHQ          Control Control - Treatment -1.270292e-01
-#> 830        415     PHQ        Treatment Control - Treatment -1.270292e-01
-#> 831        416     PHQ          Control Control - Treatment  1.577734e-01
-#> 832        416     PHQ        Treatment Control - Treatment  1.577734e-01
-#> 833        417     PHQ          Control Control - Treatment -2.303824e-01
-#> 834        417     PHQ        Treatment Control - Treatment -2.303824e-01
-#> 835        418     PHQ          Control Control - Treatment  0.000000e+00
-#> 836        418     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 837        419     PHQ          Control Control - Treatment  7.816594e-02
-#> 838        419     PHQ        Treatment Control - Treatment  7.816594e-02
-#> 839        420     PHQ          Control Control - Treatment  8.255107e-02
-#> 840        420     PHQ        Treatment Control - Treatment  8.255107e-02
-#> 841        421     PHQ          Control Control - Treatment -1.523641e-01
-#> 842        421     PHQ        Treatment Control - Treatment -1.523641e-01
-#> 843        422     PHQ          Control Control - Treatment -2.040366e-01
-#> 844        422     PHQ        Treatment Control - Treatment -2.040366e-01
-#> 845        423     PHQ          Control Control - Treatment -1.201764e-01
-#> 846        423     PHQ        Treatment Control - Treatment -1.201764e-01
-#> 847        424     PHQ          Control Control - Treatment  1.634403e-02
-#> 848        424     PHQ        Treatment Control - Treatment  1.634403e-02
-#> 849        425     PHQ          Control Control - Treatment -1.117241e-03
-#> 850        425     PHQ        Treatment Control - Treatment -1.117241e-03
-#> 851        426     PHQ          Control Control - Treatment -4.451190e-02
-#> 852        426     PHQ        Treatment Control - Treatment -4.451190e-02
-#> 853        427     PHQ          Control Control - Treatment  6.121405e-02
-#> 854        427     PHQ        Treatment Control - Treatment  6.121405e-02
-#> 855        428     PHQ          Control Control - Treatment -3.017385e-02
-#> 856        428     PHQ        Treatment Control - Treatment -3.017385e-02
-#> 857        429     PHQ          Control Control - Treatment -1.185519e-01
-#> 858        429     PHQ        Treatment Control - Treatment -1.185519e-01
-#> 859        430     PHQ          Control Control - Treatment -2.566330e-02
-#> 860        430     PHQ        Treatment Control - Treatment -2.566330e-02
-#> 861        431     PHQ          Control Control - Treatment  5.121660e-02
-#> 862        431     PHQ        Treatment Control - Treatment  5.121660e-02
-#> 863        432     PHQ          Control Control - Treatment  0.000000e+00
-#> 864        432     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 865        433     PHQ          Control Control - Treatment -1.578168e-01
-#> 866        433     PHQ        Treatment Control - Treatment -1.578168e-01
-#> 867        434     PHQ          Control Control - Treatment  9.753074e-02
-#> 868        434     PHQ        Treatment Control - Treatment  9.753074e-02
-#> 869        435     PHQ          Control Control - Treatment -3.976819e-02
-#> 870        435     PHQ        Treatment Control - Treatment -3.976819e-02
-#> 871        436     PHQ          Control Control - Treatment -2.137355e-01
-#> 872        436     PHQ        Treatment Control - Treatment -2.137355e-01
-#> 873        437     PHQ          Control Control - Treatment  3.739671e-02
-#> 874        437     PHQ        Treatment Control - Treatment  3.739671e-02
-#> 875        438     PHQ          Control Control - Treatment -1.753990e-02
-#> 876        438     PHQ        Treatment Control - Treatment -1.753990e-02
-#> 877        439     PHQ          Control Control - Treatment  2.039313e-01
-#> 878        439     PHQ        Treatment Control - Treatment  2.039313e-01
-#> 879        440     PHQ          Control Control - Treatment  4.993752e-02
-#> 880        440     PHQ        Treatment Control - Treatment  4.993752e-02
-#> 881        441     PHQ          Control Control - Treatment  0.000000e+00
-#> 882        441     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 883        442     PHQ          Control Control - Treatment -6.401125e-03
-#> 884        442     PHQ        Treatment Control - Treatment -6.401125e-03
-#> 885        443     PHQ          Control Control - Treatment -6.413164e-02
-#> 886        443     PHQ        Treatment Control - Treatment -6.413164e-02
-#> 887        444     PHQ          Control Control - Treatment -5.175975e-02
-#> 888        444     PHQ        Treatment Control - Treatment -5.175975e-02
-#> 889        445     PHQ          Control Control - Treatment -1.344048e-01
-#> 890        445     PHQ        Treatment Control - Treatment -1.344048e-01
-#> 891        446     PHQ          Control Control - Treatment  1.130978e-02
-#> 892        446     PHQ        Treatment Control - Treatment  1.130978e-02
-#> 893        447     PHQ          Control Control - Treatment  5.495647e-02
-#> 894        447     PHQ        Treatment Control - Treatment  5.495647e-02
-#> 895        448     PHQ          Control Control - Treatment  2.202570e-01
-#> 896        448     PHQ        Treatment Control - Treatment  2.202570e-01
-#> 897        449     PHQ          Control Control - Treatment  0.000000e+00
-#> 898        449     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 899        450     PHQ          Control Control - Treatment  3.351530e-02
-#> 900        450     PHQ        Treatment Control - Treatment  3.351530e-02
-#> 901        451     PHQ          Control Control - Treatment  3.710831e-02
-#> 902        451     PHQ        Treatment Control - Treatment  3.710831e-02
-#> 903        452     PHQ          Control Control - Treatment -3.263550e-02
-#> 904        452     PHQ        Treatment Control - Treatment -3.263550e-02
-#> 905        453     PHQ          Control Control - Treatment -1.286841e-01
-#> 906        453     PHQ        Treatment Control - Treatment -1.286841e-01
-#> 907        454     PHQ          Control Control - Treatment -3.852624e-02
-#> 908        454     PHQ        Treatment Control - Treatment -3.852624e-02
-#> 909        455     PHQ          Control Control - Treatment -8.562242e-02
-#> 910        455     PHQ        Treatment Control - Treatment -8.562242e-02
-#> 911        456     PHQ          Control Control - Treatment -2.313295e-01
-#> 912        456     PHQ        Treatment Control - Treatment -2.313295e-01
-#> 913        457     PHQ          Control Control - Treatment -3.376615e-02
-#> 914        457     PHQ        Treatment Control - Treatment -3.376615e-02
-#> 915        458     PHQ          Control Control - Treatment -1.223765e-01
-#> 916        458     PHQ        Treatment Control - Treatment -1.223765e-01
-#> 917        459     PHQ          Control Control - Treatment -4.052572e-01
-#> 918        459     PHQ        Treatment Control - Treatment -4.052572e-01
-#> 919        460     PHQ          Control Control - Treatment  7.577783e-02
-#> 920        460     PHQ        Treatment Control - Treatment  7.577783e-02
-#> 921        461     PHQ          Control Control - Treatment  0.000000e+00
-#> 922        461     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 923        462     PHQ          Control Control - Treatment  6.940594e-02
-#> 924        462     PHQ        Treatment Control - Treatment  6.940594e-02
-#> 925        463     PHQ          Control Control - Treatment -1.519506e-01
-#> 926        463     PHQ        Treatment Control - Treatment -1.519506e-01
-#> 927        464     PHQ          Control Control - Treatment -6.860328e-02
-#> 928        464     PHQ        Treatment Control - Treatment -6.860328e-02
-#> 929        465     PHQ          Control Control - Treatment  0.000000e+00
-#> 930        465     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 931        466     PHQ          Control Control - Treatment -1.326810e-01
-#> 932        466     PHQ        Treatment Control - Treatment -1.326810e-01
-#> 933        467     PHQ          Control Control - Treatment -4.981102e-02
-#> 934        467     PHQ        Treatment Control - Treatment -4.981102e-02
-#> 935        468     PHQ          Control Control - Treatment  0.000000e+00
-#> 936        468     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 937        469     PHQ          Control Control - Treatment -2.406352e-01
-#> 938        469     PHQ        Treatment Control - Treatment -2.406352e-01
-#> 939        470     PHQ          Control Control - Treatment -2.979449e-02
-#> 940        470     PHQ        Treatment Control - Treatment -2.979449e-02
-#> 941        471     PHQ          Control Control - Treatment -1.203445e-01
-#> 942        471     PHQ        Treatment Control - Treatment -1.203445e-01
-#> 943        472     PHQ          Control Control - Treatment  0.000000e+00
-#> 944        472     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 945        473     PHQ          Control Control - Treatment  0.000000e+00
-#> 946        473     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 947        474     PHQ          Control Control - Treatment -4.953072e-02
-#> 948        474     PHQ        Treatment Control - Treatment -4.953072e-02
-#> 949        475     PHQ          Control Control - Treatment -1.568617e-01
-#> 950        475     PHQ        Treatment Control - Treatment -1.568617e-01
-#> 951        476     PHQ          Control Control - Treatment  0.000000e+00
-#> 952        476     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 953        477     PHQ          Control Control - Treatment -2.897862e-01
-#> 954        477     PHQ        Treatment Control - Treatment -2.897862e-01
-#> 955        478     PHQ          Control Control - Treatment  5.635296e-02
-#> 956        478     PHQ        Treatment Control - Treatment  5.635296e-02
-#> 957        479     PHQ          Control Control - Treatment -2.282883e-01
-#> 958        479     PHQ        Treatment Control - Treatment -2.282883e-01
-#> 959        480     PHQ          Control Control - Treatment -4.658880e-02
-#> 960        480     PHQ        Treatment Control - Treatment -4.658880e-02
-#> 961        481     PHQ          Control Control - Treatment  7.585897e-03
-#> 962        481     PHQ        Treatment Control - Treatment  7.585897e-03
-#> 963        482     PHQ          Control Control - Treatment -8.196491e-02
-#> 964        482     PHQ        Treatment Control - Treatment -8.196491e-02
-#> 965        483     PHQ          Control Control - Treatment  4.865124e-02
-#> 966        483     PHQ        Treatment Control - Treatment  4.865124e-02
-#> 967        484     PHQ          Control Control - Treatment -1.046266e-01
-#> 968        484     PHQ        Treatment Control - Treatment -1.046266e-01
-#> 969        485     PHQ          Control Control - Treatment -8.348044e-02
-#> 970        485     PHQ        Treatment Control - Treatment -8.348044e-02
-#> 971        486     PHQ          Control Control - Treatment  2.077750e-01
-#> 972        486     PHQ        Treatment Control - Treatment  2.077750e-01
-#> 973        487     PHQ          Control Control - Treatment -1.415095e-01
-#> 974        487     PHQ        Treatment Control - Treatment -1.415095e-01
-#> 975        488     PHQ          Control Control - Treatment  0.000000e+00
-#> 976        488     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 977        489     PHQ          Control Control - Treatment -1.016432e-01
-#> 978        489     PHQ        Treatment Control - Treatment -1.016432e-01
-#> 979        490     PHQ          Control Control - Treatment  0.000000e+00
-#> 980        490     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 981        491     PHQ          Control Control - Treatment -2.060277e-01
-#> 982        491     PHQ        Treatment Control - Treatment -2.060277e-01
-#> 983        492     PHQ          Control Control - Treatment -2.662099e-01
-#> 984        492     PHQ        Treatment Control - Treatment -2.662099e-01
-#> 985        493     PHQ          Control Control - Treatment  1.050107e-02
-#> 986        493     PHQ        Treatment Control - Treatment  1.050107e-02
-#> 987        494     PHQ          Control Control - Treatment -9.086537e-03
-#> 988        494     PHQ        Treatment Control - Treatment -9.086537e-03
-#> 989        495     PHQ          Control Control - Treatment  1.633317e-01
-#> 990        495     PHQ        Treatment Control - Treatment  1.633317e-01
-#> 991        496     PHQ          Control Control - Treatment -1.830519e-01
-#> 992        496     PHQ        Treatment Control - Treatment -1.830519e-01
-#> 993        497     PHQ          Control Control - Treatment  6.978417e-03
-#> 994        497     PHQ        Treatment Control - Treatment  6.978417e-03
-#> 995        498     PHQ          Control Control - Treatment  0.000000e+00
-#> 996        498     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 997        499     PHQ          Control Control - Treatment -2.101709e-01
-#> 998        499     PHQ        Treatment Control - Treatment -2.101709e-01
-#> 999        500     PHQ          Control Control - Treatment -2.858067e-02
-#> 1000       500     PHQ        Treatment Control - Treatment -2.858067e-02
-#> 1001       501     PHQ          Control Control - Treatment -1.305492e-01
-#> 1002       501     PHQ        Treatment Control - Treatment -1.305492e-01
-#> 1003       502     PHQ          Control Control - Treatment  3.571502e-01
-#> 1004       502     PHQ        Treatment Control - Treatment  3.571502e-01
-#> 1005       503     PHQ          Control Control - Treatment -2.636939e-01
-#> 1006       503     PHQ        Treatment Control - Treatment -2.636939e-01
-#> 1007       504     PHQ          Control Control - Treatment -1.568923e-01
-#> 1008       504     PHQ        Treatment Control - Treatment -1.568923e-01
-#> 1009       505     PHQ          Control Control - Treatment  1.342389e-01
-#> 1010       505     PHQ        Treatment Control - Treatment  1.342389e-01
-#> 1011       506     PHQ          Control Control - Treatment -8.399268e-02
-#> 1012       506     PHQ        Treatment Control - Treatment -8.399268e-02
-#> 1013       507     PHQ          Control Control - Treatment -2.293951e-01
-#> 1014       507     PHQ        Treatment Control - Treatment -2.293951e-01
-#> 1015       508     PHQ          Control Control - Treatment -3.666370e-01
-#> 1016       508     PHQ        Treatment Control - Treatment -3.666370e-01
-#> 1017       509     PHQ          Control Control - Treatment -9.234714e-02
-#> 1018       509     PHQ        Treatment Control - Treatment -9.234714e-02
-#> 1019       510     PHQ          Control Control - Treatment -7.877399e-02
-#> 1020       510     PHQ        Treatment Control - Treatment -7.877399e-02
-#> 1021       511     PHQ          Control Control - Treatment -3.742954e-01
-#> 1022       511     PHQ        Treatment Control - Treatment -3.742954e-01
-#> 1023       512     PHQ          Control Control - Treatment -2.303726e-01
-#> 1024       512     PHQ        Treatment Control - Treatment -2.303726e-01
-#> 1025       513     PHQ          Control Control - Treatment -1.867021e-01
-#> 1026       513     PHQ        Treatment Control - Treatment -1.867021e-01
-#> 1027       514     PHQ          Control Control - Treatment  0.000000e+00
-#> 1028       514     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1029       515     PHQ          Control Control - Treatment  0.000000e+00
-#> 1030       515     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1031       516     PHQ          Control Control - Treatment  2.146879e-02
-#> 1032       516     PHQ        Treatment Control - Treatment  2.146879e-02
-#> 1033       517     PHQ          Control Control - Treatment -2.954551e-01
-#> 1034       517     PHQ        Treatment Control - Treatment -2.954551e-01
-#> 1035       518     PHQ          Control Control - Treatment -1.517075e-03
-#> 1036       518     PHQ        Treatment Control - Treatment -1.517075e-03
-#> 1037       519     PHQ          Control Control - Treatment -2.031990e-02
-#> 1038       519     PHQ        Treatment Control - Treatment -2.031990e-02
-#> 1039       520     PHQ          Control Control - Treatment -4.338135e-01
-#> 1040       520     PHQ        Treatment Control - Treatment -4.338135e-01
-#> 1041       521     PHQ          Control Control - Treatment -1.162288e-01
-#> 1042       521     PHQ        Treatment Control - Treatment -1.162288e-01
-#> 1043       522     PHQ          Control Control - Treatment -5.609867e-02
-#> 1044       522     PHQ        Treatment Control - Treatment -5.609867e-02
-#> 1045       523     PHQ          Control Control - Treatment  0.000000e+00
-#> 1046       523     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1047       524     PHQ          Control Control - Treatment -1.171532e-01
-#> 1048       524     PHQ        Treatment Control - Treatment -1.171532e-01
-#> 1049       525     PHQ          Control Control - Treatment -6.007859e-02
-#> 1050       525     PHQ        Treatment Control - Treatment -6.007859e-02
-#> 1051       526     PHQ          Control Control - Treatment  7.205298e-02
-#> 1052       526     PHQ        Treatment Control - Treatment  7.205298e-02
-#> 1053       527     PHQ          Control Control - Treatment -6.684131e-02
-#> 1054       527     PHQ        Treatment Control - Treatment -6.684131e-02
-#> 1055       528     PHQ          Control Control - Treatment -1.617219e-01
-#> 1056       528     PHQ        Treatment Control - Treatment -1.617219e-01
-#> 1057       529     PHQ          Control Control - Treatment -2.397401e-01
-#> 1058       529     PHQ        Treatment Control - Treatment -2.397401e-01
-#> 1059       530     PHQ          Control Control - Treatment -3.618129e-02
-#> 1060       530     PHQ        Treatment Control - Treatment -3.618129e-02
-#> 1061       531     PHQ          Control Control - Treatment -1.404068e-01
-#> 1062       531     PHQ        Treatment Control - Treatment -1.404068e-01
-#> 1063       532     PHQ          Control Control - Treatment  9.079083e-03
-#> 1064       532     PHQ        Treatment Control - Treatment  9.079083e-03
-#> 1065       533     PHQ          Control Control - Treatment  0.000000e+00
-#> 1066       533     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1067       534     PHQ          Control Control - Treatment  5.007407e-02
-#> 1068       534     PHQ        Treatment Control - Treatment  5.007407e-02
-#> 1069       535     PHQ          Control Control - Treatment  7.561319e-02
-#> 1070       535     PHQ        Treatment Control - Treatment  7.561319e-02
-#> 1071       536     PHQ          Control Control - Treatment  1.193770e-01
-#> 1072       536     PHQ        Treatment Control - Treatment  1.193770e-01
-#> 1073       537     PHQ          Control Control - Treatment -2.953574e-02
-#> 1074       537     PHQ        Treatment Control - Treatment -2.953574e-02
-#> 1075       538     PHQ          Control Control - Treatment -1.802107e-01
-#> 1076       538     PHQ        Treatment Control - Treatment -1.802107e-01
-#> 1077       539     PHQ          Control Control - Treatment  3.942394e-02
-#> 1078       539     PHQ        Treatment Control - Treatment  3.942394e-02
-#> 1079       540     PHQ          Control Control - Treatment -1.460466e-01
-#> 1080       540     PHQ        Treatment Control - Treatment -1.460466e-01
-#> 1081       541     PHQ          Control Control - Treatment  5.055479e-02
-#> 1082       541     PHQ        Treatment Control - Treatment  5.055479e-02
-#> 1083       542     PHQ          Control Control - Treatment -1.088549e-01
-#> 1084       542     PHQ        Treatment Control - Treatment -1.088549e-01
-#> 1085       543     PHQ          Control Control - Treatment -1.489866e-01
-#> 1086       543     PHQ        Treatment Control - Treatment -1.489866e-01
-#> 1087       544     PHQ          Control Control - Treatment -9.558847e-02
-#> 1088       544     PHQ        Treatment Control - Treatment -9.558847e-02
-#> 1089       545     PHQ          Control Control - Treatment -3.240158e-02
-#> 1090       545     PHQ        Treatment Control - Treatment -3.240158e-02
-#> 1091       546     PHQ          Control Control - Treatment -6.252202e-02
-#> 1092       546     PHQ        Treatment Control - Treatment -6.252202e-02
-#> 1093       547     PHQ          Control Control - Treatment  2.675590e-01
-#> 1094       547     PHQ        Treatment Control - Treatment  2.675590e-01
-#> 1095       548     PHQ          Control Control - Treatment -4.843444e-02
-#> 1096       548     PHQ        Treatment Control - Treatment -4.843444e-02
-#> 1097       549     PHQ          Control Control - Treatment -3.375037e-01
-#> 1098       549     PHQ        Treatment Control - Treatment -3.375037e-01
-#> 1099       550     PHQ          Control Control - Treatment  2.445186e-03
-#> 1100       550     PHQ        Treatment Control - Treatment  2.445186e-03
-#> 1101       551     PHQ          Control Control - Treatment  6.109949e-02
-#> 1102       551     PHQ        Treatment Control - Treatment  6.109949e-02
-#> 1103       552     PHQ          Control Control - Treatment -1.378864e-01
-#> 1104       552     PHQ        Treatment Control - Treatment -1.378864e-01
-#> 1105       553     PHQ          Control Control - Treatment -1.138107e-01
-#> 1106       553     PHQ        Treatment Control - Treatment -1.138107e-01
-#> 1107       554     PHQ          Control Control - Treatment  1.157754e-01
-#> 1108       554     PHQ        Treatment Control - Treatment  1.157754e-01
-#> 1109       555     PHQ          Control Control - Treatment  0.000000e+00
-#> 1110       555     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1111       556     PHQ          Control Control - Treatment -4.179412e-02
-#> 1112       556     PHQ        Treatment Control - Treatment -4.179412e-02
-#> 1113       557     PHQ          Control Control - Treatment -2.061119e-01
-#> 1114       557     PHQ        Treatment Control - Treatment -2.061119e-01
-#> 1115       558     PHQ          Control Control - Treatment -1.813788e-01
-#> 1116       558     PHQ        Treatment Control - Treatment -1.813788e-01
-#> 1117       559     PHQ          Control Control - Treatment -8.699723e-02
-#> 1118       559     PHQ        Treatment Control - Treatment -8.699723e-02
-#> 1119       560     PHQ          Control Control - Treatment -1.200215e-01
-#> 1120       560     PHQ        Treatment Control - Treatment -1.200215e-01
-#> 1121       561     PHQ          Control Control - Treatment  5.244132e-03
-#> 1122       561     PHQ        Treatment Control - Treatment  5.244132e-03
-#> 1123       562     PHQ          Control Control - Treatment -1.117321e-01
-#> 1124       562     PHQ        Treatment Control - Treatment -1.117321e-01
-#> 1125       563     PHQ          Control Control - Treatment -2.439938e-01
-#> 1126       563     PHQ        Treatment Control - Treatment -2.439938e-01
-#> 1127       564     PHQ          Control Control - Treatment  7.189712e-02
-#> 1128       564     PHQ        Treatment Control - Treatment  7.189712e-02
-#> 1129       565     PHQ          Control Control - Treatment  0.000000e+00
-#> 1130       565     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1131       566     PHQ          Control Control - Treatment -1.039597e-01
-#> 1132       566     PHQ        Treatment Control - Treatment -1.039597e-01
-#> 1133       567     PHQ          Control Control - Treatment -5.266833e-02
-#> 1134       567     PHQ        Treatment Control - Treatment -5.266833e-02
-#> 1135       568     PHQ          Control Control - Treatment  2.375376e-02
-#> 1136       568     PHQ        Treatment Control - Treatment  2.375376e-02
-#> 1137       569     PHQ          Control Control - Treatment -8.201834e-02
-#> 1138       569     PHQ        Treatment Control - Treatment -8.201834e-02
-#> 1139       570     PHQ          Control Control - Treatment -1.057816e-01
-#> 1140       570     PHQ        Treatment Control - Treatment -1.057816e-01
-#> 1141       571     PHQ          Control Control - Treatment -1.759127e-01
-#> 1142       571     PHQ        Treatment Control - Treatment -1.759127e-01
-#> 1143       572     PHQ          Control Control - Treatment -5.215792e-02
-#> 1144       572     PHQ        Treatment Control - Treatment -5.215792e-02
-#> 1145       573     PHQ          Control Control - Treatment  2.094971e-01
-#> 1146       573     PHQ        Treatment Control - Treatment  2.094971e-01
-#> 1147       574     PHQ          Control Control - Treatment  0.000000e+00
-#> 1148       574     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1149       575     PHQ          Control Control - Treatment -8.184693e-02
-#> 1150       575     PHQ        Treatment Control - Treatment -8.184693e-02
-#> 1151       576     PHQ          Control Control - Treatment -6.421869e-02
-#> 1152       576     PHQ        Treatment Control - Treatment -6.421869e-02
-#> 1153       577     PHQ          Control Control - Treatment  0.000000e+00
-#> 1154       577     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1155       578     PHQ          Control Control - Treatment -1.245266e-02
-#> 1156       578     PHQ        Treatment Control - Treatment -1.245266e-02
-#> 1157       579     PHQ          Control Control - Treatment -1.839778e-01
-#> 1158       579     PHQ        Treatment Control - Treatment -1.839778e-01
-#> 1159       580     PHQ          Control Control - Treatment  1.005743e-01
-#> 1160       580     PHQ        Treatment Control - Treatment  1.005743e-01
-#> 1161       581     PHQ          Control Control - Treatment  2.583424e-01
-#> 1162       581     PHQ        Treatment Control - Treatment  2.583424e-01
-#> 1163       582     PHQ          Control Control - Treatment -1.303877e-01
-#> 1164       582     PHQ        Treatment Control - Treatment -1.303877e-01
-#> 1165       583     PHQ          Control Control - Treatment -1.017958e-01
-#> 1166       583     PHQ        Treatment Control - Treatment -1.017958e-01
-#> 1167       584     PHQ          Control Control - Treatment -5.996432e-02
-#> 1168       584     PHQ        Treatment Control - Treatment -5.996432e-02
-#> 1169       585     PHQ          Control Control - Treatment -3.812531e-03
-#> 1170       585     PHQ        Treatment Control - Treatment -3.812531e-03
-#> 1171       586     PHQ          Control Control - Treatment  2.762194e-02
-#> 1172       586     PHQ        Treatment Control - Treatment  2.762194e-02
-#> 1173       587     PHQ          Control Control - Treatment  0.000000e+00
-#> 1174       587     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1175       588     PHQ          Control Control - Treatment -9.777734e-02
-#> 1176       588     PHQ        Treatment Control - Treatment -9.777734e-02
-#> 1177       589     PHQ          Control Control - Treatment  0.000000e+00
-#> 1178       589     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1179       590     PHQ          Control Control - Treatment -1.855786e-01
-#> 1180       590     PHQ        Treatment Control - Treatment -1.855786e-01
-#> 1181       591     PHQ          Control Control - Treatment  7.598837e-04
-#> 1182       591     PHQ        Treatment Control - Treatment  7.598837e-04
-#> 1183       592     PHQ          Control Control - Treatment -1.886082e-01
-#> 1184       592     PHQ        Treatment Control - Treatment -1.886082e-01
-#> 1185       593     PHQ          Control Control - Treatment  1.248341e-01
-#> 1186       593     PHQ        Treatment Control - Treatment  1.248341e-01
-#> 1187       594     PHQ          Control Control - Treatment -2.638825e-01
-#> 1188       594     PHQ        Treatment Control - Treatment -2.638825e-01
-#> 1189       595     PHQ          Control Control - Treatment  1.439260e-01
-#> 1190       595     PHQ        Treatment Control - Treatment  1.439260e-01
-#> 1191       596     PHQ          Control Control - Treatment  0.000000e+00
-#> 1192       596     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1193       597     PHQ          Control Control - Treatment -2.908841e-02
-#> 1194       597     PHQ        Treatment Control - Treatment -2.908841e-02
-#> 1195       598     PHQ          Control Control - Treatment  1.591919e-01
-#> 1196       598     PHQ        Treatment Control - Treatment  1.591919e-01
-#> 1197       599     PHQ          Control Control - Treatment -7.235993e-02
-#> 1198       599     PHQ        Treatment Control - Treatment -7.235993e-02
-#> 1199       600     PHQ          Control Control - Treatment -9.856438e-02
-#> 1200       600     PHQ        Treatment Control - Treatment -9.856438e-02
-#> 1201       601     PHQ          Control Control - Treatment  0.000000e+00
-#> 1202       601     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1203       602     PHQ          Control Control - Treatment -4.309563e-02
-#> 1204       602     PHQ        Treatment Control - Treatment -4.309563e-02
-#> 1205       603     PHQ          Control Control - Treatment  7.496007e-02
-#> 1206       603     PHQ        Treatment Control - Treatment  7.496007e-02
-#> 1207       604     PHQ          Control Control - Treatment -6.780336e-02
-#> 1208       604     PHQ        Treatment Control - Treatment -6.780336e-02
-#> 1209       605     PHQ          Control Control - Treatment  9.557057e-02
-#> 1210       605     PHQ        Treatment Control - Treatment  9.557057e-02
-#> 1211       606     PHQ          Control Control - Treatment  0.000000e+00
-#> 1212       606     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1213       607     PHQ          Control Control - Treatment -3.482731e-01
-#> 1214       607     PHQ        Treatment Control - Treatment -3.482731e-01
-#> 1215       608     PHQ          Control Control - Treatment  7.713252e-04
-#> 1216       608     PHQ        Treatment Control - Treatment  7.713252e-04
-#> 1217       609     PHQ          Control Control - Treatment -2.940937e-03
-#> 1218       609     PHQ        Treatment Control - Treatment -2.940937e-03
-#> 1219       610     PHQ          Control Control - Treatment  6.616470e-02
-#> 1220       610     PHQ        Treatment Control - Treatment  6.616470e-02
-#> 1221       611     PHQ          Control Control - Treatment -1.519882e-01
-#> 1222       611     PHQ        Treatment Control - Treatment -1.519882e-01
-#> 1223       612     PHQ          Control Control - Treatment -3.289805e-02
-#> 1224       612     PHQ        Treatment Control - Treatment -3.289805e-02
-#> 1225       613     PHQ          Control Control - Treatment -4.749286e-02
-#> 1226       613     PHQ        Treatment Control - Treatment -4.749286e-02
-#> 1227       614     PHQ          Control Control - Treatment  1.018697e-02
-#> 1228       614     PHQ        Treatment Control - Treatment  1.018697e-02
-#> 1229       615     PHQ          Control Control - Treatment  1.948498e-01
-#> 1230       615     PHQ        Treatment Control - Treatment  1.948498e-01
-#> 1231       616     PHQ          Control Control - Treatment  7.145582e-02
-#> 1232       616     PHQ        Treatment Control - Treatment  7.145582e-02
-#> 1233       617     PHQ          Control Control - Treatment -1.054205e-01
-#> 1234       617     PHQ        Treatment Control - Treatment -1.054205e-01
-#> 1235       618     PHQ          Control Control - Treatment -1.124508e-01
-#> 1236       618     PHQ        Treatment Control - Treatment -1.124508e-01
-#> 1237       619     PHQ          Control Control - Treatment -1.568103e-01
-#> 1238       619     PHQ        Treatment Control - Treatment -1.568103e-01
-#> 1239       620     PHQ          Control Control - Treatment -1.709026e-01
-#> 1240       620     PHQ        Treatment Control - Treatment -1.709026e-01
-#> 1241       621     PHQ          Control Control - Treatment  0.000000e+00
-#> 1242       621     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1243       622     PHQ          Control Control - Treatment -1.555531e-01
-#> 1244       622     PHQ        Treatment Control - Treatment -1.555531e-01
-#> 1245       623     PHQ          Control Control - Treatment -1.776633e-01
-#> 1246       623     PHQ        Treatment Control - Treatment -1.776633e-01
-#> 1247       624     PHQ          Control Control - Treatment  1.471062e-01
-#> 1248       624     PHQ        Treatment Control - Treatment  1.471062e-01
-#> 1249       625     PHQ          Control Control - Treatment  1.156478e-01
-#> 1250       625     PHQ        Treatment Control - Treatment  1.156478e-01
-#> 1251       626     PHQ          Control Control - Treatment -9.258011e-02
-#> 1252       626     PHQ        Treatment Control - Treatment -9.258011e-02
-#> 1253       627     PHQ          Control Control - Treatment -1.709275e-02
-#> 1254       627     PHQ        Treatment Control - Treatment -1.709275e-02
-#> 1255       628     PHQ          Control Control - Treatment -1.476353e-01
-#> 1256       628     PHQ        Treatment Control - Treatment -1.476353e-01
-#> 1257       629     PHQ          Control Control - Treatment -1.043285e-01
-#> 1258       629     PHQ        Treatment Control - Treatment -1.043285e-01
-#> 1259       630     PHQ          Control Control - Treatment -3.537847e-01
-#> 1260       630     PHQ        Treatment Control - Treatment -3.537847e-01
-#> 1261       631     PHQ          Control Control - Treatment -3.069561e-02
-#> 1262       631     PHQ        Treatment Control - Treatment -3.069561e-02
-#> 1263       632     PHQ          Control Control - Treatment  0.000000e+00
-#> 1264       632     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1265       633     PHQ          Control Control - Treatment -5.271941e-02
-#> 1266       633     PHQ        Treatment Control - Treatment -5.271941e-02
-#> 1267       634     PHQ          Control Control - Treatment -1.269149e-01
-#> 1268       634     PHQ        Treatment Control - Treatment -1.269149e-01
-#> 1269       635     PHQ          Control Control - Treatment -5.498545e-02
-#> 1270       635     PHQ        Treatment Control - Treatment -5.498545e-02
-#> 1271       636     PHQ          Control Control - Treatment  6.794054e-02
-#> 1272       636     PHQ        Treatment Control - Treatment  6.794054e-02
-#> 1273       637     PHQ          Control Control - Treatment  2.742680e-01
-#> 1274       637     PHQ        Treatment Control - Treatment  2.742680e-01
-#> 1275       638     PHQ          Control Control - Treatment -6.157613e-02
-#> 1276       638     PHQ        Treatment Control - Treatment -6.157613e-02
-#> 1277       639     PHQ          Control Control - Treatment -1.278531e-01
-#> 1278       639     PHQ        Treatment Control - Treatment -1.278531e-01
-#> 1279       640     PHQ          Control Control - Treatment  1.861211e-01
-#> 1280       640     PHQ        Treatment Control - Treatment  1.861211e-01
-#> 1281       641     PHQ          Control Control - Treatment -1.869382e-01
-#> 1282       641     PHQ        Treatment Control - Treatment -1.869382e-01
-#> 1283       642     PHQ          Control Control - Treatment -3.756859e-02
-#> 1284       642     PHQ        Treatment Control - Treatment -3.756859e-02
-#> 1285       643     PHQ          Control Control - Treatment  2.299453e-01
-#> 1286       643     PHQ        Treatment Control - Treatment  2.299453e-01
-#> 1287       644     PHQ          Control Control - Treatment  7.483822e-02
-#> 1288       644     PHQ        Treatment Control - Treatment  7.483822e-02
-#> 1289       645     PHQ          Control Control - Treatment -2.262289e-01
-#> 1290       645     PHQ        Treatment Control - Treatment -2.262289e-01
-#> 1291       646     PHQ          Control Control - Treatment  1.738093e-01
-#> 1292       646     PHQ        Treatment Control - Treatment  1.738093e-01
-#> 1293       647     PHQ          Control Control - Treatment  1.085436e-01
-#> 1294       647     PHQ        Treatment Control - Treatment  1.085436e-01
-#> 1295       648     PHQ          Control Control - Treatment -9.216144e-02
-#> 1296       648     PHQ        Treatment Control - Treatment -9.216144e-02
-#> 1297       649     PHQ          Control Control - Treatment -7.121522e-02
-#> 1298       649     PHQ        Treatment Control - Treatment -7.121522e-02
-#> 1299       650     PHQ          Control Control - Treatment  4.286812e-02
-#> 1300       650     PHQ        Treatment Control - Treatment  4.286812e-02
-#> 1301       651     PHQ          Control Control - Treatment -1.004992e-01
-#> 1302       651     PHQ        Treatment Control - Treatment -1.004992e-01
-#> 1303       652     PHQ          Control Control - Treatment -9.254711e-02
-#> 1304       652     PHQ        Treatment Control - Treatment -9.254711e-02
-#> 1305       653     PHQ          Control Control - Treatment -2.150262e-01
-#> 1306       653     PHQ        Treatment Control - Treatment -2.150262e-01
-#> 1307       654     PHQ          Control Control - Treatment  0.000000e+00
-#> 1308       654     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1309       655     PHQ          Control Control - Treatment  0.000000e+00
-#> 1310       655     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1311       656     PHQ          Control Control - Treatment -4.255098e-02
-#> 1312       656     PHQ        Treatment Control - Treatment -4.255098e-02
-#> 1313       657     PHQ          Control Control - Treatment  4.585212e-02
-#> 1314       657     PHQ        Treatment Control - Treatment  4.585212e-02
-#> 1315       658     PHQ          Control Control - Treatment  1.515204e-01
-#> 1316       658     PHQ        Treatment Control - Treatment  1.515204e-01
-#> 1317       659     PHQ          Control Control - Treatment -2.323672e-01
-#> 1318       659     PHQ        Treatment Control - Treatment -2.323672e-01
-#> 1319       660     PHQ          Control Control - Treatment -1.398212e-01
-#> 1320       660     PHQ        Treatment Control - Treatment -1.398212e-01
-#> 1321       661     PHQ          Control Control - Treatment -2.030885e-01
-#> 1322       661     PHQ        Treatment Control - Treatment -2.030885e-01
-#> 1323       662     PHQ          Control Control - Treatment  6.216115e-02
-#> 1324       662     PHQ        Treatment Control - Treatment  6.216115e-02
-#> 1325       663     PHQ          Control Control - Treatment -2.638634e-01
-#> 1326       663     PHQ        Treatment Control - Treatment -2.638634e-01
-#> 1327       664     PHQ          Control Control - Treatment -2.779793e-01
-#> 1328       664     PHQ        Treatment Control - Treatment -2.779793e-01
-#> 1329       665     PHQ          Control Control - Treatment -9.263624e-03
-#> 1330       665     PHQ        Treatment Control - Treatment -9.263624e-03
-#> 1331       666     PHQ          Control Control - Treatment -9.258631e-02
-#> 1332       666     PHQ        Treatment Control - Treatment -9.258631e-02
-#> 1333       667     PHQ          Control Control - Treatment -1.766117e-01
-#> 1334       667     PHQ        Treatment Control - Treatment -1.766117e-01
-#> 1335       668     PHQ          Control Control - Treatment -1.156648e-01
-#> 1336       668     PHQ        Treatment Control - Treatment -1.156648e-01
-#> 1337       669     PHQ          Control Control - Treatment -6.146182e-03
-#> 1338       669     PHQ        Treatment Control - Treatment -6.146182e-03
-#> 1339       670     PHQ          Control Control - Treatment -2.803357e-02
-#> 1340       670     PHQ        Treatment Control - Treatment -2.803357e-02
-#> 1341       671     PHQ          Control Control - Treatment  0.000000e+00
-#> 1342       671     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1343       672     PHQ          Control Control - Treatment  8.867077e-02
-#> 1344       672     PHQ        Treatment Control - Treatment  8.867077e-02
-#> 1345       673     PHQ          Control Control - Treatment -2.325439e-01
-#> 1346       673     PHQ        Treatment Control - Treatment -2.325439e-01
-#> 1347       674     PHQ          Control Control - Treatment -4.501153e-02
-#> 1348       674     PHQ        Treatment Control - Treatment -4.501153e-02
-#> 1349       675     PHQ          Control Control - Treatment -2.150665e-02
-#> 1350       675     PHQ        Treatment Control - Treatment -2.150665e-02
-#> 1351       676     PHQ          Control Control - Treatment  0.000000e+00
-#> 1352       676     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1353       677     PHQ          Control Control - Treatment -2.427540e-01
-#> 1354       677     PHQ        Treatment Control - Treatment -2.427540e-01
-#> 1355       678     PHQ          Control Control - Treatment  0.000000e+00
-#> 1356       678     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1357       679     PHQ          Control Control - Treatment  1.144939e-01
-#> 1358       679     PHQ        Treatment Control - Treatment  1.144939e-01
-#> 1359       680     PHQ          Control Control - Treatment -6.574316e-02
-#> 1360       680     PHQ        Treatment Control - Treatment -6.574316e-02
-#> 1361       681     PHQ          Control Control - Treatment -5.105728e-02
-#> 1362       681     PHQ        Treatment Control - Treatment -5.105728e-02
-#> 1363       682     PHQ          Control Control - Treatment  2.019981e-01
-#> 1364       682     PHQ        Treatment Control - Treatment  2.019981e-01
-#> 1365       683     PHQ          Control Control - Treatment -1.169493e-02
-#> 1366       683     PHQ        Treatment Control - Treatment -1.169493e-02
-#> 1367       684     PHQ          Control Control - Treatment -1.408969e-01
-#> 1368       684     PHQ        Treatment Control - Treatment -1.408969e-01
-#> 1369       685     PHQ          Control Control - Treatment  0.000000e+00
-#> 1370       685     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1371       686     PHQ          Control Control - Treatment -1.279067e-01
-#> 1372       686     PHQ        Treatment Control - Treatment -1.279067e-01
-#> 1373       687     PHQ          Control Control - Treatment -1.012505e-01
-#> 1374       687     PHQ        Treatment Control - Treatment -1.012505e-01
-#> 1375       688     PHQ          Control Control - Treatment -6.762094e-02
-#> 1376       688     PHQ        Treatment Control - Treatment -6.762094e-02
-#> 1377       689     PHQ          Control Control - Treatment -4.145219e-02
-#> 1378       689     PHQ        Treatment Control - Treatment -4.145219e-02
-#> 1379       690     PHQ          Control Control - Treatment -7.468472e-03
-#> 1380       690     PHQ        Treatment Control - Treatment -7.468472e-03
-#> 1381       691     PHQ          Control Control - Treatment -1.347132e-01
-#> 1382       691     PHQ        Treatment Control - Treatment -1.347132e-01
-#> 1383       692     PHQ          Control Control - Treatment  3.132065e-02
-#> 1384       692     PHQ        Treatment Control - Treatment  3.132065e-02
-#> 1385       693     PHQ          Control Control - Treatment  2.812065e-02
-#> 1386       693     PHQ        Treatment Control - Treatment  2.812065e-02
-#> 1387       694     PHQ          Control Control - Treatment  9.340609e-02
-#> 1388       694     PHQ        Treatment Control - Treatment  9.340609e-02
-#> 1389       695     PHQ          Control Control - Treatment -1.939742e-01
-#> 1390       695     PHQ        Treatment Control - Treatment -1.939742e-01
-#> 1391       696     PHQ          Control Control - Treatment  3.523341e-02
-#> 1392       696     PHQ        Treatment Control - Treatment  3.523341e-02
-#> 1393       697     PHQ          Control Control - Treatment  2.203055e-02
-#> 1394       697     PHQ        Treatment Control - Treatment  2.203055e-02
-#> 1395       698     PHQ          Control Control - Treatment  1.019482e-01
-#> 1396       698     PHQ        Treatment Control - Treatment  1.019482e-01
-#> 1397       699     PHQ          Control Control - Treatment  1.743437e-01
-#> 1398       699     PHQ        Treatment Control - Treatment  1.743437e-01
-#> 1399       700     PHQ          Control Control - Treatment -3.718959e-02
-#> 1400       700     PHQ        Treatment Control - Treatment -3.718959e-02
-#> 1401       701     PHQ          Control Control - Treatment  0.000000e+00
-#> 1402       701     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1403       702     PHQ          Control Control - Treatment -1.493534e-01
-#> 1404       702     PHQ        Treatment Control - Treatment -1.493534e-01
-#> 1405       703     PHQ          Control Control - Treatment  9.287496e-02
-#> 1406       703     PHQ        Treatment Control - Treatment  9.287496e-02
-#> 1407       704     PHQ          Control Control - Treatment  3.713567e-02
-#> 1408       704     PHQ        Treatment Control - Treatment  3.713567e-02
-#> 1409       705     PHQ          Control Control - Treatment -1.530503e-02
-#> 1410       705     PHQ        Treatment Control - Treatment -1.530503e-02
-#> 1411       706     PHQ          Control Control - Treatment -8.001730e-03
-#> 1412       706     PHQ        Treatment Control - Treatment -8.001730e-03
-#> 1413       707     PHQ          Control Control - Treatment  1.365394e-01
-#> 1414       707     PHQ        Treatment Control - Treatment  1.365394e-01
-#> 1415       708     PHQ          Control Control - Treatment  0.000000e+00
-#> 1416       708     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1417       709     PHQ          Control Control - Treatment -2.531827e-02
-#> 1418       709     PHQ        Treatment Control - Treatment -2.531827e-02
-#> 1419       710     PHQ          Control Control - Treatment  5.948062e-02
-#> 1420       710     PHQ        Treatment Control - Treatment  5.948062e-02
-#> 1421       711     PHQ          Control Control - Treatment -1.034830e-01
-#> 1422       711     PHQ        Treatment Control - Treatment -1.034830e-01
-#> 1423       712     PHQ          Control Control - Treatment  1.124317e-01
-#> 1424       712     PHQ        Treatment Control - Treatment  1.124317e-01
-#> 1425       713     PHQ          Control Control - Treatment -2.274275e-02
-#> 1426       713     PHQ        Treatment Control - Treatment -2.274275e-02
-#> 1427       714     PHQ          Control Control - Treatment -1.363475e-01
-#> 1428       714     PHQ        Treatment Control - Treatment -1.363475e-01
-#> 1429       715     PHQ          Control Control - Treatment -3.085114e-01
-#> 1430       715     PHQ        Treatment Control - Treatment -3.085114e-01
-#> 1431       716     PHQ          Control Control - Treatment  0.000000e+00
-#> 1432       716     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1433       717     PHQ          Control Control - Treatment  0.000000e+00
-#> 1434       717     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1435       718     PHQ          Control Control - Treatment -9.978787e-03
-#> 1436       718     PHQ        Treatment Control - Treatment -9.978787e-03
-#> 1437       719     PHQ          Control Control - Treatment -6.722235e-02
-#> 1438       719     PHQ        Treatment Control - Treatment -6.722235e-02
-#> 1439       720     PHQ          Control Control - Treatment -9.685148e-02
-#> 1440       720     PHQ        Treatment Control - Treatment -9.685148e-02
-#> 1441       721     PHQ          Control Control - Treatment  0.000000e+00
-#> 1442       721     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1443       722     PHQ          Control Control - Treatment -1.800675e-01
-#> 1444       722     PHQ        Treatment Control - Treatment -1.800675e-01
-#> 1445       723     PHQ          Control Control - Treatment  5.741342e-02
-#> 1446       723     PHQ        Treatment Control - Treatment  5.741342e-02
-#> 1447       724     PHQ          Control Control - Treatment -3.323425e-02
-#> 1448       724     PHQ        Treatment Control - Treatment -3.323425e-02
-#> 1449       725     PHQ          Control Control - Treatment  0.000000e+00
-#> 1450       725     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1451       726     PHQ          Control Control - Treatment -4.835600e-02
-#> 1452       726     PHQ        Treatment Control - Treatment -4.835600e-02
-#> 1453       727     PHQ          Control Control - Treatment -7.275495e-03
-#> 1454       727     PHQ        Treatment Control - Treatment -7.275495e-03
-#> 1455       728     PHQ          Control Control - Treatment -8.126038e-02
-#> 1456       728     PHQ        Treatment Control - Treatment -8.126038e-02
-#> 1457       729     PHQ          Control Control - Treatment -1.275129e-01
-#> 1458       729     PHQ        Treatment Control - Treatment -1.275129e-01
-#> 1459       730     PHQ          Control Control - Treatment  0.000000e+00
-#> 1460       730     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1461       731     PHQ          Control Control - Treatment -1.495038e-01
-#> 1462       731     PHQ        Treatment Control - Treatment -1.495038e-01
-#> 1463       732     PHQ          Control Control - Treatment  0.000000e+00
-#> 1464       732     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1465       733     PHQ          Control Control - Treatment -8.651028e-02
-#> 1466       733     PHQ        Treatment Control - Treatment -8.651028e-02
-#> 1467       734     PHQ          Control Control - Treatment  2.519879e-01
-#> 1468       734     PHQ        Treatment Control - Treatment  2.519879e-01
-#> 1469       735     PHQ          Control Control - Treatment -2.984499e-01
-#> 1470       735     PHQ        Treatment Control - Treatment -2.984499e-01
-#> 1471       736     PHQ          Control Control - Treatment -2.562878e-01
-#> 1472       736     PHQ        Treatment Control - Treatment -2.562878e-01
-#> 1473       737     PHQ          Control Control - Treatment  0.000000e+00
-#> 1474       737     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1475       738     PHQ          Control Control - Treatment -9.857684e-02
-#> 1476       738     PHQ        Treatment Control - Treatment -9.857684e-02
-#> 1477       739     PHQ          Control Control - Treatment -4.613525e-02
-#> 1478       739     PHQ        Treatment Control - Treatment -4.613525e-02
-#> 1479       740     PHQ          Control Control - Treatment  6.152411e-02
-#> 1480       740     PHQ        Treatment Control - Treatment  6.152411e-02
-#> 1481       741     PHQ          Control Control - Treatment  4.037742e-02
-#> 1482       741     PHQ        Treatment Control - Treatment  4.037742e-02
-#> 1483       742     PHQ          Control Control - Treatment -4.815816e-05
-#> 1484       742     PHQ        Treatment Control - Treatment -4.815816e-05
-#> 1485       743     PHQ          Control Control - Treatment -8.587203e-02
-#> 1486       743     PHQ        Treatment Control - Treatment -8.587203e-02
-#> 1487       744     PHQ          Control Control - Treatment  2.038506e-02
-#> 1488       744     PHQ        Treatment Control - Treatment  2.038506e-02
-#> 1489       745     PHQ          Control Control - Treatment -1.991765e-02
-#> 1490       745     PHQ        Treatment Control - Treatment -1.991765e-02
-#> 1491       746     PHQ          Control Control - Treatment  2.306993e-01
-#> 1492       746     PHQ        Treatment Control - Treatment  2.306993e-01
-#> 1493       747     PHQ          Control Control - Treatment -8.790610e-02
-#> 1494       747     PHQ        Treatment Control - Treatment -8.790610e-02
-#> 1495       748     PHQ          Control Control - Treatment  7.351833e-02
-#> 1496       748     PHQ        Treatment Control - Treatment  7.351833e-02
-#> 1497       749     PHQ          Control Control - Treatment  1.723170e-01
-#> 1498       749     PHQ        Treatment Control - Treatment  1.723170e-01
-#> 1499       750     PHQ          Control Control - Treatment -3.269229e-01
-#> 1500       750     PHQ        Treatment Control - Treatment -3.269229e-01
-#> 1501       751     PHQ          Control Control - Treatment -1.235236e-01
-#> 1502       751     PHQ        Treatment Control - Treatment -1.235236e-01
-#> 1503       752     PHQ          Control Control - Treatment -2.245374e-02
-#> 1504       752     PHQ        Treatment Control - Treatment -2.245374e-02
-#> 1505       753     PHQ          Control Control - Treatment -9.032125e-02
-#> 1506       753     PHQ        Treatment Control - Treatment -9.032125e-02
-#> 1507       754     PHQ          Control Control - Treatment -1.556288e-01
-#> 1508       754     PHQ        Treatment Control - Treatment -1.556288e-01
-#> 1509       755     PHQ          Control Control - Treatment -3.225471e-02
-#> 1510       755     PHQ        Treatment Control - Treatment -3.225471e-02
-#> 1511       756     PHQ          Control Control - Treatment -6.315120e-02
-#> 1512       756     PHQ        Treatment Control - Treatment -6.315120e-02
-#> 1513       757     PHQ          Control Control - Treatment -1.036120e-01
-#> 1514       757     PHQ        Treatment Control - Treatment -1.036120e-01
-#> 1515       758     PHQ          Control Control - Treatment -7.720490e-02
-#> 1516       758     PHQ        Treatment Control - Treatment -7.720490e-02
-#> 1517       759     PHQ          Control Control - Treatment -6.638314e-02
-#> 1518       759     PHQ        Treatment Control - Treatment -6.638314e-02
-#> 1519       760     PHQ          Control Control - Treatment  0.000000e+00
-#> 1520       760     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1521       761     PHQ          Control Control - Treatment -1.012891e-01
-#> 1522       761     PHQ        Treatment Control - Treatment -1.012891e-01
-#> 1523       762     PHQ          Control Control - Treatment  9.061410e-02
-#> 1524       762     PHQ        Treatment Control - Treatment  9.061410e-02
-#> 1525       763     PHQ          Control Control - Treatment -1.489563e-01
-#> 1526       763     PHQ        Treatment Control - Treatment -1.489563e-01
-#> 1527       764     PHQ          Control Control - Treatment -1.154700e-01
-#> 1528       764     PHQ        Treatment Control - Treatment -1.154700e-01
-#> 1529       765     PHQ          Control Control - Treatment  8.839954e-02
-#> 1530       765     PHQ        Treatment Control - Treatment  8.839954e-02
-#> 1531       766     PHQ          Control Control - Treatment  1.168415e-01
-#> 1532       766     PHQ        Treatment Control - Treatment  1.168415e-01
-#> 1533       767     PHQ          Control Control - Treatment  7.152214e-02
-#> 1534       767     PHQ        Treatment Control - Treatment  7.152214e-02
-#> 1535       768     PHQ          Control Control - Treatment -8.155317e-02
-#> 1536       768     PHQ        Treatment Control - Treatment -8.155317e-02
-#> 1537       769     PHQ          Control Control - Treatment -8.969972e-02
-#> 1538       769     PHQ        Treatment Control - Treatment -8.969972e-02
-#> 1539       770     PHQ          Control Control - Treatment -7.117346e-02
-#> 1540       770     PHQ        Treatment Control - Treatment -7.117346e-02
-#> 1541       771     PHQ          Control Control - Treatment -1.527727e-01
-#> 1542       771     PHQ        Treatment Control - Treatment -1.527727e-01
-#> 1543       772     PHQ          Control Control - Treatment  2.897157e-03
-#> 1544       772     PHQ        Treatment Control - Treatment  2.897157e-03
-#> 1545       773     PHQ          Control Control - Treatment  3.868296e-04
-#> 1546       773     PHQ        Treatment Control - Treatment  3.868296e-04
-#> 1547       774     PHQ          Control Control - Treatment -1.996657e-01
-#> 1548       774     PHQ        Treatment Control - Treatment -1.996657e-01
-#> 1549       775     PHQ          Control Control - Treatment  7.345359e-02
-#> 1550       775     PHQ        Treatment Control - Treatment  7.345359e-02
-#> 1551       776     PHQ          Control Control - Treatment -1.592376e-01
-#> 1552       776     PHQ        Treatment Control - Treatment -1.592376e-01
-#> 1553       777     PHQ          Control Control - Treatment -2.687211e-01
-#> 1554       777     PHQ        Treatment Control - Treatment -2.687211e-01
-#> 1555       778     PHQ          Control Control - Treatment -3.798698e-02
-#> 1556       778     PHQ        Treatment Control - Treatment -3.798698e-02
-#> 1557       779     PHQ          Control Control - Treatment -1.029631e-01
-#> 1558       779     PHQ        Treatment Control - Treatment -1.029631e-01
-#> 1559       780     PHQ          Control Control - Treatment  0.000000e+00
-#> 1560       780     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1561       781     PHQ          Control Control - Treatment -2.587448e-02
-#> 1562       781     PHQ        Treatment Control - Treatment -2.587448e-02
-#> 1563       782     PHQ          Control Control - Treatment -8.570232e-02
-#> 1564       782     PHQ        Treatment Control - Treatment -8.570232e-02
-#> 1565       783     PHQ          Control Control - Treatment -1.055767e-01
-#> 1566       783     PHQ        Treatment Control - Treatment -1.055767e-01
-#> 1567       784     PHQ          Control Control - Treatment -1.634441e-01
-#> 1568       784     PHQ        Treatment Control - Treatment -1.634441e-01
-#> 1569       785     PHQ          Control Control - Treatment  1.222512e-01
-#> 1570       785     PHQ        Treatment Control - Treatment  1.222512e-01
-#> 1571       786     PHQ          Control Control - Treatment -1.245886e-01
-#> 1572       786     PHQ        Treatment Control - Treatment -1.245886e-01
-#> 1573       787     PHQ          Control Control - Treatment  6.889944e-02
-#> 1574       787     PHQ        Treatment Control - Treatment  6.889944e-02
-#> 1575       788     PHQ          Control Control - Treatment  0.000000e+00
-#> 1576       788     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1577       789     PHQ          Control Control - Treatment  0.000000e+00
-#> 1578       789     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1579       790     PHQ          Control Control - Treatment  6.516213e-02
-#> 1580       790     PHQ        Treatment Control - Treatment  6.516213e-02
-#> 1581       791     PHQ          Control Control - Treatment  6.008801e-02
-#> 1582       791     PHQ        Treatment Control - Treatment  6.008801e-02
-#> 1583       792     PHQ          Control Control - Treatment -2.038725e-01
-#> 1584       792     PHQ        Treatment Control - Treatment -2.038725e-01
-#> 1585       793     PHQ          Control Control - Treatment  0.000000e+00
-#> 1586       793     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1587       794     PHQ          Control Control - Treatment -1.519331e-01
-#> 1588       794     PHQ        Treatment Control - Treatment -1.519331e-01
-#> 1589       795     PHQ          Control Control - Treatment -8.073987e-03
-#> 1590       795     PHQ        Treatment Control - Treatment -8.073987e-03
-#> 1591       796     PHQ          Control Control - Treatment -1.236317e-01
-#> 1592       796     PHQ        Treatment Control - Treatment -1.236317e-01
-#> 1593       797     PHQ          Control Control - Treatment -1.502330e-01
-#> 1594       797     PHQ        Treatment Control - Treatment -1.502330e-01
-#> 1595       798     PHQ          Control Control - Treatment  0.000000e+00
-#> 1596       798     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1597       799     PHQ          Control Control - Treatment -1.844606e-01
-#> 1598       799     PHQ        Treatment Control - Treatment -1.844606e-01
-#> 1599       800     PHQ          Control Control - Treatment -1.639641e-01
-#> 1600       800     PHQ        Treatment Control - Treatment -1.639641e-01
-#> 1601       801     PHQ          Control Control - Treatment -1.101826e-01
-#> 1602       801     PHQ        Treatment Control - Treatment -1.101826e-01
-#> 1603       802     PHQ          Control Control - Treatment -6.893840e-02
-#> 1604       802     PHQ        Treatment Control - Treatment -6.893840e-02
-#> 1605       803     PHQ          Control Control - Treatment  0.000000e+00
-#> 1606       803     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1607       804     PHQ          Control Control - Treatment  0.000000e+00
-#> 1608       804     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1609       805     PHQ          Control Control - Treatment -1.706855e-01
-#> 1610       805     PHQ        Treatment Control - Treatment -1.706855e-01
-#> 1611       806     PHQ          Control Control - Treatment  2.562990e-02
-#> 1612       806     PHQ        Treatment Control - Treatment  2.562990e-02
-#> 1613       807     PHQ          Control Control - Treatment -9.374700e-02
-#> 1614       807     PHQ        Treatment Control - Treatment -9.374700e-02
-#> 1615       808     PHQ          Control Control - Treatment -7.000587e-02
-#> 1616       808     PHQ        Treatment Control - Treatment -7.000587e-02
-#> 1617       809     PHQ          Control Control - Treatment  4.392052e-02
-#> 1618       809     PHQ        Treatment Control - Treatment  4.392052e-02
-#> 1619       810     PHQ          Control Control - Treatment  0.000000e+00
-#> 1620       810     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1621       811     PHQ          Control Control - Treatment -3.201486e-01
-#> 1622       811     PHQ        Treatment Control - Treatment -3.201486e-01
-#> 1623       812     PHQ          Control Control - Treatment -8.335213e-02
-#> 1624       812     PHQ        Treatment Control - Treatment -8.335213e-02
-#> 1625       813     PHQ          Control Control - Treatment  1.660173e-01
-#> 1626       813     PHQ        Treatment Control - Treatment  1.660173e-01
-#> 1627       814     PHQ          Control Control - Treatment  7.928210e-03
-#> 1628       814     PHQ        Treatment Control - Treatment  7.928210e-03
-#> 1629       815     PHQ          Control Control - Treatment -2.008512e-01
-#> 1630       815     PHQ        Treatment Control - Treatment -2.008512e-01
-#> 1631       816     PHQ          Control Control - Treatment -8.690007e-02
-#> 1632       816     PHQ        Treatment Control - Treatment -8.690007e-02
-#> 1633       817     PHQ          Control Control - Treatment -5.226970e-02
-#> 1634       817     PHQ        Treatment Control - Treatment -5.226970e-02
-#> 1635       818     PHQ          Control Control - Treatment  0.000000e+00
-#> 1636       818     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1637       819     PHQ          Control Control - Treatment -1.001740e-01
-#> 1638       819     PHQ        Treatment Control - Treatment -1.001740e-01
-#> 1639       820     PHQ          Control Control - Treatment -1.418742e-01
-#> 1640       820     PHQ        Treatment Control - Treatment -1.418742e-01
-#> 1641       821     PHQ          Control Control - Treatment  4.896956e-02
-#> 1642       821     PHQ        Treatment Control - Treatment  4.896956e-02
-#> 1643       822     PHQ          Control Control - Treatment -1.915264e-01
-#> 1644       822     PHQ        Treatment Control - Treatment -1.915264e-01
-#> 1645       823     PHQ          Control Control - Treatment -3.757744e-01
-#> 1646       823     PHQ        Treatment Control - Treatment -3.757744e-01
-#> 1647       824     PHQ          Control Control - Treatment  0.000000e+00
-#> 1648       824     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1649       825     PHQ          Control Control - Treatment -1.226245e-01
-#> 1650       825     PHQ        Treatment Control - Treatment -1.226245e-01
-#> 1651       826     PHQ          Control Control - Treatment  0.000000e+00
-#> 1652       826     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1653       827     PHQ          Control Control - Treatment -2.230007e-01
-#> 1654       827     PHQ        Treatment Control - Treatment -2.230007e-01
-#> 1655       828     PHQ          Control Control - Treatment  0.000000e+00
-#> 1656       828     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1657       829     PHQ          Control Control - Treatment -4.215213e-02
-#> 1658       829     PHQ        Treatment Control - Treatment -4.215213e-02
-#> 1659       830     PHQ          Control Control - Treatment -1.013080e-01
-#> 1660       830     PHQ        Treatment Control - Treatment -1.013080e-01
-#> 1661       831     PHQ          Control Control - Treatment  7.292851e-02
-#> 1662       831     PHQ        Treatment Control - Treatment  7.292851e-02
-#> 1663       832     PHQ          Control Control - Treatment  0.000000e+00
-#> 1664       832     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1665       833     PHQ          Control Control - Treatment  7.106046e-02
-#> 1666       833     PHQ        Treatment Control - Treatment  7.106046e-02
-#> 1667       834     PHQ          Control Control - Treatment  6.865745e-02
-#> 1668       834     PHQ        Treatment Control - Treatment  6.865745e-02
-#> 1669       835     PHQ          Control Control - Treatment -1.653722e-02
-#> 1670       835     PHQ        Treatment Control - Treatment -1.653722e-02
-#> 1671       836     PHQ          Control Control - Treatment -1.928082e-01
-#> 1672       836     PHQ        Treatment Control - Treatment -1.928082e-01
-#> 1673       837     PHQ          Control Control - Treatment -7.598010e-02
-#> 1674       837     PHQ        Treatment Control - Treatment -7.598010e-02
-#> 1675       838     PHQ          Control Control - Treatment  8.415630e-02
-#> 1676       838     PHQ        Treatment Control - Treatment  8.415630e-02
-#> 1677       839     PHQ          Control Control - Treatment -1.385381e-01
-#> 1678       839     PHQ        Treatment Control - Treatment -1.385381e-01
-#> 1679       840     PHQ          Control Control - Treatment -1.009597e-01
-#> 1680       840     PHQ        Treatment Control - Treatment -1.009597e-01
-#> 1681       841     PHQ          Control Control - Treatment -3.361111e-01
-#> 1682       841     PHQ        Treatment Control - Treatment -3.361111e-01
-#> 1683       842     PHQ          Control Control - Treatment -1.101507e-02
-#> 1684       842     PHQ        Treatment Control - Treatment -1.101507e-02
-#> 1685       843     PHQ          Control Control - Treatment -8.323737e-02
-#> 1686       843     PHQ        Treatment Control - Treatment -8.323737e-02
-#> 1687       844     PHQ          Control Control - Treatment  0.000000e+00
-#> 1688       844     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1689       845     PHQ          Control Control - Treatment -3.584287e-02
-#> 1690       845     PHQ        Treatment Control - Treatment -3.584287e-02
-#> 1691       846     PHQ          Control Control - Treatment  8.491968e-02
-#> 1692       846     PHQ        Treatment Control - Treatment  8.491968e-02
-#> 1693       847     PHQ          Control Control - Treatment -4.678755e-02
-#> 1694       847     PHQ        Treatment Control - Treatment -4.678755e-02
-#> 1695       848     PHQ          Control Control - Treatment -2.316061e-01
-#> 1696       848     PHQ        Treatment Control - Treatment -2.316061e-01
-#> 1697       849     PHQ          Control Control - Treatment  7.529198e-02
-#> 1698       849     PHQ        Treatment Control - Treatment  7.529198e-02
-#> 1699       850     PHQ          Control Control - Treatment -1.088027e-02
-#> 1700       850     PHQ        Treatment Control - Treatment -1.088027e-02
-#> 1701       851     PHQ          Control Control - Treatment -1.556787e-02
-#> 1702       851     PHQ        Treatment Control - Treatment -1.556787e-02
-#> 1703       852     PHQ          Control Control - Treatment -6.556236e-02
-#> 1704       852     PHQ        Treatment Control - Treatment -6.556236e-02
-#> 1705       853     PHQ          Control Control - Treatment -3.365321e-02
-#> 1706       853     PHQ        Treatment Control - Treatment -3.365321e-02
-#> 1707       854     PHQ          Control Control - Treatment -5.963836e-03
-#> 1708       854     PHQ        Treatment Control - Treatment -5.963836e-03
-#> 1709       855     PHQ          Control Control - Treatment -6.382528e-02
-#> 1710       855     PHQ        Treatment Control - Treatment -6.382528e-02
-#> 1711       856     PHQ          Control Control - Treatment  4.288259e-02
-#> 1712       856     PHQ        Treatment Control - Treatment  4.288259e-02
-#> 1713       857     PHQ          Control Control - Treatment -3.996483e-02
-#> 1714       857     PHQ        Treatment Control - Treatment -3.996483e-02
-#> 1715       858     PHQ          Control Control - Treatment -9.880904e-03
-#> 1716       858     PHQ        Treatment Control - Treatment -9.880904e-03
-#> 1717       859     PHQ          Control Control - Treatment  5.574840e-02
-#> 1718       859     PHQ        Treatment Control - Treatment  5.574840e-02
-#> 1719       860     PHQ          Control Control - Treatment -4.379449e-03
-#> 1720       860     PHQ        Treatment Control - Treatment -4.379449e-03
-#> 1721       861     PHQ          Control Control - Treatment  3.366764e-02
-#> 1722       861     PHQ        Treatment Control - Treatment  3.366764e-02
-#> 1723       862     PHQ          Control Control - Treatment -1.143957e-01
-#> 1724       862     PHQ        Treatment Control - Treatment -1.143957e-01
-#> 1725       863     PHQ          Control Control - Treatment  3.028183e-01
-#> 1726       863     PHQ        Treatment Control - Treatment  3.028183e-01
-#> 1727       864     PHQ          Control Control - Treatment -1.549720e-01
-#> 1728       864     PHQ        Treatment Control - Treatment -1.549720e-01
-#> 1729       865     PHQ          Control Control - Treatment -4.083925e-01
-#> 1730       865     PHQ        Treatment Control - Treatment -4.083925e-01
-#> 1731       866     PHQ          Control Control - Treatment -1.746119e-01
-#> 1732       866     PHQ        Treatment Control - Treatment -1.746119e-01
-#> 1733       867     PHQ          Control Control - Treatment -1.085057e-02
-#> 1734       867     PHQ        Treatment Control - Treatment -1.085057e-02
-#> 1735       868     PHQ          Control Control - Treatment  0.000000e+00
-#> 1736       868     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1737       869     PHQ          Control Control - Treatment -1.468592e-01
-#> 1738       869     PHQ        Treatment Control - Treatment -1.468592e-01
-#> 1739       870     PHQ          Control Control - Treatment  1.511864e-01
-#> 1740       870     PHQ        Treatment Control - Treatment  1.511864e-01
-#> 1741       871     PHQ          Control Control - Treatment  0.000000e+00
-#> 1742       871     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1743       872     PHQ          Control Control - Treatment -1.675300e-01
-#> 1744       872     PHQ        Treatment Control - Treatment -1.675300e-01
-#> 1745       873     PHQ          Control Control - Treatment  2.223823e-02
-#> 1746       873     PHQ        Treatment Control - Treatment  2.223823e-02
-#> 1747       874     PHQ          Control Control - Treatment -1.592182e-01
-#> 1748       874     PHQ        Treatment Control - Treatment -1.592182e-01
-#> 1749       875     PHQ          Control Control - Treatment -1.217398e-01
-#> 1750       875     PHQ        Treatment Control - Treatment -1.217398e-01
-#> 1751       876     PHQ          Control Control - Treatment -9.600303e-02
-#> 1752       876     PHQ        Treatment Control - Treatment -9.600303e-02
-#> 1753       877     PHQ          Control Control - Treatment  0.000000e+00
-#> 1754       877     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1755       878     PHQ          Control Control - Treatment -1.457651e-01
-#> 1756       878     PHQ        Treatment Control - Treatment -1.457651e-01
-#> 1757       879     PHQ          Control Control - Treatment -1.061605e-01
-#> 1758       879     PHQ        Treatment Control - Treatment -1.061605e-01
-#> 1759       880     PHQ          Control Control - Treatment -1.221075e-01
-#> 1760       880     PHQ        Treatment Control - Treatment -1.221075e-01
-#> 1761       881     PHQ          Control Control - Treatment -2.955057e-03
-#> 1762       881     PHQ        Treatment Control - Treatment -2.955057e-03
-#> 1763       882     PHQ          Control Control - Treatment -3.449945e-02
-#> 1764       882     PHQ        Treatment Control - Treatment -3.449945e-02
-#> 1765       883     PHQ          Control Control - Treatment -6.609502e-02
-#> 1766       883     PHQ        Treatment Control - Treatment -6.609502e-02
-#> 1767       884     PHQ          Control Control - Treatment -4.857553e-01
-#> 1768       884     PHQ        Treatment Control - Treatment -4.857553e-01
-#> 1769       885     PHQ          Control Control - Treatment  9.054336e-02
-#> 1770       885     PHQ        Treatment Control - Treatment  9.054336e-02
-#> 1771       886     PHQ          Control Control - Treatment  7.308413e-02
-#> 1772       886     PHQ        Treatment Control - Treatment  7.308413e-02
-#> 1773       887     PHQ          Control Control - Treatment -3.987201e-02
-#> 1774       887     PHQ        Treatment Control - Treatment -3.987201e-02
-#> 1775       888     PHQ          Control Control - Treatment -1.192267e-01
-#> 1776       888     PHQ        Treatment Control - Treatment -1.192267e-01
-#> 1777       889     PHQ          Control Control - Treatment -2.397558e-01
-#> 1778       889     PHQ        Treatment Control - Treatment -2.397558e-01
-#> 1779       890     PHQ          Control Control - Treatment -2.141432e-02
-#> 1780       890     PHQ        Treatment Control - Treatment -2.141432e-02
-#> 1781       891     PHQ          Control Control - Treatment -3.084308e-01
-#> 1782       891     PHQ        Treatment Control - Treatment -3.084308e-01
-#> 1783       892     PHQ          Control Control - Treatment  0.000000e+00
-#> 1784       892     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1785       893     PHQ          Control Control - Treatment -2.375838e-01
-#> 1786       893     PHQ        Treatment Control - Treatment -2.375838e-01
-#> 1787       894     PHQ          Control Control - Treatment -7.893189e-02
-#> 1788       894     PHQ        Treatment Control - Treatment -7.893189e-02
-#> 1789       895     PHQ          Control Control - Treatment -1.921883e-01
-#> 1790       895     PHQ        Treatment Control - Treatment -1.921883e-01
-#> 1791       896     PHQ          Control Control - Treatment -6.620142e-02
-#> 1792       896     PHQ        Treatment Control - Treatment -6.620142e-02
-#> 1793       897     PHQ          Control Control - Treatment -3.818470e-02
-#> 1794       897     PHQ        Treatment Control - Treatment -3.818470e-02
-#> 1795       898     PHQ          Control Control - Treatment  0.000000e+00
-#> 1796       898     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1797       899     PHQ          Control Control - Treatment  1.592346e-02
-#> 1798       899     PHQ        Treatment Control - Treatment  1.592346e-02
-#> 1799       900     PHQ          Control Control - Treatment -2.734176e-01
-#> 1800       900     PHQ        Treatment Control - Treatment -2.734176e-01
-#> 1801       901     PHQ          Control Control - Treatment  0.000000e+00
-#> 1802       901     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1803       902     PHQ          Control Control - Treatment  0.000000e+00
-#> 1804       902     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1805       903     PHQ          Control Control - Treatment  5.302946e-02
-#> 1806       903     PHQ        Treatment Control - Treatment  5.302946e-02
-#> 1807       904     PHQ          Control Control - Treatment -3.702620e-01
-#> 1808       904     PHQ        Treatment Control - Treatment -3.702620e-01
-#> 1809       905     PHQ          Control Control - Treatment -2.634139e-02
-#> 1810       905     PHQ        Treatment Control - Treatment -2.634139e-02
-#> 1811       906     PHQ          Control Control - Treatment -1.326842e-01
-#> 1812       906     PHQ        Treatment Control - Treatment -1.326842e-01
-#> 1813       907     PHQ          Control Control - Treatment -6.960201e-04
-#> 1814       907     PHQ        Treatment Control - Treatment -6.960201e-04
-#> 1815       908     PHQ          Control Control - Treatment -1.327642e-01
-#> 1816       908     PHQ        Treatment Control - Treatment -1.327642e-01
-#> 1817       909     PHQ          Control Control - Treatment  1.068394e-01
-#> 1818       909     PHQ        Treatment Control - Treatment  1.068394e-01
-#> 1819       910     PHQ          Control Control - Treatment -1.548235e-01
-#> 1820       910     PHQ        Treatment Control - Treatment -1.548235e-01
-#> 1821       911     PHQ          Control Control - Treatment  0.000000e+00
-#> 1822       911     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1823       912     PHQ          Control Control - Treatment -1.411581e-01
-#> 1824       912     PHQ        Treatment Control - Treatment -1.411581e-01
-#> 1825       913     PHQ          Control Control - Treatment  0.000000e+00
-#> 1826       913     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1827       914     PHQ          Control Control - Treatment  3.116306e-01
-#> 1828       914     PHQ        Treatment Control - Treatment  3.116306e-01
-#> 1829       915     PHQ          Control Control - Treatment -9.074360e-02
-#> 1830       915     PHQ        Treatment Control - Treatment -9.074360e-02
-#> 1831       916     PHQ          Control Control - Treatment  0.000000e+00
-#> 1832       916     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1833       917     PHQ          Control Control - Treatment  0.000000e+00
-#> 1834       917     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1835       918     PHQ          Control Control - Treatment -9.205712e-02
-#> 1836       918     PHQ        Treatment Control - Treatment -9.205712e-02
-#> 1837       919     PHQ          Control Control - Treatment -1.165226e-01
-#> 1838       919     PHQ        Treatment Control - Treatment -1.165226e-01
-#> 1839       920     PHQ          Control Control - Treatment  1.187466e-01
-#> 1840       920     PHQ        Treatment Control - Treatment  1.187466e-01
-#> 1841       921     PHQ          Control Control - Treatment -1.270989e-02
-#> 1842       921     PHQ        Treatment Control - Treatment -1.270989e-02
-#> 1843       922     PHQ          Control Control - Treatment -2.369475e-01
-#> 1844       922     PHQ        Treatment Control - Treatment -2.369475e-01
-#> 1845       923     PHQ          Control Control - Treatment -1.035841e-01
-#> 1846       923     PHQ        Treatment Control - Treatment -1.035841e-01
-#> 1847       924     PHQ          Control Control - Treatment -9.191954e-02
-#> 1848       924     PHQ        Treatment Control - Treatment -9.191954e-02
-#> 1849       925     PHQ          Control Control - Treatment -1.569481e-01
-#> 1850       925     PHQ        Treatment Control - Treatment -1.569481e-01
-#> 1851       926     PHQ          Control Control - Treatment -9.422395e-02
-#> 1852       926     PHQ        Treatment Control - Treatment -9.422395e-02
-#> 1853       927     PHQ          Control Control - Treatment -2.836792e-02
-#> 1854       927     PHQ        Treatment Control - Treatment -2.836792e-02
-#> 1855       928     PHQ          Control Control - Treatment  0.000000e+00
-#> 1856       928     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1857       929     PHQ          Control Control - Treatment -5.639369e-02
-#> 1858       929     PHQ        Treatment Control - Treatment -5.639369e-02
-#> 1859       930     PHQ          Control Control - Treatment -3.976762e-02
-#> 1860       930     PHQ        Treatment Control - Treatment -3.976762e-02
-#> 1861       931     PHQ          Control Control - Treatment  1.966778e-03
-#> 1862       931     PHQ        Treatment Control - Treatment  1.966778e-03
-#> 1863       932     PHQ          Control Control - Treatment -2.026099e-01
-#> 1864       932     PHQ        Treatment Control - Treatment -2.026099e-01
-#> 1865       933     PHQ          Control Control - Treatment -8.875750e-02
-#> 1866       933     PHQ        Treatment Control - Treatment -8.875750e-02
-#> 1867       934     PHQ          Control Control - Treatment  0.000000e+00
-#> 1868       934     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1869       935     PHQ          Control Control - Treatment  0.000000e+00
-#> 1870       935     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1871       936     PHQ          Control Control - Treatment -3.555733e-01
-#> 1872       936     PHQ        Treatment Control - Treatment -3.555733e-01
-#> 1873       937     PHQ          Control Control - Treatment  0.000000e+00
-#> 1874       937     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1875       938     PHQ          Control Control - Treatment  1.742578e-01
-#> 1876       938     PHQ        Treatment Control - Treatment  1.742578e-01
-#> 1877       939     PHQ          Control Control - Treatment -2.739809e-01
-#> 1878       939     PHQ        Treatment Control - Treatment -2.739809e-01
-#> 1879       940     PHQ          Control Control - Treatment  2.062551e-01
-#> 1880       940     PHQ        Treatment Control - Treatment  2.062551e-01
-#> 1881       941     PHQ          Control Control - Treatment -5.617315e-02
-#> 1882       941     PHQ        Treatment Control - Treatment -5.617315e-02
-#> 1883       942     PHQ          Control Control - Treatment -5.760992e-02
-#> 1884       942     PHQ        Treatment Control - Treatment -5.760992e-02
-#> 1885       943     PHQ          Control Control - Treatment  1.129324e-02
-#> 1886       943     PHQ        Treatment Control - Treatment  1.129324e-02
-#> 1887       944     PHQ          Control Control - Treatment  2.892486e-02
-#> 1888       944     PHQ        Treatment Control - Treatment  2.892486e-02
-#> 1889       945     PHQ          Control Control - Treatment -1.174357e-01
-#> 1890       945     PHQ        Treatment Control - Treatment -1.174357e-01
-#> 1891       946     PHQ          Control Control - Treatment  9.137460e-02
-#> 1892       946     PHQ        Treatment Control - Treatment  9.137460e-02
-#> 1893       947     PHQ          Control Control - Treatment  1.089950e-01
-#> 1894       947     PHQ        Treatment Control - Treatment  1.089950e-01
-#> 1895       948     PHQ          Control Control - Treatment  4.075918e-02
-#> 1896       948     PHQ        Treatment Control - Treatment  4.075918e-02
-#> 1897       949     PHQ          Control Control - Treatment  2.542082e-02
-#> 1898       949     PHQ        Treatment Control - Treatment  2.542082e-02
-#> 1899       950     PHQ          Control Control - Treatment -1.533175e-01
-#> 1900       950     PHQ        Treatment Control - Treatment -1.533175e-01
-#> 1901       951     PHQ          Control Control - Treatment -3.898741e-01
-#> 1902       951     PHQ        Treatment Control - Treatment -3.898741e-01
-#> 1903       952     PHQ          Control Control - Treatment -2.985208e-01
-#> 1904       952     PHQ        Treatment Control - Treatment -2.985208e-01
-#> 1905       953     PHQ          Control Control - Treatment  5.807867e-02
-#> 1906       953     PHQ        Treatment Control - Treatment  5.807867e-02
-#> 1907       954     PHQ          Control Control - Treatment -9.676585e-03
-#> 1908       954     PHQ        Treatment Control - Treatment -9.676585e-03
-#> 1909       955     PHQ          Control Control - Treatment -1.190790e-01
-#> 1910       955     PHQ        Treatment Control - Treatment -1.190790e-01
-#> 1911       956     PHQ          Control Control - Treatment -1.257727e-01
-#> 1912       956     PHQ        Treatment Control - Treatment -1.257727e-01
-#> 1913       957     PHQ          Control Control - Treatment -4.846590e-02
-#> 1914       957     PHQ        Treatment Control - Treatment -4.846590e-02
-#> 1915       958     PHQ          Control Control - Treatment -1.733217e-01
-#> 1916       958     PHQ        Treatment Control - Treatment -1.733217e-01
-#> 1917       959     PHQ          Control Control - Treatment -1.457542e-01
-#> 1918       959     PHQ        Treatment Control - Treatment -1.457542e-01
-#> 1919       960     PHQ          Control Control - Treatment  1.406948e-01
-#> 1920       960     PHQ        Treatment Control - Treatment  1.406948e-01
-#> 1921       961     PHQ          Control Control - Treatment  1.252809e-01
-#> 1922       961     PHQ        Treatment Control - Treatment  1.252809e-01
-#> 1923       962     PHQ          Control Control - Treatment -4.883727e-02
-#> 1924       962     PHQ        Treatment Control - Treatment -4.883727e-02
-#> 1925       963     PHQ          Control Control - Treatment -3.010749e-01
-#> 1926       963     PHQ        Treatment Control - Treatment -3.010749e-01
-#> 1927       964     PHQ          Control Control - Treatment -6.140961e-02
-#> 1928       964     PHQ        Treatment Control - Treatment -6.140961e-02
-#> 1929       965     PHQ          Control Control - Treatment  0.000000e+00
-#> 1930       965     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1931       966     PHQ          Control Control - Treatment -9.755871e-03
-#> 1932       966     PHQ        Treatment Control - Treatment -9.755871e-03
-#> 1933       967     PHQ          Control Control - Treatment  3.020347e-01
-#> 1934       967     PHQ        Treatment Control - Treatment  3.020347e-01
-#> 1935       968     PHQ          Control Control - Treatment -1.159603e-01
-#> 1936       968     PHQ        Treatment Control - Treatment -1.159603e-01
-#> 1937       969     PHQ          Control Control - Treatment  0.000000e+00
-#> 1938       969     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1939       970     PHQ          Control Control - Treatment  0.000000e+00
-#> 1940       970     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1941       971     PHQ          Control Control - Treatment -1.211947e-01
-#> 1942       971     PHQ        Treatment Control - Treatment -1.211947e-01
-#> 1943       972     PHQ          Control Control - Treatment  9.438490e-02
-#> 1944       972     PHQ        Treatment Control - Treatment  9.438490e-02
-#> 1945       973     PHQ          Control Control - Treatment  0.000000e+00
-#> 1946       973     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1947       974     PHQ          Control Control - Treatment  7.675134e-02
-#> 1948       974     PHQ        Treatment Control - Treatment  7.675134e-02
-#> 1949       975     PHQ          Control Control - Treatment  0.000000e+00
-#> 1950       975     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1951       976     PHQ          Control Control - Treatment -8.027388e-02
-#> 1952       976     PHQ        Treatment Control - Treatment -8.027388e-02
-#> 1953       977     PHQ          Control Control - Treatment  5.687496e-02
-#> 1954       977     PHQ        Treatment Control - Treatment  5.687496e-02
-#> 1955       978     PHQ          Control Control - Treatment -1.216674e-01
-#> 1956       978     PHQ        Treatment Control - Treatment -1.216674e-01
-#> 1957       979     PHQ          Control Control - Treatment -5.007387e-02
-#> 1958       979     PHQ        Treatment Control - Treatment -5.007387e-02
-#> 1959       980     PHQ          Control Control - Treatment -3.475469e-02
-#> 1960       980     PHQ        Treatment Control - Treatment -3.475469e-02
-#> 1961       981     PHQ          Control Control - Treatment -7.349788e-02
-#> 1962       981     PHQ        Treatment Control - Treatment -7.349788e-02
-#> 1963       982     PHQ          Control Control - Treatment  1.295925e-01
-#> 1964       982     PHQ        Treatment Control - Treatment  1.295925e-01
-#> 1965       983     PHQ          Control Control - Treatment -5.067944e-02
-#> 1966       983     PHQ        Treatment Control - Treatment -5.067944e-02
-#> 1967       984     PHQ          Control Control - Treatment  0.000000e+00
-#> 1968       984     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1969       985     PHQ          Control Control - Treatment -1.618477e-01
-#> 1970       985     PHQ        Treatment Control - Treatment -1.618477e-01
-#> 1971       986     PHQ          Control Control - Treatment -3.402370e-01
-#> 1972       986     PHQ        Treatment Control - Treatment -3.402370e-01
-#> 1973       987     PHQ          Control Control - Treatment -1.353958e-01
-#> 1974       987     PHQ        Treatment Control - Treatment -1.353958e-01
-#> 1975       988     PHQ          Control Control - Treatment -2.834968e-02
-#> 1976       988     PHQ        Treatment Control - Treatment -2.834968e-02
-#> 1977       989     PHQ          Control Control - Treatment  2.783060e-02
-#> 1978       989     PHQ        Treatment Control - Treatment  2.783060e-02
-#> 1979       990     PHQ          Control Control - Treatment -1.096320e-01
-#> 1980       990     PHQ        Treatment Control - Treatment -1.096320e-01
-#> 1981       991     PHQ          Control Control - Treatment  0.000000e+00
-#> 1982       991     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1983       992     PHQ          Control Control - Treatment -1.494135e-01
-#> 1984       992     PHQ        Treatment Control - Treatment -1.494135e-01
-#> 1985       993     PHQ          Control Control - Treatment -2.259981e-02
-#> 1986       993     PHQ        Treatment Control - Treatment -2.259981e-02
-#> 1987       994     PHQ          Control Control - Treatment -5.661833e-02
-#> 1988       994     PHQ        Treatment Control - Treatment -5.661833e-02
-#> 1989       995     PHQ          Control Control - Treatment  0.000000e+00
-#> 1990       995     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1991       996     PHQ          Control Control - Treatment  0.000000e+00
-#> 1992       996     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1993       997     PHQ          Control Control - Treatment  0.000000e+00
-#> 1994       997     PHQ        Treatment Control - Treatment  0.000000e+00
-#> 1995       998     PHQ          Control Control - Treatment  1.711551e-01
-#> 1996       998     PHQ        Treatment Control - Treatment  1.711551e-01
-#> 1997       999     PHQ          Control Control - Treatment -4.478137e-02
-#> 1998       999     PHQ        Treatment Control - Treatment -4.478137e-02
-#> 1999      1000     PHQ          Control Control - Treatment -1.195082e-01
-#> 2000      1000     PHQ        Treatment Control - Treatment -1.195082e-01
+
+bootstrap(model, exper, c(direct_effect = direct_effect))$direct_effect |>
+    head(10)
+
#>    bootstrap outcome indirect_setting            contrast direct_effect
+#> 1          1     PHQ          Control Control - Treatment   -0.07762666
+#> 2          1     PHQ        Treatment Control - Treatment   -0.07762666
+#> 3          2     PHQ          Control Control - Treatment   -0.13247632
+#> 4          2     PHQ        Treatment Control - Treatment   -0.13247632
+#> 5          3     PHQ          Control Control - Treatment   -0.08455178
+#> 6          3     PHQ        Treatment Control - Treatment   -0.08455178
+#> 7          4     PHQ          Control Control - Treatment   -0.10422923
+#> 8          4     PHQ        Treatment Control - Treatment   -0.10422923
+#> 9          5     PHQ          Control Control - Treatment   -0.15210409
+#> 10         5     PHQ        Treatment Control - Treatment   -0.15210409

We can also generate synthetic nulls to calibrate selection sets. The third argument says which set of edges we want to remove under the null. In this case we will generate synthetic null data where there is known @@ -2343,7 +414,7 @@

Inference
+
 contrast <- null_contrast(model, exper, "M->Y", indirect_pathwise)
 fdr <- fdr_summary(contrast, "indirect_pathwise", 0.05)
 fdr
@@ -2360,14 +431,78 @@

Inference#> 8 synthetic PHQ ASV1 0 drop_last 8 0.375 FALSE #> 9 synthetic PHQ ASV2 0 drop_last 9 0.444 FALSE #> 10 synthetic PHQ ASV5 0 drop_last 10 0.5 FALSE

+ +
#> R version 4.4.1 (2024-06-14)
+#> Platform: aarch64-apple-darwin20
+#> Running under: macOS Sonoma 14.5
+#> 
+#> Matrix products: default
+#> BLAS:   /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRblas.0.dylib 
+#> LAPACK: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.12.0
+#> 
+#> locale:
+#> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
+#> 
+#> time zone: America/Chicago
+#> tzcode source: internal
+#> 
+#> attached base packages:
+#> [1] stats4    stats     graphics  grDevices utils     datasets  methods  
+#> [8] base     
+#> 
+#> other attached packages:
+#>  [1] ggraph_2.2.1                multimedia_0.1.0           
+#>  [3] tidyselect_1.2.1            SummarizedExperiment_1.35.1
+#>  [5] Biobase_2.65.0              GenomicRanges_1.57.1       
+#>  [7] GenomeInfoDb_1.41.1         IRanges_2.39.2             
+#>  [9] S4Vectors_0.43.2            BiocGenerics_0.51.0        
+#> [11] MatrixGenerics_1.17.0       matrixStats_1.3.0          
+#> [13] ggplot2_3.5.1               BiocStyle_2.33.1           
+#> 
+#> loaded via a namespace (and not attached):
+#>   [1] gridExtra_2.3           permute_0.9-7           rlang_1.1.4            
+#>   [4] magrittr_2.0.3          ade4_1.7-22             compiler_4.4.1         
+#>   [7] mgcv_1.9-1              systemfonts_1.1.0       vctrs_0.6.5            
+#>  [10] reshape2_1.4.4          stringr_1.5.1           shape_1.4.6.1          
+#>  [13] pkgconfig_2.0.3         crayon_1.5.3            fastmap_1.2.0          
+#>  [16] XVector_0.45.0          labeling_0.4.3          utf8_1.2.4             
+#>  [19] rmarkdown_2.28          UCSC.utils_1.1.0        glmnetUtils_1.1.9      
+#>  [22] ragg_1.3.2              purrr_1.0.2             glmnet_4.1-8           
+#>  [25] xfun_0.47               zlibbioc_1.51.1         cachem_1.1.0           
+#>  [28] jsonlite_1.8.8          biomformat_1.33.0       progress_1.2.3         
+#>  [31] highr_0.11              rhdf5filters_1.17.0     DelayedArray_0.31.11   
+#>  [34] tweenr_2.0.3            Rhdf5lib_1.27.0         parallel_4.4.1         
+#>  [37] prettyunits_1.2.0       cluster_2.1.6           R6_2.5.1               
+#>  [40] bslib_0.8.0             stringi_1.8.4           jquerylib_0.1.4        
+#>  [43] Rcpp_1.0.13             bookdown_0.40           iterators_1.0.14       
+#>  [46] knitr_1.48              Matrix_1.7-0            splines_4.4.1          
+#>  [49] igraph_2.0.3            viridis_0.6.5           abind_1.4-5            
+#>  [52] yaml_2.3.10             vegan_2.6-8             codetools_0.2-20       
+#>  [55] lattice_0.22-6          tibble_3.2.1            plyr_1.8.9             
+#>  [58] withr_3.0.1             evaluate_0.24.0         desc_1.4.3             
+#>  [61] survival_3.7-0          polyclip_1.10-7         Biostrings_2.73.1      
+#>  [64] pillar_1.9.0            BiocManager_1.30.24     phyloseq_1.49.0        
+#>  [67] foreach_1.5.2           insight_0.20.3          generics_0.1.3         
+#>  [70] hms_1.1.3               munsell_0.5.1           scales_1.3.0           
+#>  [73] glue_1.7.0              tools_4.4.1             data.table_1.16.0      
+#>  [76] graphlayouts_1.1.1      fs_1.6.4                tidygraph_1.3.1        
+#>  [79] rhdf5_2.49.0            grid_4.4.1              tidyr_1.3.1            
+#>  [82] ape_5.8                 colorspace_2.1-1        nlme_3.1-166           
+#>  [85] formula.tools_1.7.1     GenomeInfoDbData_1.2.12 ggforce_0.4.2          
+#>  [88] cli_3.6.3               textshaping_0.4.0       fansi_1.0.6            
+#>  [91] viridisLite_0.4.2       S4Arrays_1.5.7          dplyr_1.1.4            
+#>  [94] gtable_0.3.5            sass_0.4.9              digest_0.6.37          
+#>  [97] operator.tools_1.6.3    ggrepel_0.9.5           SparseArray_1.5.31     
+#> [100] farver_2.1.2            htmlwidgets_1.6.4       memoise_2.0.1          
+#> [103] htmltools_0.5.8.1       pkgdown_2.1.0           multtest_2.61.0        
+#> [106] lifecycle_1.0.4         httr_1.4.7              MASS_7.3-61

+

@@ -2375,21 +510,21 @@

Inference

-

Developed by Kris Sankaran.

+

Developed by Kris Sankaran, Hanying Jiang.

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/docs/news/index.html b/docs/news/index.html new file mode 100644 index 0000000..4e2b89b --- /dev/null +++ b/docs/news/index.html @@ -0,0 +1,98 @@ + +Changelog • multimedia + + +
+
+ + + +
+
+ + +
+ +
  • Initial CRAN submission.
  • +
+
+ + + +
+ + +
+ +
+

Site built with pkgdown 2.1.0.

+
+ +
+ + + + + + + + diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 278743e..066a6a2 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -6,4 +6,4 @@ articles: illustration: illustration.html mindfulness: mindfulness.html random: random.html -last_built: 2024-08-28T00:17Z +last_built: 2024-08-28T22:54Z diff --git a/docs/reference/bind_mediation.html b/docs/reference/bind_mediation.html index ca7dbc5..1186d85 100644 --- a/docs/reference/bind_mediation.html +++ b/docs/reference/bind_mediation.html @@ -97,7 +97,7 @@

Value

Examples

exper <- demo_joy() |>
-  mediation_data("PHQ", "treatment", starts_with("ASV"))
+    mediation_data("PHQ", "treatment", starts_with("ASV"))
 exper
 #> [Mediation Data] 
 #> 100 samples with measurements for, 
@@ -309,7 +309,7 @@ 

Examples

#> 100 Control exper <- demo_spline(tau = c(2, 1)) |> - mediation_data(starts_with("outcome"), "treatment", "mediator") + mediation_data(starts_with("outcome"), "treatment", "mediator") exper #> [Mediation Data] #> 5000 samples with measurements for, diff --git a/docs/reference/bootstrap.html b/docs/reference/bootstrap.html index f5c2dcb..850d8b8 100644 --- a/docs/reference/bootstrap.html +++ b/docs/reference/bootstrap.html @@ -115,9 +115,9 @@

Value

Examples

# example with null data
 exper <- demo_joy() |>
-  mediation_data("PHQ", "treatment", starts_with("ASV"))
+    mediation_data("PHQ", "treatment", starts_with("ASV"))
 multimedia(exper) |>
-  bootstrap(exper, B = 100)
+    bootstrap(exper, B = 100)
 #> Bootstrapping direct_effect
 #> $direct_effect
 #>     bootstrap outcome indirect_setting            contrast direct_effect
@@ -325,13 +325,16 @@ 

Examples

# example with another dataset exper <- demo_spline(n_samples = 100, tau = c(2, 1)) |> - mediation_data(starts_with("outcome"), "treatment", "mediator") + mediation_data(starts_with("outcome"), "treatment", "mediator") samples <- multimedia(exper, rf_model(num.trees = 1e3)) |> - bootstrap(exper, B = 100) + bootstrap(exper, B = 100) #> Bootstrapping direct_effect ggplot2::ggplot(samples$direct_effect) + - ggplot2::geom_histogram(ggplot2::aes(direct_effect, fill = indirect_setting), bins = 15) + - ggplot2::facet_wrap(~outcome, scales = "free") + ggplot2::geom_histogram( + ggplot2::aes(direct_effect, fill = indirect_setting), + bins = 15 + ) + + ggplot2::facet_wrap(~outcome, scales = "free")
diff --git a/docs/reference/brms_model.html b/docs/reference/brms_model.html index 79eb2a3..7332e50 100644 --- a/docs/reference/brms_model.html +++ b/docs/reference/brms_model.html @@ -1,6 +1,7 @@ -Bayesian Regression Model across Responses — brms_model • multimediaBayesian Regression Model across Responses — brms_model • multimedia @@ -69,8 +70,9 @@

Bayesian Regression Model across Responses

-

Apply a Bayesian regression model in parallel across each response $y$ in -an outcome or mediation model. This can be helpful when we want to share information across related

+

Apply a Bayesian regression model in parallel across each response $y$ in an +outcome or mediation model. This can be helpful when we want to share +information across related

@@ -98,9 +100,9 @@

See also

Examples

exper <- demo_joy() |>
-  mediation_data("PHQ", "treatment", starts_with("ASV"))
+    mediation_data("PHQ", "treatment", starts_with("ASV"))
 multimedia(exper, brms_model()) |>
-  estimate(exper)
+    estimate(exper)
 #> Compiling Stan program...
 #> Start sampling
 #> [Multimedia Analysis] 
@@ -114,9 +116,9 @@ 

Examples

# example with another dataset exper <- demo_spline(tau = c(2, 1)) |> - mediation_data(starts_with("outcome"), "treatment", "mediator") + mediation_data(starts_with("outcome"), "treatment", "mediator") fit <- multimedia(exper, brms_model()) |> - estimate(exper) + estimate(exper) #> Compiling Stan program... #> Start sampling #> Start sampling diff --git a/docs/reference/contrast_predictions.html b/docs/reference/contrast_predictions.html index 7bd7ab0..2ae88b0 100644 --- a/docs/reference/contrast_predictions.html +++ b/docs/reference/contrast_predictions.html @@ -111,9 +111,9 @@

Value

Examples

exper <- demo_joy() |>
-  mediation_data("PHQ", "treatment", starts_with("ASV"))
+    mediation_data("PHQ", "treatment", starts_with("ASV"))
 model <- multimedia(exper) |>
-  estimate(exper)
+    estimate(exper)
 t1 <- data.frame(treatment = factor("Treatment"))
 t2 <- data.frame(treatment = factor("Control"))
 profile1 <- setup_profile(model, t1, t1)
diff --git a/docs/reference/contrast_samples.html b/docs/reference/contrast_samples.html
index d77e625..23cae6f 100644
--- a/docs/reference/contrast_samples.html
+++ b/docs/reference/contrast_samples.html
@@ -113,9 +113,9 @@ 

Value

Examples

exper <- demo_joy() |>
-  mediation_data("PHQ", "treatment", starts_with("ASV"))
+    mediation_data("PHQ", "treatment", starts_with("ASV"))
 model <- multimedia(exper) |>
-  estimate(exper)
+    estimate(exper)
 t1 <- data.frame(treatment = factor("Treatment"))
 t2 <- data.frame(treatment = factor("Control"))
 profile1 <- setup_profile(model, t1, t1)
@@ -130,10 +130,13 @@ 

Examples

#> 1 -0.2344377 #> -samples <- purrr::map(seq_len(100), ~ contrast_samples(model, profile1, profile2)) -hist(sapply(samples, \(x) x[[1]]$ASV1) ) +samples <- purrr::map( + seq_len(100), + ~ contrast_samples(model, profile1, profile2) +) +hist(sapply(samples, \(x) x[[1]]$ASV1)) -hist(sapply(samples, \(x) x[[1]]$ASV2) ) +hist(sapply(samples, \(x) x[[1]]$ASV2))
diff --git a/docs/reference/direct_effect.html b/docs/reference/direct_effect.html index c5a43d5..a4dbacd 100644 --- a/docs/reference/direct_effect.html +++ b/docs/reference/direct_effect.html @@ -1,6 +1,9 @@ Direct Effects from Estimated Model — direct_effect • multimedia @@ -70,7 +73,10 @@

Direct Effects from Estimated Model

Estimate direct effects associated with a multimedia model. These estimates -are formed using Equation (10) of our preprint:

+are formed using Equation (10) of our paper. Rather than providing this +average, this function returns the estimated difference for each $j$. To +average across all j, this result can be passed to the ' effect_summary +function.

@@ -106,15 +112,6 @@

Arguments

Value

A data.frame summarizing the direct effects associated with different settings of j in the equation above.

-
-
-

Details

-

$$ -\frac{1}{2} \sum_{j = 0}^{1} \sum_{i = 1}^{N} \hat{Y}_{i}(t2, \hat{M}(t2)) - \hat{Y}_{i}(t1, \hat{M}(t1)) -$$

-

Rather than providing this average, this function returns the estimated -difference for each $j$. To average across all j, this result can be passed -to the ' effect_summary function.

See also

@@ -125,9 +122,9 @@

See also

Examples

# example with null data
 exper <- demo_joy() |>
-  mediation_data("PHQ", "treatment", starts_with("ASV"))
+    mediation_data("PHQ", "treatment", starts_with("ASV"))
 fit <- multimedia(exper) |>
-  estimate(exper)
+    estimate(exper)
 
 direct_effect(fit)
 #>   outcome indirect_setting            contrast direct_effect
@@ -144,9 +141,9 @@ 

Examples

# example with another dataset exper <- demo_spline(tau = c(2, 1)) |> - mediation_data(starts_with("outcome"), "treatment", "mediator") + mediation_data(starts_with("outcome"), "treatment", "mediator") fit <- multimedia(exper) |> - estimate(exper) + estimate(exper) direct_effect(fit) #> outcome indirect_setting contrast direct_effect #> 1 outcome_1 0 0 - 1 -1.978844 diff --git a/docs/reference/edges-multimedia-method.html b/docs/reference/edges-multimedia-method.html index 4650665..a7d5af3 100644 --- a/docs/reference/edges-multimedia-method.html +++ b/docs/reference/edges-multimedia-method.html @@ -96,9 +96,9 @@

Value

Examples

exper <- demo_joy() |>
-  mediation_data("PHQ", "treatment", starts_with("ASV"))
+    mediation_data("PHQ", "treatment", starts_with("ASV"))
 multimedia(exper) |>
-  edges()
+    edges()
 #> # A tbl_graph: 8 nodes and 17 edges
 #> #
 #> # A directed acyclic simple graph with 1 component
diff --git a/docs/reference/effect_summary.html b/docs/reference/effect_summary.html
index d3df2b8..1c5e747 100644
--- a/docs/reference/effect_summary.html
+++ b/docs/reference/effect_summary.html
@@ -101,11 +101,11 @@ 

See also

Examples

# example with null data
 exper <- demo_joy() |>
-  mediation_data("PHQ", "treatment", starts_with("ASV"))
+    mediation_data("PHQ", "treatment", starts_with("ASV"))
 multimedia(exper) |>
-  estimate(exper) |>
-  direct_effect() |>
-  effect_summary()
+    estimate(exper) |>
+    direct_effect() |>
+    effect_summary()
 #> # A tibble: 1 × 2
 #>   outcome direct_effect
 #>   <chr>           <dbl>
@@ -113,11 +113,11 @@ 

Examples

# example with another dataset exper <- demo_spline(tau = c(2, 1)) |> - mediation_data(starts_with("outcome"), "treatment", "mediator") + mediation_data(starts_with("outcome"), "treatment", "mediator") multimedia(exper) |> - estimate(exper) |> - direct_effect() |> - effect_summary() + estimate(exper) |> + direct_effect() |> + effect_summary() #> # A tibble: 2 × 2 #> outcome direct_effect #> <chr> <dbl> diff --git a/docs/reference/estimate.html b/docs/reference/estimate.html index 5c6a7ff..0b90db9 100644 --- a/docs/reference/estimate.html +++ b/docs/reference/estimate.html @@ -105,9 +105,9 @@

Value

Examples

exper <- demo_joy() |>
-  mediation_data("PHQ", "treatment", starts_with("ASV"))
+    mediation_data("PHQ", "treatment", starts_with("ASV"))
 multimedia(exper) |>
-  estimate(exper)
+    estimate(exper)
 #> [Multimedia Analysis] 
 #> Treatments: treatment 
 #> Outcomes: PHQ 
@@ -119,9 +119,9 @@ 

Examples

# example with another dataset exper <- demo_spline(tau = c(2, 1)) |> - mediation_data(starts_with("outcome"), "treatment", "mediator") + mediation_data(starts_with("outcome"), "treatment", "mediator") multimedia(exper) |> - estimate(exper) + estimate(exper) #> [Multimedia Analysis] #> Treatments: treatment #> Outcomes: outcome_1, outcome_2 @@ -133,9 +133,9 @@

Examples

# example with another model exper <- demo_spline(tau = c(2, 1)) |> - mediation_data(starts_with("outcome"), "treatment", "mediator") + mediation_data(starts_with("outcome"), "treatment", "mediator") multimedia(exper, rf_model()) |> - estimate(exper) + estimate(exper) #> [Multimedia Analysis] #> Treatments: treatment #> Outcomes: outcome_1, outcome_2 diff --git a/docs/reference/exper_df.html b/docs/reference/exper_df.html index 17f457c..f00cda4 100644 --- a/docs/reference/exper_df.html +++ b/docs/reference/exper_df.html @@ -97,7 +97,7 @@

Value

Examples

demo_joy() |>
-  multimedia:::exper_df()
+    multimedia:::exper_df()
 #>             ASV1        ASV2         ASV3        ASV4        ASV5 treatment
 #> 1   -0.782300340 -0.70354655 -3.085106383 -1.44937373 -1.52974524   Control
 #> 2    0.346099273 -0.42673424 -0.510881446 -0.09827899  0.72633032 Treatment
diff --git a/docs/reference/fdr_summary.html b/docs/reference/fdr_summary.html
index 2f37d1d..1362382 100644
--- a/docs/reference/fdr_summary.html
+++ b/docs/reference/fdr_summary.html
@@ -88,9 +88,9 @@ 

Arguments

contrast
-

A data.frame summarizing the differences between outcomes across -hypothetical treatments, typically as output by null_contrast. Each row -is one outcome in one hypothetical scenario.

+

A data.frame summarizing the differences between outcomes +across hypothetical treatments, typically as output by null_contrast. +Each row is one outcome in one hypothetical scenario.

effect
@@ -114,11 +114,11 @@

Value

Examples

# example with null data - notice synthetic data has larger effect.
 exper <- demo_joy() |>
-  mediation_data("PHQ", "treatment", starts_with("ASV"))
+    mediation_data("PHQ", "treatment", starts_with("ASV"))
 multimedia(exper) |>
-  estimate(exper) |>
-  null_contrast(exper) |>
-  fdr_summary("direct_effect")
+    estimate(exper) |>
+    null_contrast(exper) |>
+    fdr_summary("direct_effect")
 #> Fitting the nullified model...
 #> Generating synthetic data...
 #> Fitting the full model on synthetic data...
@@ -134,9 +134,9 @@ 

Examples

#> 2 real PHQ -0.0594 2 0.5 FALSE multimedia(exper) |> - estimate(exper) |> - null_contrast(exper, "M->Y", indirect_overall) |> - fdr_summary("indirect_overall") + estimate(exper) |> + null_contrast(exper, "M->Y", indirect_overall) |> + fdr_summary("indirect_overall") #> Fitting the nullified model... #> Generating synthetic data... #> Fitting the full model on synthetic data... @@ -149,11 +149,11 @@

Examples

# example with another dataset - synthetic effect is smaller. exper <- demo_spline(tau = c(2, 1)) |> - mediation_data(starts_with("outcome"), "treatment", "mediator") + mediation_data(starts_with("outcome"), "treatment", "mediator") multimedia(exper) |> - estimate(exper) |> - null_contrast(exper) |> - fdr_summary("direct_effect") + estimate(exper) |> + null_contrast(exper) |> + fdr_summary("direct_effect") #> Fitting the nullified model... #> Generating synthetic data... #> Fitting the full model on synthetic data... @@ -167,9 +167,9 @@

Examples

#> 4 synthetic outcome_2 0.0281 4 0.5 FALSE multimedia(exper) |> - estimate(exper) |> - null_contrast(exper, "M->Y", indirect_overall) |> - fdr_summary("indirect_overall") + estimate(exper) |> + null_contrast(exper, "M->Y", indirect_overall) |> + fdr_summary("indirect_overall") #> Fitting the nullified model... #> Generating synthetic data... #> Fitting the full model on synthetic data... diff --git a/docs/reference/glmnet_model.html b/docs/reference/glmnet_model.html index dc932e8..919e2bf 100644 --- a/docs/reference/glmnet_model.html +++ b/docs/reference/glmnet_model.html @@ -102,9 +102,9 @@

See also

Examples

exper <- demo_joy() |>
-  mediation_data("PHQ", "treatment", starts_with("ASV"))
+    mediation_data("PHQ", "treatment", starts_with("ASV"))
 multimedia(exper, glmnet_model(lambda = 1)) |>
-  estimate(exper)
+    estimate(exper)
 #> [Multimedia Analysis] 
 #> Treatments: treatment 
 #> Outcomes: PHQ 
@@ -115,7 +115,7 @@ 

Examples

#> outcome: A fitted glmnet_model(). multimedia(exper, glmnet_model(lambda = 1), glmnet_model()) |> - estimate(exper) + estimate(exper) #> [Multimedia Analysis] #> Treatments: treatment #> Outcomes: PHQ @@ -127,9 +127,9 @@

Examples

# example with another dataset exper <- demo_spline(tau = c(2, 1)) |> - mediation_data(starts_with("outcome"), "treatment", "mediator") + mediation_data(starts_with("outcome"), "treatment", "mediator") multimedia(exper, glmnet_model(lambda = 0.1)) |> - estimate(exper) + estimate(exper) #> [Multimedia Analysis] #> Treatments: treatment #> Outcomes: outcome_1, outcome_2 diff --git a/docs/reference/indirect_overall.html b/docs/reference/indirect_overall.html index aeb75d9..bca517f 100644 --- a/docs/reference/indirect_overall.html +++ b/docs/reference/indirect_overall.html @@ -108,19 +108,16 @@

Value

Details

Estimate direct effects associated with a multimedia model. These estimates -are formed using Equation (10) of our preprint:

-

$$ -\frac{1}{2} \sum_{j = 0}^{1} \sum_{i = 1}^{N} \hat{Y}_{i}(t2, \hat{M}(t2)) - \hat{Y}_{i}(t1, \hat{M}(t1)) -$$

+are formed using Equation (10) of our preprint.

Examples

# example with null data
 exper <- demo_joy() |>
-  mediation_data("PHQ", "treatment", starts_with("ASV"))
+    mediation_data("PHQ", "treatment", starts_with("ASV"))
 fit <- multimedia(exper) |>
-  estimate(exper)
+    estimate(exper)
 
 indirect_overall(fit)
 #>   outcome direct_setting            contrast indirect_effect
@@ -129,9 +126,9 @@ 

Examples

# example with another dataset exper <- demo_spline(tau = c(2, 1)) |> - mediation_data(starts_with("outcome"), "treatment", "mediator") + mediation_data(starts_with("outcome"), "treatment", "mediator") fit <- multimedia(exper) |> - estimate(exper) + estimate(exper) indirect_overall(fit) #> outcome direct_setting contrast indirect_effect #> 1 outcome_1 0 0 - 1 -0.5951599 diff --git a/docs/reference/indirect_pathwise.html b/docs/reference/indirect_pathwise.html index ca4d4e5..da2a489 100644 --- a/docs/reference/indirect_pathwise.html +++ b/docs/reference/indirect_pathwise.html @@ -110,9 +110,9 @@

Value

Examples

# example with null data
 exper <- demo_joy() |>
-  mediation_data("PHQ", "treatment", starts_with("ASV"))
+    mediation_data("PHQ", "treatment", starts_with("ASV"))
 fit <- multimedia(exper) |>
-  estimate(exper)
+    estimate(exper)
 indirect_pathwise(fit)
 #> Indirect effects for direct setting 1
 #> Indirect effects for direct setting 2
@@ -130,9 +130,9 @@ 

Examples

# example with another dataset exper <- demo_spline(tau = c(2, 1)) |> - mediation_data(starts_with("outcome"), "treatment", "mediator") + mediation_data(starts_with("outcome"), "treatment", "mediator") fit <- multimedia(exper) |> - estimate(exper) + estimate(exper) indirect_pathwise(fit) #> Indirect effects for direct setting 1 #> Indirect effects for direct setting 2 diff --git a/docs/reference/lnm_model.html b/docs/reference/lnm_model.html index 8f761cf..0eb3902 100644 --- a/docs/reference/lnm_model.html +++ b/docs/reference/lnm_model.html @@ -110,8 +110,8 @@

Examples

#> This procedure has not been thoroughly tested and may be unstable #> or buggy. The interface is subject to change. #> ------------------------------------------------------------ -#> Gradient evaluation took 3.7e-05 seconds -#> 1000 transitions using 10 leapfrog steps per transition would take 0.37 seconds. +#> Gradient evaluation took 6.1e-05 seconds +#> 1000 transitions using 10 leapfrog steps per transition would take 0.61 seconds. #> Adjust your expectations accordingly! #> Begin eta adaptation. #> Iteration: 1 / 250 [ 0%] (Adaptation) diff --git a/docs/reference/mediation_data.html b/docs/reference/mediation_data.html index 7ffbd08..432dc84 100644 --- a/docs/reference/mediation_data.html +++ b/docs/reference/mediation_data.html @@ -129,7 +129,9 @@

See also

Examples

# multiple outcomes, one mediator
-mediation_data(demo_spline(), starts_with("outcome"), "treatment", "mediator")
+mediation_data(
+    demo_spline(), starts_with("outcome"), "treatment", "mediator"
+)
 #> [Mediation Data] 
 #> 5000 samples with measurements for, 
 #> 1 treatment: treatment 
diff --git a/docs/reference/mediation_models.html b/docs/reference/mediation_models.html
index af63839..79775e3 100644
--- a/docs/reference/mediation_models.html
+++ b/docs/reference/mediation_models.html
@@ -91,19 +91,18 @@ 

Value

Examples

-
exper <- mediation_data(
-  mindfulness, 
-  phyloseq::taxa_names(mindfulness), 
-  "treatment", 
-  starts_with("mediator"),   
-  "subject"
+    
data(mindfulness)
+exper <- mediation_data(
+    mindfulness,
+    phyloseq::taxa_names(mindfulness),
+    "treatment",
+    starts_with("mediator"),
+    "subject"
 )
-#> Error in eval(expr, envir, enclos): object 'mindfulness' not found
 
 m <- multimedia(exper)
-#> Error in eval(expr, envir, enclos): object 'exper' not found
 mediation_models(m)
-#> Error in eval(expr, envir, enclos): object 'm' not found
+#> Error in mediation_models(m): no slot of name "mediaton" for this object of class "multimedia"
 
diff --git a/docs/reference/mediators-mediation_data-method.html b/docs/reference/mediators-mediation_data-method.html index aaa2853..d6c560f 100644 --- a/docs/reference/mediators-mediation_data-method.html +++ b/docs/reference/mediators-mediation_data-method.html @@ -86,13 +86,14 @@

Arguments

Value

-

m A data.frame whose rows are samples and columns are values of mediators across those samples.

+

m A data.frame whose rows are samples and columns are values of +mediators across those samples.

Examples

exper <- demo_joy() |>
-  mediation_data("PHQ", "treatment", starts_with("ASV"))
+    mediation_data("PHQ", "treatment", starts_with("ASV"))
 mediators(exper)
 #>            ASV1          ASV2         ASV3         ASV4        ASV5
 #> 1    0.73853614  0.0627456951 -0.668084328  0.559650807  2.35437797
diff --git a/docs/reference/mediators-multimedia-method.html b/docs/reference/mediators-multimedia-method.html
index ae952a2..d6f900f 100644
--- a/docs/reference/mediators-multimedia-method.html
+++ b/docs/reference/mediators-multimedia-method.html
@@ -98,9 +98,9 @@ 

Value

Examples

exper <- demo_joy() |>
-  mediation_data("PHQ", "treatment", starts_with("ASV"))
+    mediation_data("PHQ", "treatment", starts_with("ASV"))
 multimedia(exper) |>
-  mediators()
+    mediators()
 #> [1] "ASV1" "ASV2" "ASV3" "ASV4" "ASV5"
 
diff --git a/docs/reference/mediators-set-mediation_data-method.html b/docs/reference/mediators-set-mediation_data-method.html index ee782a3..a6e8b53 100644 --- a/docs/reference/mediators-set-mediation_data-method.html +++ b/docs/reference/mediators-set-mediation_data-method.html @@ -98,7 +98,7 @@

Value

Examples

exper <- demo_joy() |>
-  mediation_data("PHQ", "treatment", starts_with("ASV"))
+    mediation_data("PHQ", "treatment", starts_with("ASV"))
 mediators(exper) <- data.frame(m = 1:10)
 exper
 #> [Mediation Data] 
diff --git a/docs/reference/mindfulness.html b/docs/reference/mindfulness.html
index f14d494..b5c8830 100644
--- a/docs/reference/mindfulness.html
+++ b/docs/reference/mindfulness.html
@@ -89,6 +89,11 @@ 

Value

associated phylogenetic tree.

+
+

Examples

+
data(mindfulness)
+
+