hta-pharma / maicplus

open source R package for MAIC
https://hta-pharma.github.io/maicplus/
2 stars 1 forks source link

issue with bootstrap anchored #134

Open MikeJSeo opened 1 month ago

MikeJSeo commented 1 month ago

Try adding the following code in maic_anchored.R

print("trial")
AC_bootstrap <- list(est = res_AC$est, se = sd(boot_res$t[,4]))
weighted_bucher_bootstrap <- bucher(AC_bootstrap, res_BC)
print(exp(weighted_bucher_bootstrap$ci_l))
print(exp(weighted_bucher_bootstrap$ci_u))
print("end trial")
image

We get correct confidence interval when you do this. Confidence interval is very similar to robust C.I.

gravesti commented 1 month ago

Try just using AvB point estimate