Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Baseline risk adjustment in multinma #35

Open
bct0022 opened this issue Apr 12, 2024 · 2 comments
Open

Baseline risk adjustment in multinma #35

bct0022 opened this issue Apr 12, 2024 · 2 comments

Comments

@bct0022
Copy link

bct0022 commented Apr 12, 2024

Hi Phillippo,

We wanted to use meta-regression with baseline risk adjustment (NICE TSD3, section 4.4, page 45) and replicate example 6 (NICE TSD3, page 74) with multinma package. To do this, we took the logit of placebo response rate for each trial (mu i) and centered by the logit of placebo response rate of all placebo arms across trials (mu bar). The centered value was plugged into the NMR as an effect modifier

ra_RE_fit <- nma(ra_net,
trt_effects = "random",
regression = ~.trt:centered_pbo_rate,
likelihood = "binomial",
class_interactions = "common",
prior_intercept = normal(scale = 100),
prior_trt = normal(scale = 100),
prior_reg= normal(scale = 10),
prior_het = half_normal(scale = 5),
prior_het_type = "sd",
warmup = 1000,
iter = 3000,
chains = 3,
seed = 12345,
adapt_delta = 0.99)

The outputs of RE model is a bit different from the results from TSD. I wonder if there is any way in multinma where we can specify baseline risk adjustment and whether our approach is appropriate. If not, do you have any plan to include it in the next package version?

Thanks,

@bct0022 bct0022 changed the title Baseline risk assessment in multinma Baseline risk adjustment in multinma Apr 12, 2024
@dmphillippo
Copy link
Owner

Hi @bct0022. The model you have fitted is not recommended: this is not regressing the model parameter $\mu_j$ on the treatment effects, but is instead regressing the observed baseline risk $\hat{p}_{j1}$. This is the approach warned against in TSD3 (p42), and discussed by Thompson et al. (1998).

To do this correctly requires a modification to the package. As it happens, this is in progress in PR #36, and hopefully will be available soon.

@yipeng18
Copy link

Is there an estimated timeline for when the baseline risk adjustment will be available in multinma package?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants