Skip to main content
Wiley Open Access Collection logoLink to Wiley Open Access Collection
. 2026 Jul 11;45(15-17):e70667. doi: 10.1002/sim.70667

Bayesian Bidirectional Mendelian Randomization Under Correlated and Uncorrelated Pleiotropy Using GWAS Summary Statistics

Siyi Chen 1,
PMCID: PMC13355236  PMID: 42433205

ABSTRACT

Mendelian randomization (MR) uses genetic variants as instruments to study causal relationships between traits. Standard unidirectional MR approaches are vulnerable to pleiotropy and typically assume that pleiotropic effects are independent of instrument strength, assumptions that may fail when causation operates in both directions. We propose BayBiMR, a Bayesian bidirectional MR framework that jointly estimates causal effects in both directions while modeling both correlated and uncorrelated pleiotropy through a hierarchical spike‐and‐slab prior on pleiotropic effects and an Inverse‐Wishart prior on the joint covariance of direct and pleiotropic SNP effects. The likelihood is based on a small‐feedback reduced‐form approximation to the underlying simultaneous‐equation model, which preserves conjugacy and enables efficient closed‐form posterior computation. Posterior inference is carried out via a blocked Gibbs sampler, and a data‐perturbation extension, BayBiMR(DP), is provided to improve empirical frequentist calibration in finite samples. Simulation studies show that BayBiMR and BayBiMR(DP) provide better type I error control than existing methods in the settings considered, particularly under correlated and mixed pleiotropy. Applications to large‐scale GWAS summary statistics on white‐matter (WM) microstructures, BMI, sleep duration, and neuroticism illustrate the method's practical utility as an exploratory and sensitivity tool.

Keywords: Bayesian bidirectional causality, blocked Gibbs sampler, correlated pleiotropy, GWAS summary statistics, Mendelian randomization, spike‐and‐slab prior

1. Introduction

Mendelian randomization (MR) is a popular approach for causal inference that utilizes genetic variants as instrumental variables (IVs) to mimic randomization in clinical trials [1]. By design, MR helps distinguish correlation from causation while identifying biases arising from confounding and reverse causation [2]. In the MR framework, genetic variants serve as IVs with validity depending on three assumptions: (i) (relevance) the instruments are associated with the exposure; (ii) (exclusion restriction) the instruments affect the outcome only through the exposure; and (iii) (independence) the instruments are not correlated with the unmeasured confounders. Violating these assumptions can lead to problematic causal estimates [3]. For example, uncorrelated pleiotropy occurs when a genetic variant affects the outcome through pathways independent of the exposure, whereas correlated pleiotropy arises when pleiotropic effects are related to the variant's effect on the exposure [4, 5].

A variety of methods have been developed to handle pleiotropy in unidirectional MR. IVW [6], MR‐Egger [3], and Weighted Median [7] provide some robustness under different assumptions about the proportion or pattern of invalid instruments, but all assume a unidirectional causal structure and are not designed for settings where causation operates in both directions.

While conventional MR assumes a unidirectional effect, many biological systems involve feedback loops, motivating bidirectional MR to test causality in both directions [2, 8, 9, 10]. However, pleiotropy can bias inference even in unidirectional MR, and these challenges are amplified in the bidirectional setting, where invalid IVs may distort estimates in both directions.

Bidirectional MR faces several challenges: instruments that are valid in one direction will fail in the other; pleiotropy can bias estimates in both directions; and shared loci associated with both traits may generate reciprocal bias. Existing approaches address these challenges only partially. Steiger filtering [8] infers the likely causal direction from SNP effect sizes but is sensitive to measurement error and does not estimate effect magnitudes. CD‐cML [10] jointly estimates bidirectional effects by penalizing invalid instruments, but does not model the covariance between direct and pleiotropic effects and therefore cannot accommodate correlated pleiotropy [9, 11], which remains particularly problematic as observed associations may reflect shared underlying etiologies rather than genuine bidirectional causality. Addressing this limitation requires new statistical methods to ensure robust inference.

To address this issue, we propose BayBiMR in this research, which is a hierarchical Bayesian framework for bidirectional MR. BayBiMR jointly estimates causal effects in both directions while explicitly modeling both uncorrelated and correlated pleiotropy, providing a unified approach that improves robustness in complex genetic architectures. By leveraging GWAS summary statistics, BayBiMR accommodates scenarios with overlapping or shared invalid IVs, offering coherent uncertainty quantification and interpretable summaries of pleiotropic effects. The key methodological contributions of BayBiMR are: (i) a four‐dimensional latent effect representation that jointly parameterizes direct and pleiotropic SNP effects for both traits within a single hierarchical model; (ii) spike‐and‐slab priors on pleiotropic effects that adaptively shrink invalid instruments toward zero while preserving sensitivity to genuine causal signals; (iii) an Inverse‐Wishart prior on the joint covariance of direct and pleiotropic effects that explicitly captures correlated pleiotropy without invoking the InSIDE assumption; and (iv) a data‐perturbation extension, BayBiMR(DP), that improves the empirical frequentist calibration of uncertainty estimates in finite samples. Through simulation studies, we demonstrate that BayBiMR achieves better control of type I error than existing methods, particularly under correlated pleiotropy. We further illustrate the utility of BayBiMR by applying it to large‐scale genomic datasets, highlighting its ability to uncover potential bidirectional causal relationships.

2. Methods

This section introduces a Bayesian hierarchical framework for bidirectional MR analysis, aimed at estimating the causal effects between two continuous traits, X and Y, while allowing for both correlated and uncorrelated pleiotropy. Posterior inference is carried out via a blocked Gibbs sampler.

2.1. Model Specification

For each SNP j=1,,p, the available data are the GWAS summary statistics (β^Xj,s^Xj) and (β^Yj,s^Yj) for traits X and Y, respectively. We also define the corresponding precisions as uXj=s^Xj2 and uYj=s^Yj2. In this framework, βXj and βYj represent the true but unobserved SNP effects on traits X and Y, whereas β^Xj and β^Yj are their estimated counterparts derived from GWAS, which are subject to sampling error.

To explicitly define the data‐generating process, we assume the individual‐level phenotypes are determined by the following structural equation model (SEM):

X=θYXY+Gα+Gδ+ϵXY=θXYX+Gη+Gγ+ϵY (1)

where G is the N×p genotype matrix, α and η are vectors of direct genetic effects on X and Y (with elements αj and ηj), δ and γ denote vectors of uncorrelated pleiotropic effects (with elements δj and γj), and ϵX,ϵY are individual‐level disturbance terms. In general, unmeasured confounders acting on both traits may induce Cov(ϵX,ϵY)0; this individual‐level dependence is absorbed at the SNP level through the joint covariance Σ4 of the latent effects (see below), while the two‐sample design of our likelihood ensures that sampling errors in the GWAS estimates remain independent across cohorts (see the comment following Equation (4)). To jointly capture these effects, we introduce a four‐dimensional latent vector for each SNP, Lj=(αj,γj,ηj,δj), where θXY and θYX act on the direct effects αj and ηj to encode the mediated causal pathways between the traits.

We emphasize that, as written in Equation (1), the per‐SNP coefficients αj and δj enter the X‐equation symmetrically, and similarly ηj and γj enter the Y‐equation symmetrically. Without further structure they would be unidentified and could be merged into a single coefficient αj+δj on the X side (and ηj+γj on the Y side). What separates them in our framework is the prior structure rather than the form of Equation (1): αj and ηj are modeled with a dense multivariate Gaussian slab through Lj (reflecting the prior belief that valid instruments typically carry non‐negligible direct effects on their target trait), whereas δj and γj are modeled with a spike‐and‐slab prior through the indicators wj and zj (reflecting the prior belief that pleiotropic effects on the nontarget trait are sparse). Posterior inference therefore partitions each variant into one of two regimes: typical‐magnitude contributions to the X‐ or Y‐coefficient are absorbed by αj or ηj, while sparse, additional pleiotropic contributions are absorbed by δj or γj. Identifiability of the pair (α,δ) (and symmetrically (η,γ)) thus follows from the contrast between the dense slab and the sparse spike‐and‐slab, not from Equation (1) alone.

The reduced‐form coefficients βXj and βYj cannot be obtained by simple substitution into Equation (1), because the two equations form a simultaneous system with feedback. Writing (1) in matrix form,

XY=0θYXθXY0XY+G(α+δ)+ϵXG(η+γ)+ϵY,

and solving the linear system under |θXYθYX|<1 (so that IΘ is invertible with determinant Δ=1θXYθYX) gives the exact per‐SNP reduced‐form coefficients

βXjexact=αj+δj+θYX(ηj+γj)1θXYθYX,βYjexact=ηj+γj+θXY(αj+δj)1θXYθYX. (2)

Equation (2) makes the symmetric roles of (αj,δj) and (ηj,γj) explicit, and shows that, through the feedback loop, γj contributes to βXj (and δj to βYj) via the cross‐trait effect.

In the small‐feedback regime |θXYθYX|1, which covers the bulk of biological MR settings (at least one direction is typically modest or null), 1/(1θXYθYX)1 and the second‐order cross‐pleiotropy terms θYXγj and θXYδj are dominated by the first‐order terms. Equation (2) then reduces to the working decomposition we use in the likelihood:

βXj=αjDirect+θYXηjCausal+δjUncorrelated pleiotropy,βYj=ηjDirect+θXYαjCausal+γjUncorrelated pleiotropy. (3)

In this approximation, the dropped cross‐pleiotropy terms (i.e., θYXγj and θXYδj) are absorbed into the spike‐and‐slab priors on δj and γj, so that the operative meaning of these coefficients in the working model is “pleiotropic effect on the nontarget trait, possibly inflated by a second‐order feedback contribution.” Equation (3) is therefore the small‐feedback approximation to the exact reduced form (2), and is the form used throughout the rest of Section 2. We adopt this approximation because (i) it preserves linearity in the latent effects and yields closed‐form Gibbs updates for (θXY,θYX) and Lj, and (ii) the dominant scientific regime of interest in two‐sample MR has |θXYθYX| well below unity. The implications of this approximation are discussed further in Section 5.

Conditional on the latent effects, the observed associations (β^Xj,β^Yj) are modeled as independent bivariate normal draws across the SNPs:

β^Xjβ^Yj|Lj,θXY,θYX𝒩2αj+θYXηj+δjηj+θXYαj+γj,s^Xj200s^Yj2. (4)

The diagonal sampling covariance in Equation (4) reflects the two‐sample design adopted throughout this work: β^Xj and β^Yj are obtained from two nonoverlapping GWAS cohorts (see Section 3 and the real‐data harmonization in Section 4), so their sampling errors are independent across cohorts regardless of whether ϵX and ϵY are correlated at the individual level. Any individual‐level confounding between ϵX and ϵY is propagated into the latent‐effect covariance Σ4 (Section 2.2) rather than into the sampling‐error covariance. In a single‐sample design with overlapping cohorts, Equation (4) would need to be extended to include an off‐diagonal sampling covariance reflecting the shared individuals; this extension is outside the scope of the present paper.

This formulation is symmetric with respect to X and Y and explicitly separates distinct sources of genetic effect. To accommodate the empirical observation that pleiotropy is often sparse, we apply spike‐and‐slab priors to γj and δj through binary indicators zj and wj:

γj=0ifzj=0,δj=0ifwj=0,zjBernoulli(πg),wjBernoulli(πd). (5)

To further address correlated pleiotropy, we allow

Cov(αj,γj)0andCov(ηj,δj)0,

which relaxes the InSIDE assumption [12], similar to the approach taken by [13] in modeling correlated pleiotropy.

This hierarchical approach separates direct, mediated, and pleiotropic components of SNP‐trait associations while accounting for sampling uncertainty. By combining a bivariate likelihood with a sparsity‐inducing prior on pleiotropy, it learns which variants act pleiotropically versus causally, yielding clear posterior estimates of bidirectional effects and properly handling invalid instruments.

2.2. Priors and Likelihood

To regularize inference on the bidirectional causal parameters, we assign independent zero‐mean Gaussian priors, which shrink estimates toward the null while allowing data‐driven departures:

θXY,θYX𝒩(0,τθ2).

The inclusion probabilities in Equation (5) for uncorrelated horizontal pleiotropy are modeled with conjugate Beta priors, reflecting uncertainty about the proportion of variants with nonzero pleiotropic effects:

πg,πdBeta(aπ,bπ).

Each SNP's latent genetic‐effect vector Lj is modeled with a multivariate Gaussian slab prior, which is hierarchical:

Lj𝒩4(0,Σ4),Σ4𝒲(ν0,S0).

In our implementation, we set τθ=0.3 in the Gaussian priors for the causal parameters θXY and θYX, providing moderate shrinkage toward zero while allowing the data to identify non‐negligible causal effects. For the pleiotropic inclusion probabilities, we used Beta priors with (aπ,bπ)=(1,19), which induce a sparse prior structure with prior mean 0.05 while permitting the data to increase inclusion probabilities when supported by the evidence. For the covariance of the latent SNP effects, we specified an Inverse‐Wishart prior Σ4𝒲(ν0,S0) with ν0=6 and S0=0.05I4, ensuring positive definiteness while providing a diffuse baseline scale for the four‐dimensional latent effect vector.

The 4×4 covariance matrix Σ4 is crucial, as its off‐diagonal elements capture dependencies between the different genetic effects. Specifically, the covariances Cov(αj,γj)=Σ12 and Cov(ηj,δj)=Σ34 directly model the correlated pleiotropy. If these terms are nonzero, it indicates a systematic relationship between a SNP's instrument strength and its pleiotropic effect. More generally, Σ4 can be written as

Σ4=Σ11Σ12Σ13Σ14Σ12Σ22Σ23Σ24Σ13Σ23Σ33Σ34Σ14Σ24Σ34Σ44,

where the diagonal entries represent the marginal variances of the direct and pleiotropic effects (αj,γj,ηj,δj), while the off‐diagonal entries capture all pairwise covariances. Thus, in addition to Σ12 and Σ34, the model can also estimate cross‐trait correlations such as Σ13=Cov(αj,ηj), which reflect the correlation between instrument strengths for X and Y, and Σ14,Σ23,Σ24, which reflect more complex cross‐dependencies. In particular, when individual‐level confounders inject dependence between ϵX and ϵY in Equation (1), the corresponding SNP‐level signature is absorbed into the off‐diagonals of Σ4 rather than into the sampling‐error covariance. Σ4 is unknown and can be estimated from the data, providing a flexible way to model correlated pleiotropy and instrument strength heterogeneity across SNPs.

Conditional on the latent vectors and causal parameters, the full likelihood for the observed data factorizes across all p SNPs:

{β^Xj,β^Yj}j=1p|Θ,Ψ=j=1p𝒩β^Xj|αj+θYXηj+δj,s^Xj2𝒩β^Yj|ηj+θXYαj+γj,s^Yj2, (6)

where Θ={θXY,θYX} are the causal parameters and Ψ={Lj}j=1p collect the latent effects.

2.3. Posterior Computation

We estimated the joint posterior distribution of all unknown quantities using a blocked Gibbs sampling scheme. The parameter set comprised the bidirectional causal effects Θ={θXY,θYX}, the pleiotropy parameters Φ={πg,πd,Σ4}, the binary inclusion indicators Z={zj,wj}j=1p, and the latent SNP‐level effect vectors Ψ={Lj}j=1p. The joint posterior density factorized as

p(Θ,Φ,Z,Ψ|·)({β^Xj,β^Yj}|Θ,Ψ)p(Ψ|Z,Σ4)p(Z|πg,πd)p(Θ)p(Φ), (7)

combining the likelihood of the observed GWAS summary statistics with the priors on latent effects, indicators, and hyperparameters.

2.3.1. Causal Effects

Updates for the causal parameters θXY and θYX followed directly from the normal form of Bayesian linear regression, yielding closed‐form posterior distributions:

θXY|𝒩j=1puYjαjβ^Yjηjγjj=1puYjαj2+τθ2,j=1puYjαj2+τθ21,θYX|𝒩j=1puXjηjβ^Xjαjδjj=1puXjηj2+τθ2,j=1puXjηj2+τθ21. (8)

2.3.2. Latent Vectors

For each SNP j, the full conditional for Lj is a multivariate normal distribution, Lj|𝒩(μj,Precj1). The posterior precision matrix is Precj=J4+Qj, where J4=Σ41 is the prior precision and Qj is the precision contribution from the likelihood. The posterior mean is μj=Precj1hj. The terms Qj and hj can be expressed compactly as

Qj=uXjaXaX+uYjaYaY,hj=uXjβ^XjaX+uYjβ^YjaY,

where the vectors aX and aY encode the linear structure of the model means:

aX=10θYX1,aY=θXY110.

If zj=0 or wj=0, the corresponding elements are removed from Lj, and the update proceeds using the relevant sub‐matrices of Precj and hj.

2.3.3. Hyperparameters

The remaining updates follow standard conjugate forms. The inclusion indicators zj,wj are updated from Bernoulli distributions where the probabilities are proportional to the marginal likelihood of the data under each state. The slab covariance Σ4 and sparsity probabilities πg,πd are updated from their Inverse‐Wishart and Beta conjugate posteriors, respectively. Because γj and δj are set to zero under the spike component, the latent vector Lj has structural zeros at inactive coordinates. In our implementation, the Inverse‐Wishart update accumulates outer products LjLj across SNPs with at least one active pleiotropic component (zj+wj>0), which has the effect of contributing information only to the active blocks of Σ4 at each iteration. The full closed‐form conditional, with explicit selector‐matrix notation, is given in Supplemental Notes S1. The update can be written as

Σ4|𝒲ν0+nact,S0+j:zj+wj>0LjLj,

where Lj=(αj,γj,ηj,δj) is evaluated with γj=0 when zj=0 and δj=0 when wj=0 (so the scatter matrix has zero contributions on inactive coordinates by construction), and nact=j1{zj+wj>0} counts SNPs with at least one active pleiotropic component. Only SNPs with zj+wj>0 contribute to the update in our implementation; SNPs with zj=wj=0 are not used to refresh Σ4 at the current iteration. This is a deliberate choice that ties the covariance update to the population of variants currently exhibiting active pleiotropy, and is the behavior implemented in the publicly available BayBiMR R/C++ code. The Beta updates take the standard conjugate form,

πg|Betaaπ+jzj,bπ+pjzj,πd|Betaaπ+jwj,bπ+pjwj.

This blocked Gibbs sampler alternated between causal parameters, latent effects, and hyperparameters, allowing full posterior inference under the hierarchical model.

2.3.4. Sensitivity to Hyperparameters

Because information accumulates across many SNPs, posterior inference is primarily driven by the likelihood rather than the prior specification. For example, the conditional posterior precision of θXY is j=1puYjαj2+τθ2, where αj denotes the latent direct effect of SNP j on trait X (the first component of Lj). Provided the prior on Lj assigns positive mass to nonzero αj values, the expected value of j=1puYjαj2 grows with p, so the likelihood precision dominates the fixed prior precision τθ2 as the number of variants increases. Consequently, inference for θXY and θYX becomes largely insensitive to moderate changes in τθ.

A similar argument applies to the remaining hyperparameters. The posterior distributions of πg and πd depend on counts of order p, so the Beta hyperparameters (aπ,bπ) contribute only O(1) pseudo‐counts relative to the O(p) information from the data. Likewise, the covariance update

Σ4|𝒲ν0+nact,S0+S˜L,S˜L=j:zj+wj>0LjLj,

is dominated by the empirical scatter matrix S˜L when the number of active SNPs nact is large relative to ν0, reducing the influence of the prior scale S0. Overall, posterior estimates are therefore stable under moderate changes in the hyperparameter values when p is reasonably large and the active‐SNP count nact is not too small.

2.4. Posterior Inference and Implementation

The joint posterior distribution is approximated using a blocked Gibbs sampler that iteratively updates each parameter block from its full conditional distribution (Algorithm 1). This procedure generates samples from which the marginal posterior distributions of all unknowns can be approximated. Inference on the bidirectional causal effects (θXY,θYX) is based on their marginal posteriors, typically summarized by posterior means and 95% credible intervals. Variant‐level inference is obtained from posterior inclusion probabilities (PIPs). These probabilities quantify the evidence that SNP j has a direct pleiotropic effect. The posterior distribution of the covariance matrix Σ4 further characterizes correlated pleiotropy. All analyses were implemented in R, with core computational routines written in C++ using the Rcpp and RcppArmadillo packages to improve computational efficiency [14, 15].

ALGORITHM 1. Gibbs sampler for the BayBiMR bi‐directional model.

ALGORITHM 1

Additional details are provided in the Supporting Information. Supplemental Notes S1 presents the full model specification, notation, and derivations of all Gibbs updates, including selector matrices for active coordinates and closed‐form conditionals for Θ, Lj, Σ4 and the inclusion indicators.

Remark 1

(Robustness to pleiotropy) By jointly updating latent genetic effects and their inclusion indicators, the Gibbs sampler separates pleiotropic from mediated causal components. This structure permits valid posterior inference for θXY and θYX even under violations of the InSIDE assumption. The posterior distribution of the slab covariance matrix Σ4 offers a direct summary of correlated pleiotropy: off‐diagonal elements that shrink toward zero indicate weak correlation, whereas substantial departures from zero signal stronger violations of instrument independence.

2.5. Posterior Propriety and Regularization

The hierarchical model defined in Sections 2.1, 2.2 combines proper priors with a likelihood based on the small‐feedback reduced‐form approximation. Under this specification, the joint posterior is well defined, and the full conditionals of the causal parameters are nondegenerate normal distributions whenever the latent instrument‐strength components are not all zero. We state this as a propriety and regularization result rather than as a likelihood identifiability theorem, because the working likelihood does not in itself separate the causal and pleiotropic contributions to β^Xj and β^Yj: changes in θXYαj can be partially absorbed by γj, and likewise for the reverse direction. The separation of causal from pleiotropic effects in BayBiMR is therefore model‐assisted, achieved through the contrast between the dense Gaussian slab on (αj,ηj) and the sparse spike‐and‐slab prior on (δj,γj), rather than purely identified from the marginal summary statistics.

Theorem 1

(Posterior propriety and nondegenerate conditional updates) Suppose (i) s^Xj,s^Yj>0 for all j;(ii) the slab prior on Lj has positive variance and assigns positive prior probability to {αj0} for at least one j and to {ηj0} for at least one j;(iii) the priors on (θXY,θYX) are proper Gaussians, and those on (πg,πd,Σ4) are proper with finite moments. Then the joint posterior distribution under the working likelihood is proper, and the full conditional distributions of θXY and θYX are nondegenerate normal distributions whenever the latent instrument‐strength components are not all zero.

Conditional on {Lj}, the log‐likelihood for (θXY,θYX) decomposes as a sum over SNPs. Because θXY enters only the Y‐likelihood and θYX enters only the X‐likelihood, the two parameters are conditionally independent given {Lj}, and the conditional Fisher information is block‐diagonal:

I(θXY,θYX|L)=juYjαj200juXjηj2,uXj=s^Xj2,uYj=s^Yj2.

Under assumption (ii), the slab prior assigns positive probability to {αj0} for at least one j and the slab variance is positive, so 𝔼[uYjαj2]>0 for that j; hence, juYjαj2>0 with positive prior probability. The same argument applies to juXjηj2. Therefore I is almost surely positive definite, and together with the proper Gaussian priors on (θXY,θYX), the conditional posteriors are nondegenerate Gaussians:

θXY|{Lj},𝒩BXYAXY,AXY1,θYX|{Lj},𝒩BYXAYX,AYX1,

where AXY=juYjαj2+τθ2>0, BXY=juYjαj(β^Yjηjγj), and AYX, BYX are defined symmetrically. Because the priors on (πg,πd,Σ4) are proper with finite moments and the slab prior on Lj is proper, the joint posterior integrates to a finite normalizing constant [16], completing the proof.

Remark 2

(Model‐assisted separation of causal and pleiotropic effects) Theorem 1 should not be interpreted as likelihood identifiability of the causal and pleiotropic components. Under the working likelihood, the causal contribution θXYαj and the pleiotropic contribution γj enter β^Yj additively, so they can trade off on a per‐SNP basis. Separation is achieved across SNPs through the prior structure: αj is treated as a dense, typically non‐negligible direct effect, whereas γj is treated as sparse via the spike‐and‐slab prior. Posterior conclusions about θXY and θYX therefore depend on the sparse‐pleiotropy assumption being approximately satisfied. Sensitivity to this assumption is explored empirically in Section 3.

Remark 3

(Posterior consistency) As the number of variants p increases and the direct effects {αj,ηj} remain bounded away from degeneracy, the information terms juYjαj2 and juXjηj2 diverge to infinity. Under these conditions, the posterior variance of (θXY,θYX) vanishes, so the posterior mass concentrates around the population values that minimize the working‐model Kullback–Leibler divergence to the true data‐generating distribution [17]. Under correct model specification and approximately sparse pleiotropy, these limits coincide with the true causal parameters; in general, however, the limiting values reflect the regularization induced by the prior as well as any model misspecification.

2.6. Data Perturbation (DP) via Jittered‐Summary Resampling

When GWAS sample sizes are modest and weak or invalid instruments are common, the selection properties of BayBiMR may not fully hold, allowing some pleiotropic variants to escape detection and bias the estimated effects. To help guard against this, we applied a data‐perturbation scheme inspired by parametric resampling following [18, 19]. Rather than resampling from a fitted model in the strict sense of a parametric bootstrap, this scheme jitters the observed summary statistics using independent Gaussian noise calibrated to the reported standard errors, and re‐fits BayBiMR on each perturbed dataset. This procedure relies on the assumption that GWAS summary statistics are approximately normally distributed, with the reported standard errors treated as the true noise standard deviations. By repeatedly generating pseudo‐datasets and re‐estimating the causal effects with the full BayBiMR model, we can assess the stability of the results. This provides a practical, approximate frequentist view of the uncertainty arising from sampling variation in the summary statistics.

For each replicate b=1,,B, perturbed statistics are generated as

β^Xj(b)=β^Xj+ϵXj,ϵXj𝒩(0,s^Xj2),
β^Yj(b)=β^Yj+ϵYj,ϵYj𝒩(0,s^Yj2),

where (β^Xj,s^Xj) and (β^Yj,s^Yj) are the observed marginal estimates and reported standard errors in GWAS summary statistics.

Each perturbed dataset {(β^Xj(b),β^Yj(b))}j=1p is then analyzed with the same MCMC sampler as the original data, producing point estimates θ^XY(b) and θ^YX(b) for that replicate. Although the DP procedure requires running the Gibbs sampler B times, the computation remains efficient due to the C++ implementation. The complexity of the Gibbs sampler is O(pT), where p denotes the number of SNPs and T the number of MCMC iterations. In a typical setting with p=50 SNPs and T=2000 iterations, a single BayBiMR run takes approximately 0.04 s, while BayBiMR(DP) with B=100 perturbations requires about 3.5 s in total. All computations were performed on a MacBook Pro with an Apple M3 Max chip and 36 GB RAM. From the B bootstrap replicates, the averages are given by

θXY=1Bb=1Bθ^XY(b),θYX=1Bb=1Bθ^YX(b),

which are used as alternative point estimates. The empirical standard deviations across replicates serve as frequentist standard error estimates,

sd^(θXY)=1B1b=1Bθ^XY(b)θXY21/2,

with an analogous expression for θYX. Equal‐tailed percentile intervals are given by the 2.5% and 97.5% quantiles of the bootstrap distribution.

2.7. Asymptotic Properties of the DP Estimators

Let {θ^(b)}b=1B denote data‐perturbation replicates of an estimator θ^ for a causal effect parameter θ{θXY,θYX}, generated by the DP scheme described above. Conditional on the observed data, these replicates are independent draws from the perturbation distribution P, which treats the observed GWAS summary statistics and their reported standard errors as the data‐generating mechanism.

Two limiting arguments support the use of P to approximate sampling variability. As B, the empirical mean and variance of the replicates converge almost surely to their population counterparts under P by the strong law of large numbers, so that Monte Carlo error in the DP summaries vanishes with sufficient replicates. As the original GWAS sample size n, under regularity conditions, and when the perturbation law adequately approximates the local sampling distribution of the summary statistics, standard resampling theory [20] suggests that the empirical distribution of the perturbed estimates provides a practical approximation to frequentist uncertainty, provided θ^ is a sufficiently regular function of the summary statistics. We emphasize that this is an approximation argument rather than a formal consistency result: the DP scheme does not resample from a fitted model in the strict parametric‐bootstrap sense, and formal calibration guarantees would require additional conditions on instrument validity, model correctness, and the alignment of the perturbation law with the true sampling distribution. The simulation studies in Section 3 indicate that the DP scheme improves empirical frequentist calibration of BayBiMR in the settings considered, but it should not be interpreted as ensuring calibration in general.

3. Simulation Studies

We study finite‐sample performance under a bidirectional SEM that allows both uncorrelated and correlated pleiotropy. Each replication generates individual‐level data, constructs two nonoverlapping GWAS samples, forms two‐sample summary statistics, and evaluates competing methods on type I error and power.

Although BayBiMR is a Bayesian framework, we primarily evaluate its performance using frequentist metrics (Type I error and Power) to facilitate a direct and fair comparison with established frequentist methods such as IVW, MR‐Egger, and CD‐cML. Bayesian coverage probabilities are reported in the Supporting Information (Tables S1–S4) to assess the calibration of the credible intervals.

In all simulations, the Gibbs sampler was run for 4000 iterations, with the first 1500 discarded as burn‐in. The remaining chain was thinned by a factor of 2 to reduce autocorrelation.

3.1. Data‐Generating Mechanism

We generated data under a bidirectional structural equation model (SEM) with explicit instrument and pleiotropic SNP sets. In total, p=pX+pY+pU SNPs were divided into instruments for X (GX), instruments for Y (GY), and pleiotropic variants (GU), with typical configurations such as (pX,pY,pU){(5,5,5),(5,5,10)}. Genotypes were simulated independently as GijBin(2,0.3) with a minor allele frequency (MAF) of 0.3. Direct genetic effects were assigned random magnitudes in (0.2,0.3) and random signs drawn from independent Rademacher variables, sk,t,umRademacher(±1):

αkUnif(0.2,0.3)·sk,k=1,,pX,ηUnif(0.2,0.3)·t,=1,,pY,cm,dmUnif(0.2,0.3)·um,m=1,,pU.

Here αk and η denote the direct genetic effect magnitudes for GX and GY instruments (consistent with the model notation in Section 2), and cm and dm denote the simulation‐level pleiotropic effect magnitudes for GU SNPs (distinct from the model parameters γj and δj). This specification yields two sets of valid instruments and a third set of SNPs with pleiotropic effects on both traits, mimicking realistic scenarios of pleiotropy in GWAS‐based MR studies.

Correlated pleiotropy was introduced by making the pleiotropic effects on the GU SNPs depend on a SNP‐specific weight ξmUnif(0.3,0.3) for m=1,,pU. Specifically, for SNPs in GU we set the per‐SNP pleiotropic effects so that γm is correlated with the direct effect magnitude cm and δm is correlated with dm through ξm. This produces SNP‐level dependence between instrument‐strength components and pleiotropic components on GU, which is precisely the structure that the off‐diagonal entries of Σ4 are designed to capture. Phenotypes were generated under the bidirectional structural equation model

X=θYXY+GXα+GUδ+εX,Y=θXYX+GYη+GUγ+εY,

