Skip to content
Prev 5514 / 5636 Next

[R-meta] Assessing selection bias / multivariate meta-analysis

Dear James,

thank you so much for your detailed reply.

In fact, the negative effect size does not represent an improvement but a 
deterioration. However, I would still need to change the code for fitting 
the model as the problem of one-sided p-value and direction as described in 
your email remains. Unfortunately, I'm not sure which of your suggestions (a 
or b) I should go for. I have tried both (results below). Do you have 
further recommendations?

Best,
Pia


a)
1.
# 3PSM-bootstrap
set.seed(20240916)

system.time(
  mod_3PSM_boot <- selection_model(
  data = DatMA,
  yi = ES_all_spv$yi*-1,
  sei = sei,
  cluster = id_database,
  selection_type = "step",
  steps = .025,
  CI_type = "percentile",
  bootstrap = "multinomial",
  R = 1999
  )
)
print(mod_3PSM_boot, transf_gamma = TRUE, transf_zeta = TRUE)

  param Est SE percentile_lower percentile_upper
  beta 0.702 0.159 0.3011 1.059
  tau2 0.325 0.186 0.0893 1.756
  lambda1 0.165 0.138 0.0244 0.772


2.
# 3PSM-bootstrap
set.seed(20240916)

system.time(
  mod_3PSM_boot <- selection_model(
  data = DatMA,
  yi = ES_LOR_spv$yi*-1,
  sei = sei,
  cluster = id_database,
  selection_type = "step",
  steps = .025,
  CI_type = "percentile",
  bootstrap = "multinomial",
  R = 1999
  )
)

print(mod_3PSM_boot, transf_gamma = TRUE, transf_zeta = TRUE)
  param Est SE percentile_lower percentile_upper
  beta 0.529 0.163 -2.11e-01 0.876
  tau2 0.210 0.119 3.07e-02 0.731
  lambda1 0.157 0.144 6.00e-17 0.697




b)
1.
system.time(
  mod_3PSM_boot <- selection_model(
  data = DatMA,
  yi = ES_all_spv$yi,
  sei = sei,
  cluster = id_database,
  selection_type = "step",
  steps = .975,
  CI_type = "percentile",
  bootstrap = "multinomial",
  R = 1999
  )
)

print(mod_3PSM_boot, transf_gamma = TRUE, transf_zeta = TRUE)
param Est SE percentile_lower percentile_upper
  beta -0.702 0.159 -1.0594 -0.301
  tau2 0.325 0.186 0.0893 1.756
  lambda1 6.073 5.092 1.2949 40.908



2.
# 3PSM-bootstrap
set.seed(20240916)
## Startpunkt des Zufallszahlengenerators = wird als Seed bezeichnet.

system.time(
  mod_3PSM_boot <- selection_model(
  data = DatMA,
  yi = ES_LOR_spv$yi,
  sei = sei,
  cluster = id_database,
  selection_type = "step",
  steps = .975,
  CI_type = "percentile",
  bootstrap = "multinomial",
  R = 1999
  )
)

print(mod_3PSM_boot, transf_gamma = TRUE, transf_zeta = TRUE)
param Est SE percentile_lower percentile_upper
  beta -0.529 0.163 -0.8756 2.11e-01
  tau2 0.210 0.119 0.0307 7.31e-01
  lambda1 6.363 5.848 1.4342 3.18e+15



On So, 1 Dez 2024 10:18:05 -0600
James Pustejovsky <jepusto at gmail.com> wrote: