Model description
The Maier mixture model (Maier et al., 2023) represents observed effects as arising from two populations: genuinely unbiased studies and publication-bias-inflated studies. The proportion of biased studies and the inflated effect mean are estimated jointly with the true effect. See Mixture model (Maier) for the full statistical rationale.
Mathematical specification
Mixture likelihood:
with the constraint (biased studies overestimate the effect).
Priors:
Stan code
data {
int<lower=1> N;
vector[N] y;
vector<lower=0>[N] se;
}
parameters {
real theta;
real<lower=0> sigma_theta;
real<lower=0> delta_b;
real<lower=0> sigma_b;
real<lower=0, upper=1> pi_b;
}
transformed parameters {
real mu_b = theta + delta_b;
}
model {
target += normal_lpdf(theta | 0, 1);
target += cauchy_lpdf(sigma_theta | 0, 0.5);
target += normal_lpdf(delta_b | 0, 0.5);
target += cauchy_lpdf(sigma_b | 0, 0.5);
target += beta_lpdf(pi_b | 1, 4);
for (i in 1:N) {
target += log_mix(
pi_b,
normal_lpdf(y[i] | mu_b, sqrt(square(sigma_b) + square(se[i]))),
normal_lpdf(y[i] | theta, sqrt(square(sigma_theta) + square(se[i])))
);
}
}
generated quantities {
real b_Intercept = theta;
real b_mu_b = mu_b;
real b_pi_b = pi_b;
}How bayesma calls this model
Parameterisation notes
-
delta_b = mu_b - thetais constrained positive, enforcing the assumption that biased studies overestimate the true effect. This eliminates one of the two label-switching modes. -
log_mix()marginalises over the latent component assignment , allowing continuous sampling. - The
Beta(1, 4)prior on encodes a prior expectation that the majority of published studies are unbiased.
Known sampling difficulties
The mixture constraint mu_b > theta removes one label-switching mode but the posterior for and can still be multimodal when the two components are not well-separated. Use adapt_delta = 0.99, inspect per-chain posteriors, and report the sensitivity to the prior on .