where α and η represent the vectors of direct SNP effects on X and Y (consistent with the model notation in Section 2), and δ and γ correspond to pleiotropic effects (uncorrelated when generated independently of ξm; correlated with instrument‐strength components when generated as described above). In the simulation, direct effects are nonzero only for their designated instrument groups (GX for α, GY for η), while pleiotropic effects are nonzero only for GU. Error terms were independently distributed as εX,εY𝒩(0,1). In matrix form,

XY=0θYXθXY0XY+GXα+GUδ+εXGYη+GUγ+εY.

Solving this system yields the reduced‐form expressions:

X=(GXα+GUδ+εX)+θYX(GYη+GUγ+εY)1θXYθYX,Y=(GYη+GUγ+εY)+θXY(GXα+GUδ+εX)1θXYθYX.

The denominator 1θXYθYX captures the feedback between X and Y; when |θXYθYX|<1, the reduced‐form solutions are well defined. We note that these simulation reduced‐form expressions agree with the exact reduced form in Equation (2), and that the inference procedure based on the small‐feedback approximation (3) is evaluated against data generated from this exact reduced form. The simulation settings reported in Section 3 use |θXYθYX|0.04, so the approximation factor 1/(1θXYθYX) is within 5% of unity throughout.

3.2. GWAS Summary Statistics Generation

For each replication, 2n individuals are sampled and split into two independent cohorts of size n. In the first sample, we regress X on each SNP to obtain (β^Xj,s^Xj). In the second sample, we regress Y on each SNP to obtain (β^Yj,s^Yj). These marginal estimates serve as input summary statistics for all methods in both directions.

3.3. Methods and Evaluation

We compared BayBiMR, BayBiMR(DP) (with B=100 data perturbations), IVW, MR‐Egger, Weighted Median, CD‐cML [10], and an oracle two‐stage estimator. The oracle estimator uses the true valid SNP sets (GX for XY and GY for YX). Because SNPs are generated independently in the simulations, linkage disequilibrium (LD) is absent and does not affect inference. The oracle, therefore, represents an approximate upper bound on achievable performance under perfect knowledge of valid instruments. For fair comparisons across competing methods, we used the DP version of CD‐cML to obtain uncertainty estimates. For the proposed method, BayBiMR(DP) applies DP to account for the additional post‐selection uncertainty introduced by the spike‐and‐slab prior.

For each method and causal direction, type I error and empirical power were defined as the proportions of replicates excluding zero from the 95% interval at α=0.05 using Bayesian credible intervals for BayBiMR and Wald‐type confidence intervals for all others. Although BayBiMR is formulated within a Bayesian framework, evaluating its frequentist operating characteristics under repeated sampling is standard practice for assessing calibration and enabling direct comparison with existing MR methods.

3.4. Power and Type I Error Across Effect Settings

We first considered scenarios with no causal effect from X to Y (θXY=0) and varied the true effect of Y on X over {0,0.05,0.10,0.20} with n=10000 per GWAS. We also set the number of pleiotropic variants to be (pX,pY,pU)=(5,5,5). In this case, the XY direction represents a null setting for assessing type‐I error, while the YX direction allows us to study power as the effect increases. Results are presented in Table 1 and Figure 1. As expected, the oracle estimator provides the theoretical upper bound of performance. BayBiMR and BayBiMR(DP) closely track the oracle in type I error control for XY, while showing marked power gains for YX. In contrast, CD‐cML and Weighted Median achieve higher power at the cost of inflated error rates, and both IVW and MR‐Egger demonstrate liberal tendencies when pleiotropic effects are present.

TABLE 1.

Empirical type‐I error for XY (with θXY=0) and power for YX across θYX{0,0.05,0.10,0.20}, based on n=10000 per GWAS. Reported values are rejection probabilities at the α=0.05 level.

Method
XY
YX
0
0.05
0.10
0.20
0
0.05
0.10
0.20
BayBiMR 0.082 0.082 0.084 0.082 0.078 0.138 0.402 0.832
BayBiMR(DP) 0.044 0.058 0.054 0.056 0.064 0.110 0.332 0.768
IVW 0.092 0.134 0.182 0.312 0.092 0.132 0.178 0.308
MR‐Egger 0.168 0.106 0.114 0.150 0.192 0.216 0.252 0.298
Weighted Median 0.288 0.338 0.386 0.456 0.322 0.420 0.568 0.872
CD‐cML 0.120 0.104 0.102 0.098 0.112 0.174 0.370 0.714
Oracle 0.046 0.046 0.044 0.044 0.080 0.222 0.518 0.932

FIGURE 1.

FIGURE 1

Simulation results under independent SNPs (n=10000 per GWAS; pX=pY=pU=5) showing empirical type I error for the null XY direction (θXY=0) and empirical power for the YX direction as the true effect θYX increases over {0,0.05,0.10,0.20}.

We then fixed θXY=0.2 to represent a nonzero effect from X to Y, while again varying θYX with the same sample size. Here, the XY direction allows us to study power, and the YX direction once more reflects type‐I error (or power when nonzero). As shown in Table 2 and Figure 2, BayBiMR and BayBiMR(DP) deliver high power for XY while controlling errors in the reverse direction. Weighted Median and CD‐cML also perform strongly in terms of power, though with inflated error, whereas IVW and MR‐Egger remain less competitive under pleiotropy. Oracle again sets the upper bound in both directions.

TABLE 2.

Power for XY with θXY=0.2 and type‐I error/power for YX across θYX, based on n=10000 per GWAS. Reported values are rejection probabilities at the α=0.05 level.

Method
XY
YX
0
0.05
0.10
0.20
0
0.05
0.10
0.20
BayBiMR 0.842 0.842 0.846 0.852 0.086 0.166 0.416 0.842
BayBiMR(DP) 0.762 0.758 0.764 0.764 0.048 0.114 0.316 0.750
IVW 0.308 0.396 0.472 0.632 0.314 0.388 0.474 0.632
MR‐Egger 0.274 0.182 0.132 0.150 0.154 0.142 0.142 0.148
Weighted Median 0.876 0.896 0.904 0.934 0.482 0.560 0.696 0.920
CD‐cML 0.674 0.684 0.682 0.700 0.098 0.156 0.358 0.734
Oracle 0.932 0.932 0.934 0.934 0.080 0.240 0.534 0.940

FIGURE 2.

FIGURE 2

Simulation results under independent SNPs (n=10000 per GWAS; pX=pY=pU=5) showing empirical power for the nonzero XY direction (θXY=0.2 fixed) and empirical type‐I error (or power when nonzero) for the YX direction as the true effect θYX varies over {0,0.05,0.10,0.20}.

3.5. Power and Type I Error Under Large‐Sample Conditions

We increased the sample size to n=50000 per GWAS, keeping all other settings unchanged. The qualitative conclusions are largely consistent with the n=10000 results: BayBiMR(DP) continues to control type I error for XY close to the oracle level, while BayBiMR without perturbation shows somewhat elevated error at this sample size; both methods gain substantially more power for YX as the sample grows. Weighted Median and CD‐cML again achieve high power at the cost of inflated error, and IVW/MR‐Egger remain liberal under pleiotropy. Complete numerical results are provided in Tables S5, S6 of the Supporting Information; the figures below summarize the key patterns (Figures 3 and 4).

FIGURE 3.

FIGURE 3

Simulation results under independent SNPs with increased sample size (n=50000 per GWAS; pX=pY=pU=5) showing empirical type I error for the null XY direction (θXY=0 fixed) and empirical power for the YX direction as the true effect θYX varies over {0,0.05,0.10,0.20}. Full numerical results are in Table S5.

FIGURE 4.

FIGURE 4

Simulation results under independent SNPs with increased sample size (n=50000 per GWAS; pX=pY=pU=5) showing empirical power for the nonzero XY direction (θXY=0.2 fixed) and empirical type I error (or power when nonzero) for the YX direction as the true effect θYX varies over {0,0.05,0.10,0.20}. Full numerical results are in Table S6.

3.6. Impact of a Larger Proportion of Invalid IVs With Mixed Pleiotropy

We increased the number of pleiotropic variants to (pX,pY,pU)=(5,5,10) with n=10000, generating a mixture of invalid SNPs: 20% uncorrelated (γ,δ0,ξ=0), 20% correlated (ξ0,γ=δ=0), and 60% with both. The true effects were set to (θXY,θYX)=(0.2,0).

We first examined a setting with no effect from X to Y (θXY=0) while varying the YX effect over {0,0.05,0.10,0.20}. In this case, the XY direction assesses type‐I error, whereas YX reflects power. BayBiMR and BayBiMR(DP) maintain type I error near the oracle level while gaining power for YX. Weighted Median achieves high power but elevated type I error, while CD‐cML shows lower power yet remains liberal in error control. Both IVW and MR‐Egger behave liberally under pleiotropy.

We then fixed θXY=0.20 to represent a nonzero effect from X to Y and again varied θYX. Here XY measures power and YX type I error. BayBiMR and BayBiMR(DP) control type‐I error in both directions. Weighted Median remains powerful but liberal; IVW and MR‐Egger underperform, and CD‐cML shows modest power with a mildly inflated type I error. Complete numerical results and figures are provided in Tables S7, S8 and Figures S7, S8 of the Supporting Information.

3.7. Weak‐Instrument Setting

We next consider a weak‐instrument scenario with n=10000, (pX,pY,pU)=(5,5,6), and (θXY,θYX)=(0.2,0). For both GX and GY, at least half of the instrument effects are drawn from a uniform distribution on (0.01,0.08) (weak instruments), while the remainder are sampled from (0.20,0.30) (strong instruments), each assigned a random sign.

We first examined the case θXY=0 while varying the YX effect over {0,0.05,0.10,0.20}. BayBiMR and BayBiMR(DP) retain type I error control close to the oracle estimator while maintaining competitive power for YX. Weighted Median attains higher power but inflates type I error, while CD‐cML shows moderately elevated error rates. IVW and MR‐Egger continue to demonstrate liberal behavior under pleiotropy.

We then fixed θXY=0.20 to study a nonzero effect from X to Y and again varied θYX. BayBiMR and BayBiMR(DP) achieve high power for XY while controlling error in the reverse direction. Weighted Median remains powerful but liberal, whereas IVW and MR‐Egger underperform relative to BayBiMR methods. CD‐cML attains similar power to BayBiMR(DP) while showing a slightly inflated type I error. Complete numerical results and figures are provided in Tables S9, S10 and Figures S9, S10 of the Supporting Information.

Across the simulation scenarios, BayBiMR methods performed comparably to the Oracle in detecting the true causal direction and were consistently more reliable than classical MR approaches under correlated or mixed pleiotropy. The bootstrap version BayBiMR(DP) offered the most stable type I error control, generally close to the oracle estimator, though with some loss of power. Existing estimators such as IVW, MR‐Egger, Weighted Median, and CD‐cML often show noticeably inflated false‐positive rates, particularly in the presence of pleiotropy or weak instruments.

3.8. Supplemental Simulations

To further assess robustness, we conducted additional simulations designed to reflect more realistic genetic architectures and heterogeneous pleiotropy patterns (Supporting Information S2).

In Simulation S2.1, we generated 500 GWAS replicates with n=10000 individuals per trait and 15 instruments allocated via a multinomial draw to direct (pX), reverse (pY), and pleiotropic (pU) groups, ensuring at least three variants per group. Mixed pleiotropy was introduced by sampling pleiotropic effect magnitudes from Unif(0.2,0.3) with random signs and correlated pleiotropy weights ξUnif(0.3,0.3). The true causal effects were set to θXY=0.2 and θYX=0. Uncertainty was quantified using 95% credible intervals for BayBiMR and Wald 95% confidence intervals for competing methods. Empirical performance was evaluated using bias, RMSE, coverage probability, and rejection rates (Supplementary Section S2).

BayBiMR and BayBiMR(DP) exhibited low bias and coverage probabilities close to the nominal level in both causal directions, with performance approaching the oracle benchmark. In contrast, IVW, MR‐Egger, and Weighted Median showed substantial positive bias, poor coverage, and inflated type I error rates, while CD‐cML demonstrated moderate bias and intermediate coverage performance.

Simulation S2.2 increased both the number of instruments and the degree of pleiotropy (45 total SNPs). BayBiMR and BayBiMR(DP) again maintained low bias and high coverage in both directions, with rejection rates for XY remaining high (0.96/0.924) and type I error for YX remaining close to the oracle estimator (0.086/0.032). Under these more challenging conditions, IVW and MR‐Egger produced highly variable and biased estimates with severely inflated false‐positive rates; Weighted Median tended to overestimate effects with low coverage; and CD‐cML underestimated effect sizes. The relative ranking of methods remained consistent, although the advantages of the Bayesian approaches became more pronounced as pleiotropy increased.

Overall, the supplemental simulations demonstrate that BayBiMR and its more conservative variant, BayBiMR(DP), maintain reliable type I error control and interval coverage while preserving strong power to detect nonzero causal effects. These results underscore the advantages of the proposed Bayesian methods in settings with large instrument sets and pervasive pleiotropy.

4. Real Data Applications

We applied our bidirectional MR frameworks to white‐matter (WM) microstructures, using the same set of instruments and estimators to evaluate causal links between the outcomes and complex traits in both directions. The corresponding GWAS data sources and sample sizes for all traits are summarized in Table 3.

TABLE 3.

Summary of GWAS data sources used for genetic traits in real data applications.

Trait Study Sample size (n)
White‐matter microstructures UK Biobank [21] 25,415
Plasma APP UK Biobank [22] 47,745
Sleep duration UK Biobank [23] 446,118
BMI UK Biobank [24] 532,396
Neuroticism UK Biobank [25] 170,911
Depressive symptoms UK Biobank [25] 161,460
Subjective well‐being UK Biobank [25] 298,420

The six genetic traits examined were plasma amyloid precursor protein (APP), sleep duration (SLP), neuroticism (NEU), depressive symptoms (DS), subjective well‐being (SWB), and body mass index (BMI), each assessed for bidirectional relationships with WM microstructures. GWAS summary statistics for WM microstructures were obtained from 25,415 UK Biobank participants free of stroke, dementia, and other major central nervous system disorders [21]. Plasma APP was analyzed using summary statistics from study GCST90468344 [22]. SLP data were derived from a GWAS of 446,118 adults of European ancestry in the UK Biobank [23], and BMI from study GCST90029007 [24]. Summary statistics for SWB (n=298420), DS (n=161460), and NEU (n=170911) were obtained from a large GWAS meta‐analysis in the UK Biobank [25].

4.1. Various Phenotypes With WM Microstructures

In our analyses, SNPs were harmonized to the relevant GWAS, retained if they reached genome‐wide significance in either trait (p5×108), and then pruned for independence using LD clumping in PLINK with the 1000 Genomes EUR reference panel [26] (r20.001, 10 Mb window). Across all six phenotypes, associations at the p<0.05 threshold (we use 95% CrIs for BayBiMR and Wald 95% CIs for all other methods) are shown in Figure 5. Our analyses reveal clear differences in the patterns of significant microstructure‐trait pairs across methods and directions of inference.

FIGURE 5.

FIGURE 5

Significant associations between WM microstructures and various MR methods in bidirectional analyses of APP, BMI, SLP, NEU, DS and SWB. The direction XY denotes effects from WM microstructures to the traits, and YX denotes effects from the traits to WM microstructures.

4.1.1. Plasma APP and WM Microstructures

Across all methods, the strongest pattern for plasma APP emerged for associations from WM microstructures to circulating APP levels. The most consistent finding was the mean diffusivity of the middle cerebellar peduncle (MCP‐MD), detected repeatedly by both BayBiMR and BayBiMR(DP). In the opposite direction, a broader but less consistent set of associations was identified, with BayBiMR most reliably highlighting MCP‐MD and SCP‐FA. These findings point to potential bidirectional effects of APP on specific cerebellar pathways.

4.1.2. BMI and WM Microstructures

Analyses of BMI revealed the most extensive pattern of associations. Both BayBiMR and BayBiMR(DP) detected a large set of microstructure‐trait links in each direction, spanning nearly the entire cerebellar peduncle panel (ICP‐FA/MD, MCP‐FA/MD, SCP‐FA/MD). In contrast, conventional estimators recovered only a limited subset of these associations, most often restricted to MCP‐MD. Taken together, these results suggest that BMI is broadly related to WM microstructure and that the proposed estimators capture the most comprehensive view of these effects.

4.1.3. NEU and WM Microstructures

Findings for neuroticism were considerably more selective. When modeling effects from WM microstructure to NEU, only BayBiMR detected a small cluster of associations (ICP‐MD and MCP‐MD), whereas BayBiMR(DP) yielded no signals in this direction. In the opposite direction, signals were sparse and varied by method, with MR‐Egger identifying associations at ICP‐FA and ICP‐MD. Overall, these results suggest that links between neuroticism and WM microstructure are more limited and heterogeneous than those observed for APP or BMI.

4.1.4. SLP and WM Microstructures

BayBiMR yielded the most extensive evidence for associations from WM microstructures to SLP, particularly in the inferior, middle, and superior cerebellar peduncles (ICP‐FA/MD, MCP‐FA/MD, and SCP‐MD). In the opposite direction, the Weighted Median estimator identified more associations (ICP‐FA/MD, MCP‐MD, and SCP‐MD) than BayBiMR, which detected only ICP‐MD. These results point to a robust but directionally asymmetric relationship between SLP and cerebellar microstructure.

4.1.5. DS and WM Microstructures

Results for DS were sparse. In the direction from WM microstructures to DS, only the Weighted Median, CD‐cML, and MR‐Egger identified a few associations, mainly involving ICP‐MD and MCP/SCP‐MD. In the opposite direction, signals were limited to MR‐Egger at ICP‐FA and MCP‐MD. Both BayBiMR and BayBiMR(DP) produced no associations or were highly selective, indicating weak and inconsistent evidence for links between DS and WM microstructure.

4.1.6. SWB and WM Microstructures

In analyses treating SWB as the outcome, associations were limited to IVW and MR‐Egger, which identified effects at ICP‐FA, ICP‐MD, and SCP‐FA, while BayBiMR detected none. In the opposite direction, BayBiMR(DP), the Weighted Median, and IVW each captured a small number of signals (including ICP‐MD, SCP‐MD, and ICP‐FA), again with BayBiMR showing no significant signals. The overall pattern suggests scattered, method‐dependent links between SWB and WM microstructures.

BayBiMR detected more trait‐microstructure associations than BayBiMR(DP) across all six phenotypes, while BayBiMR(DP) produced a smaller but more conservative set of findings. This contrast was most evident for mean diffusivity in the middle cerebellar peduncle (MCP‐MD) and related cerebellar tracts. Whether the additional associations detected by BayBiMR but not BayBiMR(DP) represent true causal effects or reflect residual pleiotropy or false positives cannot be determined from these data alone, and replication in independent cohorts would be needed to distinguish these possibilities. The overall tally of significant associations appears in Table 4, with per‐trait, per‐direction breakdowns in Tables 5 and 6. For the affective traits (NEU, DS, and SWB), all methods yielded fewer associations, with BayBiMR(DP) retaining only the most robust pairs.

TABLE 4.

Number of significant trait‐microstructure associations detected by each MR method, aggregated across all six traits and all WM microstructures. The notation XY indicates effects from WM microstructures to the traits, and YX indicates effects from the traits to WM microstructures.

Method
XY
YX
Total
BayBiMR 14 10 24
BayBiMR(DP) 11 9 20
IVW 3 4 7
MR‐Egger 8 12 20
Weighted Median 9 15 24
CD‐cML 4 0 4
TABLE 5.

Number of significant trait‐microstructure associations by trait and method for the direction XY (effects from WM microstructures to the traits).

Trait BayBiMR(DP) BayBiMR CD‐cML MR‐Egger IVW Weighted Median
APP 2 1 0 0 1 2
BMI 6 6 1 2 1 4
SLP 3 5 2 0 0 2
NEU 0 2 0 0 0 0
SWB 0 0 0 3 1 0
DS 0 0 1 3 0 1
TABLE 6.

Number of significant trait‐microstructure associations by trait and method for the direction YX (effects from the traits to WM microstructures).

Trait BayBiMR(DP) BayBiMR CD‐cML MR‐Egger IVW Weighted Median
APP 2 4 0 4 1 6
BMI 5 5 0 2 2 4
SLP 0 1 0 1 0 4
NEU 0 0 0 2 0 0
SWB 2 0 0 1 1 1
DS 0 0 0 2 0 0

Repeated signals in the middle and inferior cerebellar peduncles suggest that metabolic and neuropsychiatric traits may converge on pathways supporting cortico‐cerebellar communication, which is central to motor coordination, cognitive integration, and emotional regulation [27, 28, 29]. These patterns are consistent with prior neuroimaging work linking WM integrity in these microstructures to both metabolic status [30] and affective symptomatology [31]. Figure 5 and Tables 4, 5, 6 show that our proposed Bayesian methods recover a broader range of putative causal effects than standard MR estimators, while the more conservative variant yields a narrower but higher‐confidence set of associations.

4.2. Causal Directions of SLP, BMI, and NEU

We examined potential bidirectional causal relationships among SLP, BMI, and NEU. These three traits were selected because they represent distinct phenotypic domains (behavioral, metabolic, and psychiatric) that span the range of association patterns observed across all six analyzed traits: BMI shows widespread and strong associations, SLP demonstrates moderately extensive but directionally asymmetric effects, and NEU represents sparse and heterogeneous signals. Detailed presentations for all six traits would be largely redundant; complete summary results for these three traits are provided in Figure 5 and Tables 4, 5, 6. For each pairwise comparison (SLP with BMI, BMI with NEU, and SLP with NEU), we applied BayBiMR and BayBiMR(DP) alongside CD‐cML, IVW, MR‐Egger, and the Weighted Median. Each analysis was repeated across multiple SNP inclusion thresholds to evaluate how instrument selection influenced the estimated effects and the inferred direction of association. Sleep, metabolic status, and affective traits are biologically interconnected through shared neuroendocrine, inflammatory, and neural circuit pathways [32, 33, 34], and these analyses therefore provide a framework for identifying potential causal links between behavioral, metabolic, and psychiatric phenotypes [35].

For the SLP–BMI analysis, SNPs were selected using inclusion thresholds of 5×106, 5×105, and 5×104. For the SLP–NEU and BMI–NEU analyses, thresholds of 5×107, 5×106, 5×105, and 5×104 were applied. For each trait pair and each threshold, causal effects were estimated in both directions, and the results are displayed as forest‐style panels stratified by method. BayBiMR reports 95% credible intervals (CrIs), whereas BayBiMR(DP), CD‐cML, IVW, MR‐Egger, and Weighted Median report Wald‐type 95% confidence intervals (CIs). Figures 6, 8 and 7 present the bidirectional effect estimates across all methods and thresholds. Complete numerical results for all significant estimates are provided in Tables S11–S13 of the Supporting Information.

FIGURE 6.

FIGURE 6

Bidirectional MR between BMI and SLP. Points represent causal effect estimates with 95% CrI for BayBiMR and 95% CI for other methods. Different shapes correspond to SNP‐selection p‐value thresholds.

FIGURE 8.

FIGURE 8

Bidirectional MR between sleep duration and neuroticism. Causal estimates with 95% CrI for BayBiMR and 95% CI for other estimators. Shapes indicate SNP‐selection p‐value thresholds.

FIGURE 7.

FIGURE 7

Bidirectional MR between BMI and neuroticism. Points represent causal effect estimates with 95% CrI for BayBiMR and 95% CI for other methods. Different shapes correspond to SNP‐selection p‐value thresholds.

4.2.1. Directional Effects Between SLP and BMI

In the SLP–BMI analyses (Figure 6 and Table S12 in the Supporting Information), BayBiMR and BayBiMR(DP) yielded relatively stable and precise effect estimates across all SNP inclusion thresholds. In both directions of analysis, their 95% credible intervals remained relatively narrow and, in most cases, excluded zero, suggesting consistent directional signals within the considered threshold range. By contrast, the classical estimators IVW and MR‐Egger showed marked sensitivity to pleiotropy: point estimates fluctuated widely across thresholds, and confidence intervals often included zero or reversed sign, suggesting instability of the estimated effects. CD‐cML and the Weighted Median occasionally agree with the proposed Bayesian estimates but show greater variability with SNP threshold and causal direction, reflecting moderate susceptibility to pleiotropy and sampling variation. These results indicate that, in this application, BayBiMR and BayBiMR(DP) produced narrower and more threshold‐stable intervals than several competing estimators; we treat the directional signals as suggestive rather than confirmatory.

From a biological perspective, the SLP–BMI findings are consistent with a reciprocal, negative relationship between SLP and BMI. The inverse effects estimated by BayBiMR and BayBiMR(DP) suggest that higher BMI may be associated with shorter sleep duration, and conversely, that altered sleep patterns could contribute to weight gain, though causal interpretation requires caution. These estimates align directionally with previous observational and experimental studies linking excess adiposity to sleep disturbances and weight gain through metabolic, hormonal, and inflammatory pathways [36, 37, 38].

4.2.2. Directional Effects Between BMI and NEU

In the BMI–NEU analyses shown in Figure 7 and Table S11 of the Supporting Information, BayBiMR and BayBiMR(DP) again displayed greater stability across SNP inclusion thresholds than those conventional MR estimators. For the BMI NEU direction, our proposed methods produced moderate positive effects at the more stringent thresholds but shifted to a strong negative effect at the most relaxed threshold. This sign change across thresholds is not consistent with stable directional inference, and we therefore do not interpret it as evidence of a single direction of effect. Their 95% credible intervals were comparatively narrow within each threshold, but the across‐threshold sign reversal indicates sensitivity to instrument selection. By contrast, IVW sometimes produced very large standard errors, and MR‐Egger gave an unusually large estimate with a wide interval at the 5×106 threshold, reflecting large sensitivity to potential horizontal pleiotropy. The Weighted Median and CD‐cML methods sometimes align with the Bayesian estimates, but sometimes show greater variability with the SNP threshold and direction tested. For the NEU BMI direction, BayBiMR yielded a mix of positive and negative effects depending on the threshold but remained more precise than existing methods, with very small standard errors at the most relaxed thresholds. BayBiMR(DP) produced a similar pattern but with somewhat wider intervals. Weighted Median and CD‐cML showed the same sign changes but with greater variation across thresholds. Overall, the BMI–NEU comparison is more accurately described as exploratory: the proposed methods give narrower within‐threshold intervals than several competing estimators, but the across‐threshold sign reversals preclude any firm causal conclusion in either direction from these data alone.

Our findings suggest a potentially bidirectional link between BMI and NEU, though the sign reversals across SNP thresholds indicate sensitivity to instrument selection and should be interpreted cautiously. At more stringent SNP thresholds, the positive effects of BMI on NEU may reflect shared genetic influences or horizontal pleiotropy. The shift to a negative effect at the most inclusive threshold may indicate that adding weaker instruments introduces different biological pathways or additional confounding. Likewise, the mix of positive and negative effects in the NEU BMI direction suggests that neuroticism could influence body weight via several mechanisms, though residual pleiotropy cannot be ruled out. The tighter credible intervals of the proposed Bayesian methods relative to existing estimators reflect their regularization of pleiotropic effects, but do not on their own establish that the estimates are correct.

4.2.3. Directional Effects Between SLP and NEU

In the SLP–NEU analyses shown in Figure 8 and Table S13 of the Supporting Information, BayBiMR and BayBiMR(DP) again produced relatively stable and precise effect estimates compared with other estimators. For the SLP NEU direction, both proposed methods yielded consistently positive effects across thresholds, with narrow 95% credible intervals that excluded zero, whereas Weighted Median showed weaker but concordant effects with wider intervals. Within the considered threshold range, this pattern is suggestive of a positive directional signal, though we do not interpret it as confirmatory causal evidence. In the reverse NEU SLP direction, BayBiMR displayed a mixture of positive and negative effects depending on the inclusion threshold, the credible intervals remained comparatively tight; BayBiMR(DP) tracked a similar pattern but with larger uncertainty. MR‐Egger produced an implausibly large effect estimate at the most stringent threshold, reflecting high sensitivity to pleiotropy. Weighted Median and CD‐cML showed intermediate performance. Taken together, these panels are consistent with a complex bidirectional relationship between SLP and NEU. The Bayesian estimators produce narrower within‐threshold intervals than several competing estimators in the SLPNEU direction, but the sign reversals in the reverse direction preclude firm causal conclusions and the findings should be treated as exploratory.

From a biological perspective, the positive SLP NEU effects are consistent with mechanisms by which altered sleep patterns influence mood regulation and may predispose individuals to neurotic traits through hormonal or inflammatory pathways [32, 33]. Conversely, the mixed and sometimes negative NEU SLP effects suggest that personality characteristics such as neuroticism may influence sleep in opposing ways, perhaps promoting insomnia or hypersomnia depending on context [39]. The sign reversals across thresholds in the reverse direction indicate sensitivity to instrument selection, and causal conclusions in either direction should be interpreted with caution pending replication in independent samples.

5. Discussion and Conclusions

In this study, we introduce BayBiMR (and its extension BayBiMR(DP)), a Bayesian framework for bidirectional MR that estimates causal effects in both directions while explicitly accounting for latent correlated pleiotropy through correlated direct genetic effects. By placing directional effects and pleiotropic pathways within a single hierarchical model, BayBiMR provides coherent uncertainty quantification and interpretable posterior summaries of causal parameters, pleiotropic structure, and instrument validity. This joint formulation allows information to be shared across directions, stabilizing estimation under complex genetic architectures and yielding probabilistic statements about the presence and direction of causality.

In extensive simulations designed to mimic realistic genetic architectures, BayBiMR and BayBiMR(DP) consistently showed better control of type I error than conventional estimators, particularly under mixed and correlated pleiotropy, where standard approaches such as IVW and MR‐Egger are prone to bias and inflated false‐positive rates.

Applications to large‐scale summary data on traits such as plasma APP, BMI, SLP, NEU, DS, and SWB illustrate how the framework operates in practice. Across these examples, BayBiMR and BayBiMR(DP) identified associations that were attenuated or nonsignificant under existing methods; whether these represent genuine causal effects or artifacts of model assumptions cannot be established from observational GWAS data alone.

We note differences in the behavior of CD‐cML between simulation studies and real‐data analyses. In simulations, inflated type I error occurred under controlled settings where pleiotropic effects violated modeling assumptions. In real data, however, true causal effects are unknown, and effect sizes may be small, heterogeneous, or influenced by residual confounding. Under such conditions, CD‐cML may detect fewer associations, leading to reduced apparent power relative to BayBiMR. In contrast, BayBiMR incorporates pleiotropic correlations through the covariance structure Σ4, which may allow it to retain information from variants exhibiting complex pleiotropic patterns. These differences highlight how methodological assumptions interact with realistic genetic architectures. These findings underscore the potential of our proposed approaches to provide a more reliable and nuanced picture of directionality and pleiotropy in complex trait genetics.

We acknowledge several limitations of the present implementation. First, the current framework assumes independent genetic instruments and does not explicitly model LD. To satisfy this assumption, we applied LD clumping, which may reduce statistical efficiency by excluding informative but correlated variants, particularly in regions with extensive LD. Additionally, the model is restricted to linear causal effects between two traits. Second, the working likelihood adopted in Equations ((3), (4)) corresponds to the small‐feedback approximation of the exact reduced form (2): the second‐order cross‐pleiotropy terms θYXγj and θXYδj and the feedback denominator 1/(1θXYθYX) are absorbed into the spike‐and‐slab pleiotropic effects rather than modeled explicitly. This approximation preserves linearity in the latent effects, which enables the closed‐form Gibbs updates in Section 2.3, and is well justified whenever |θXYθYX| is small relative to unity, which is the regime of primary scientific interest in two‐sample MR. In settings with strong bidirectional feedback (i.e., |θXYθYX| close to one), the exact reduced form (2) would need to be inserted into the likelihood, at the cost of replacing the closed‐form normal updates for (θXY,θYX) with a Metropolis step. Third, the framework assumes a two‐sample design with nonoverlapping cohorts Equation (4); extending it to single‐sample or partially overlapping designs would require modeling an off‐diagonal sampling‐error covariance. Future work could address these limitations by incorporating explicit LD structures, accommodating the exact reduced form in the likelihood, and extending the framework to multivariate and nonlinear MR settings.

Together, our developments establish a coherent and flexible Bayesian framework for bidirectional MR. By coupling the estimation of directional effects with the modeling of pleiotropic covariance, BayBiMR aims to improve the robustness of causal inference in genetic epidemiology, though its practical performance will depend on the degree to which its modeling assumptions are met in a given application.

Funding

The author has nothing to report.

Conflicts of Interest

The author declares no conflicts of interest.

Supporting information

Data S1: Table S1: Performance in the XY direction (true effect θXY=0.2) under Simulation S2.1 (15 SNPs, mixed pleiotropy). Table S2: Performance in the YX direction (true effect θYX=0) under Simulation S2.1 (15 SNPs, mixed pleiotropy). Table S3: Simulation S2.2: XY direction (true effect θXY=0.2) under 45 SNPs with mixed pleiotropy. Table S4: Simulation S2.2: YX direction (true effect θYX=0) under 45 SNPs with mixed pleiotropy. Table S5: Empirical type‐I error for XY (with θXY=0) and power for YX across θYX{0,0.05,0.10,0.20}, based on n = 50 000 per GWAS (pX=pY=pU=5). Reported values are rejection probabilities at the α=0.05 level. Table S6: Power for XY with θXY=0.2 and type‐I error/power for YX across θYX{0,0.05,0.10,0.20}, based on n = 50 000 per GWAS (pX=pY=pU=5). Reported values are rejection probabilities at the α=0.05 level. Table S7: Empirical type‐I error for XY (with θXY=0) and empirical power for YX across θYX{0,0.05,0.10,0.20} under mixed pleiotropy (20% uncorrelated, 20% correlated, 60% both; pX=pY=5, pU=10, n = 10 000 per GWAS). Values are rejection probabilities at the α=0.05 level. Table S8: Empirical power for XY (θXY=0.2 fixed) and empirical type‐I error/power for YX across θYX{0,0.05,0.10,0.20} under mixed pleiotropy (20% uncorrelated, 20% correlated, 60% both; pX=pY=5, pU=10, n = 10 000 per GWAS). Values are rejection probabilities at the α=0.05 level. Table S9: Empirical type‐I error for XY (with θXY=0) and empirical power for YX under a weak‐instrument scenario (n = 10 000 per GWAS; (pX,pY,pU)=(5,5,6)). Reported values are rejection probabilities at the α=0.05 level across θYX{0,0.05,0.10,0.20}. Table S10: Empirical power for XY (with θXY=0.2) and empirical type‐I error/power for YX under a weak‐instrument scenario (n = 10 000 per GWAS; (pX,pY,pU)=(5,5,6)). Reported values are rejection probabilities at the α=0.05 level across θYX{0,0.05,0.10,0.20}. Table S11: Significant effect estimates, standard errors, and 95% confidence or credible intervals for the XY (BMI NEU) and YX (NEU BMI) associations across methods and SNP inclusion thresholds. Table S12: Significant effect estimates, standard errors, and 95% confidence or credible intervals for the XY (SLP BMI) and YX (BMI SLP) associations across methods and SNP inclusion thresholds. Table S13: Significant effect estimates, standard errors, and 95% confidence or credible intervals for the XY (SLP NEU) and YX (NEU SLP) associations across methods and SNP inclusion thresholds. Figure S1: Estimated causal effects in Simulation S2.1 for XY (left) and YX (right). Violin and boxplots show the distribution of effect estimates across 500 replications for each method. The red dashed line indicates the true effect. Figure S2: Empirical 95% interval coverage in Simulation S2.1 for XY (left) and YX (right). Bars represent the proportion of intervals covering the true effect across 500 replications for each method. Figure S3: Empirical rejection rates at α=0.05 in Simulation S2.1 for XY (left) and YX (right). Bars represent the proportion of replications rejecting the null for each method. Figure S4: Estimated causal effects in Simulation S2.2 for XY (left) and YX (right). Violin and boxplots show the distribution of effect estimates across 500 replications for each method. The red dashed line indicates the true effect. Figure S5: Empirical 95% interval coverage in Simulation S2.2 for XY (left) and YX (right). Bars represent the proportion of intervals covering the true effect across 500 replications for each method. Figure S6: Empirical rejection rates at α=0.05 in Simulation S2.2 for XY (left) and YX (right). Bars represent the proportion of replications rejecting the null for each method. Figure S7: Simulation results under mixed pleiotropy (20% uncorrelated, 20% correlated, 60% both; pX=pY=5, pU=10, n = 10 000 per GWAS) showing empirical type‐I error for the null XY direction (θXY=0 fixed) and empirical power for the YX direction as θYX varies over {0,0.05,0.10,0.20}. Figure S8: Simulation results under mixed pleiotropy (20% uncorrelated, 20% correlated, 60% both; pX=pY=5, pU=10, n = 10 000 per GWAS) showing empirical power for the nonzero XY direction (θXY=0.2 fixed) and empirical type‐I error (or power when nonzero) for the YX direction as θYX varies over {0,0.05,0.10,0.20}. Figure S9: Empirical type‐I error for XY and empirical power for YX under a weak‐instrument scenario (n=10000 per GWAS; (pX,pY,pU)=(5,5,6)). At least half of instrument effects were drawn from uniform(0.01,0.08) (weak) and the remainder from uniform(0.20,0.30) (strong) with random sign. The null setting fixes θXY=0 and varies θYX{0,0.05,0.10,0.20}. Figure S10: Empirical power for XY and empirical type‐I error/power for YX under a weak‐instrument scenario (n = 10 000 per GWAS; (pX,pY,pU)=(5,5,6)). Here θXY=0.20 is fixed and θYX varies over {0,0.05,0.10,0.20}.

SIM-45-0-s001.pdf (1.3MB, pdf)

Acknowledgments

The author thanks the reviewer for their careful reading of the manuscript and for constructive comments that improved the clarity and rigor of the work.

Data Availability Statement

The data that support the findings of this study are openly available in GitHub at https://github.com/chen‐siyi7/BayBiMR.

References

  • 1. de Leeuw C., Savage J., Bucur I. G., et al., “Understanding the Assumptions Underlying Mendelian Randomization,” European Journal of Human Genetics 30 (2022): 653–660. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2. Davey Smith G. and Hemani G., “Mendelian Randomization: Genetic Anchors for Causal Inference in Epidemiological Studies,” Human Molecular Genetics 23, no. R1 (2014): R89–R98. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3. Bowden J., Smith G. D., and Burgess S., “Mendelian Randomization With Invalid Instruments: Effect Estimation and Bias Detection Through Egger Regression,” International Journal of Epidemiology 44, no. 2 (2015): 512–525. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4. Grant A. J. and Burgess S., “A Bayesian Approach to Mendelian Randomization Using Summary Statistics in the Univariable and Multivariable Settings With Correlated Pleiotropy,” American Journal of Human Genetics 111, no. 1 (2024): 165–180. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5. Morrison J., Knoblauch N., Marcus J. H., Stephens M., and He X., “Mendelian Randomization Accounting for Correlated and Uncorrelated Pleiotropic Effects Using Genome‐Wide Summary Statistics,” Nature Genetics 52, no. 7 (2020): 740–747. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6. Burgess S., Butterworth A., and Thompson S. G., “Mendelian Randomization Analysis With Multiple Genetic Variants Using Summarized Data,” Genetic Epidemiology 37, no. 7 (2013): 658–665. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7. Bowden J., Smith G. D., Haycock P. C., and Burgess S., “Consistent Estimation in Mendelian Randomization With Some Invalid Instruments Using a Weighted Median Estimator,” Genetic Epidemiology 40, no. 4 (2016): 304–314. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8. Hemani G., Tilling K., and Smith G. D., “Orienting the Causal Relationship Between Imprecisely Measured Traits Using Gwas Summary Data,” PLoS Genetics 13, no. 11 (2017): e1007081. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9. Xue H. and Pan W., “Inferring Causal Direction Between Two Traits in the Presence of Horizontal Pleiotropy With Gwas Summary Data,” PLoS Genetics 16, no. 11 (2020): e1009105. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10. Xue H. and Pan W., “Robust Inference of Bi‐Directional Causal Relationships in Presence of Correlated Pleiotropy With Gwas Summary Data,” PLoS Genetics 18, no. 5 (2022): e1010205. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11. Chen S., “Two‐Sample Bi‐Directional Causality Between Two Traits With Some Invalid Ivs in Both Directions Using Gwas Summary Statistics,” HGG Advances 6, no. 3 (2025): 100449. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12. Burgess S. and Thompson S. G., “Interpreting Findings From Mendelian Randomization Using the Mr‐Egger Method,” European Journal of Epidemiology 32, no. 5 (2017): 377–389. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13. Xu S., Fung W. K., and Liu Z., “MRCIP: A Robust Mendelian Randomization Method Accounting for Correlated and Idiosyncratic Pleiotropy,” Briefings in Bioinformatics 22, no. 5 (2021): bbab019. [DOI] [PubMed] [Google Scholar]
  • 14. Eddelbuettel D. and Francois R., “Rcpp: Seamless r and c++ Integration,” Journal of Statistical Software 40, no. 8 (2011): 1–18. [Google Scholar]
  • 15. Eddelbuettel D. and Sanderson C., “Rcpparmadillo: Accelerating r With High‐Performance c++ Linear Algebra,” Computational Statistics & Data Analysis 71 (2014): 1054–1063. [Google Scholar]
  • 16. Bernardo J. M. and Smith A. F. M., Bayesian Theory (Wiley, 1994). [Google Scholar]
  • 17. Ghosal S., Ghosh J. K., and van der Vaart A. W., “Convergence Rates of Posterior Distributions,” Annals of Statistics 28, no. 2 (2000): 500–531. [Google Scholar]
  • 18. Lin Z., Deng Y., and Pan W., “Combining the Strengths of Inverse‐Variance Weighting and Egger Regression in Mendelian Randomization Using a Mixture of Regressions Model,” PLoS Genetics 17, no. 11 (2021): e1009922. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19. Xue H., Shen X., and Pan W., “Constrained Maximum Likelihood‐Based Mendelian Randomization Robust to Both Correlated and Uncorrelated Pleiotropic Effects,” American Journal of Human Genetics 108, no. 7 (2021): 1251–1269. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20. Bickel P. J. and Freedman D. A., “Some Asymptotic Theory for the Bootstrap,” Annals of Statistics 9, no. 6 (1981): 1196–1217. [Google Scholar]
  • 21. Wu B.‐S., Ge Y.‐J., Zhang W., et al., “Genome‐Wide Association Study of Cerebellar White Matter Microstructure and Genetic Overlap With Common Brain Disorders,” NeuroImage 269 (2023): 119928. [DOI] [PubMed] [Google Scholar]
  • 22. Loya H., Kalantzis G., Cooper F., and Palamara P. F., “A Scalable Variational Inference Approach for Increased Mixed‐Model Association Power,” Nature Genetics 57 (2025): 461–468. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23. Dashti H. S., Jones S. E., Wood A. R., et al., “Genome‐Wide Association Study Identifies Genetic Loci for Self‐Reported Habitual Sleep Duration Supported by Accelerometer‐Derived Estimates,” Nature Communications 10, no. 1 (2019): 1100. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24. Loh P.‐R., Kichaev G., Gazal S., Schoech A. P., and Price A. L., “Mixed‐Model Association for Biobank‐Scale Datasets,” Nature Genetics 50, no. 7 (2018): 906–908. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25. Okbay A., “Genetic Variants Associated With Subjective Well‐Being, Depressive Symptoms, and Neuroticism Identified Through Genome‐Wide Analyses,” Nature Genetics 48, no. 6 (2016): 624–633. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26. The 1000 Genomes Project Consortium , “A Global Reference for Human Genetic Variation,” Nature 526, no. 7571 (2015): 68–74. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27. Buckner R. L., “The Cerebellum and Cognitive Function: 25 Years of Insight From Anatomy and Neuroimaging,” Neuron 80, no. 3 (2013): 807–815. [DOI] [PubMed] [Google Scholar]
  • 28. Stoodley C. J. and Schmahmann J. D., “Functional Topography in the Human Cerebellum: A Meta‐Analysis of Neuroimaging Studies,” NeuroImage 44 (2009): 489–501. [DOI] [PubMed] [Google Scholar]
  • 29. Stoodley C. J., Valera E. M., and Schmahmann J. D., “Functional Topography of the Cerebellum for Motor and Cognitive Tasks: An Fmri Study,” NeuroImage 59, no. 2 (2012): 1560–1570. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30. Okudzhava L., Schulz S., Fischi‐Gomez E., et al., “White Adipose Tissue Distribution and Amount Are Associated With Increased White Matter Connectivity,” Human Brain Mapping 45, no. 5 (2024): e26654. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31. Phillips J. R., Hewedi D. H., Eissa A. M., and Moustafa A. A., “The Cerebellum and Psychiatric Disorders,” Frontiers in Public Health 3 (2015): 66. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32. Irwin M. R., “Why Sleep Is Important for Health: A Psychoneuroimmunology Perspective,” Annual Review of Psychology 66 (2015): 143–172. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33. Spiegel K., Leproult R., and Van Cauter E., “Impact of Sleep Debt on Metabolic and Endocrine Function,” Lancet 354, no. 9188 (1999): 1435–1439. [DOI] [PubMed] [Google Scholar]
  • 34. Stamatakis K. A. and Punjabi N. M., “Effects of Sleep Fragmentation on Glucose Metabolism in Normal Subjects,” Chest 137, no. 1 (2010): 95–101. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35. Benca R. M., Obermeyer W. H., Thisted R. A., and Gillin J. C., “Sleep and Psychiatric Disorders: A Meta‐Analysis,” Archives of General Psychiatry 49, no. 8 (1992): 651–668. [DOI] [PubMed] [Google Scholar]
  • 36. Beccuti G. and Pannain S., “Sleep and Obesity,” Current Opinion in Clinical Nutrition and Metabolic Care 14, no. 4 (2011): 402–412. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37. Markwald R. R., Melanson E. L., Smith M. R., et al., “Impact of Insufficient Sleep on Total Daily Energy Expenditure, Food Intake, and Weight Gain,” Proceedings of the National Academy of Sciences of the United States of America 110, no. 14 (2013): 5695–5700. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38. Spaeth A. M., Dinges D. F., and Goel N., “Sleep Restriction and Weight Gain: A Prospective Study,” Sleep 36, no. 7 (2013): 981–990. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39. Sutin A. R., Ferrucci L., Zonderman A. B., and Terracciano A., “Personality and Obesity Across the Adult Life Span,” Journal of Personality and Social Psychology 101, no. 3 (2011): 579–592. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Data S1: Table S1: Performance in the XY direction (true effect θXY=0.2) under Simulation S2.1 (15 SNPs, mixed pleiotropy). Table S2: Performance in the YX direction (true effect θYX=0) under Simulation S2.1 (15 SNPs, mixed pleiotropy). Table S3: Simulation S2.2: XY direction (true effect θXY=0.2) under 45 SNPs with mixed pleiotropy. Table S4: Simulation S2.2: YX direction (true effect θYX=0) under 45 SNPs with mixed pleiotropy. Table S5: Empirical type‐I error for XY (with θXY=0) and power for YX across θYX{0,0.05,0.10,0.20}, based on n = 50 000 per GWAS (pX=pY=pU=5). Reported values are rejection probabilities at the α=0.05 level. Table S6: Power for XY with θXY=0.2 and type‐I error/power for YX across θYX{0,0.05,0.10,0.20}, based on n = 50 000 per GWAS (pX=pY=pU=5). Reported values are rejection probabilities at the α=0.05 level. Table S7: Empirical type‐I error for XY (with θXY=0) and empirical power for YX across θYX{0,0.05,0.10,0.20} under mixed pleiotropy (20% uncorrelated, 20% correlated, 60% both; pX=pY=5, pU=10, n = 10 000 per GWAS). Values are rejection probabilities at the α=0.05 level. Table S8: Empirical power for XY (θXY=0.2 fixed) and empirical type‐I error/power for YX across θYX{0,0.05,0.10,0.20} under mixed pleiotropy (20% uncorrelated, 20% correlated, 60% both; pX=pY=5, pU=10, n = 10 000 per GWAS). Values are rejection probabilities at the α=0.05 level. Table S9: Empirical type‐I error for XY (with θXY=0) and empirical power for YX under a weak‐instrument scenario (n = 10 000 per GWAS; (pX,pY,pU)=(5,5,6)). Reported values are rejection probabilities at the α=0.05 level across θYX{0,0.05,0.10,0.20}. Table S10: Empirical power for XY (with θXY=0.2) and empirical type‐I error/power for YX under a weak‐instrument scenario (n = 10 000 per GWAS; (pX,pY,pU)=(5,5,6)). Reported values are rejection probabilities at the α=0.05 level across θYX{0,0.05,0.10,0.20}. Table S11: Significant effect estimates, standard errors, and 95% confidence or credible intervals for the XY (BMI NEU) and YX (NEU BMI) associations across methods and SNP inclusion thresholds. Table S12: Significant effect estimates, standard errors, and 95% confidence or credible intervals for the XY (SLP BMI) and YX (BMI SLP) associations across methods and SNP inclusion thresholds. Table S13: Significant effect estimates, standard errors, and 95% confidence or credible intervals for the XY (SLP NEU) and YX (NEU SLP) associations across methods and SNP inclusion thresholds. Figure S1: Estimated causal effects in Simulation S2.1 for XY (left) and YX (right). Violin and boxplots show the distribution of effect estimates across 500 replications for each method. The red dashed line indicates the true effect. Figure S2: Empirical 95% interval coverage in Simulation S2.1 for XY (left) and YX (right). Bars represent the proportion of intervals covering the true effect across 500 replications for each method. Figure S3: Empirical rejection rates at α=0.05 in Simulation S2.1 for XY (left) and YX (right). Bars represent the proportion of replications rejecting the null for each method. Figure S4: Estimated causal effects in Simulation S2.2 for XY (left) and YX (right). Violin and boxplots show the distribution of effect estimates across 500 replications for each method. The red dashed line indicates the true effect. Figure S5: Empirical 95% interval coverage in Simulation S2.2 for XY (left) and YX (right). Bars represent the proportion of intervals covering the true effect across 500 replications for each method. Figure S6: Empirical rejection rates at α=0.05 in Simulation S2.2 for XY (left) and YX (right). Bars represent the proportion of replications rejecting the null for each method. Figure S7: Simulation results under mixed pleiotropy (20% uncorrelated, 20% correlated, 60% both; pX=pY=5, pU=10, n = 10 000 per GWAS) showing empirical type‐I error for the null XY direction (θXY=0 fixed) and empirical power for the YX direction as θYX varies over {0,0.05,0.10,0.20}. Figure S8: Simulation results under mixed pleiotropy (20% uncorrelated, 20% correlated, 60% both; pX=pY=5, pU=10, n = 10 000 per GWAS) showing empirical power for the nonzero XY direction (θXY=0.2 fixed) and empirical type‐I error (or power when nonzero) for the YX direction as θYX varies over {0,0.05,0.10,0.20}. Figure S9: Empirical type‐I error for XY and empirical power for YX under a weak‐instrument scenario (n=10000 per GWAS; (pX,pY,pU)=(5,5,6)). At least half of instrument effects were drawn from uniform(0.01,0.08) (weak) and the remainder from uniform(0.20,0.30) (strong) with random sign. The null setting fixes θXY=0 and varies θYX{0,0.05,0.10,0.20}. Figure S10: Empirical power for XY and empirical type‐I error/power for YX under a weak‐instrument scenario (n = 10 000 per GWAS; (pX,pY,pU)=(5,5,6)). Here θXY=0.20 is fixed and θYX varies over {0,0.05,0.10,0.20}.

SIM-45-0-s001.pdf (1.3MB, pdf)

Data Availability Statement

The data that support the findings of this study are openly available in GitHub at https://github.com/chen‐siyi7/BayBiMR.


Articles from Statistics in Medicine are provided here courtesy of Wiley

RESOURCES