Why distinguish the two IVW models?
Inverse-variance weighted (IVW) Mendelian randomization combines variant-specific information about an exposure and an outcome. Its weighted estimate can be the same under two commonly used models, while its reported uncertainty differs. The distinction matters when the variant-specific outcome associations scatter around the fitted causal relationship more than their reported standard errors predict: a multiplicative random-effects model allows that extra dispersion to widen the standard error.
The comparison concerns uncertainty, not a new way to remove bias. A larger standard error can reflect unexplained variation among variants, but it does not establish that the variants satisfy the instrumental-variable assumptions or that the fitted causal estimate is unbiased.
Summary-data model and assumptions
Suppose \(K\) genetic variants have been harmonized so their exposure and outcome associations refer to the same effect allele. Write \(\hat\beta_{Xj}\) and \(\hat\beta_{Yj}\) for the estimated associations of variant \(j\) with the exposure and outcome, and \(s_{Yj}\) for the standard error of \(\hat\beta_{Yj}\). The usual first-order IVW calculation treats the exposure associations as fixed and uses the outcome-association standard errors as weights.
These models assume the variants are independent, as is approximately intended when instruments have been clumped to limit linkage disequilibrium. They also use a linear relationship through the origin across the included variants, and assume the standard errors \(s_{Yj}\) adequately describe the sampling variability up to the common multiplier \(\phi\). For a causal interpretation, the instrumental-variable assumptions are still required: variants must be relevant to the exposure, independent of relevant confounders, and affect the outcome only through the exposure (or meet the conditions needed for the chosen IVW interpretation). The random-effects variance model does not replace those assumptions.
Estimate, standard error, and dispersion
Let \(w_j=1/s_{Yj}^{\,2}\). IVW minimizes the weighted residual sum of squares over \(\theta\). Differentiating that sum gives the same point estimate under either model, because multiplying every weight by the same factor does not change the minimizer.
The fixed-effect standard error follows by treating the exposure associations as fixed: the estimate is a weighted linear combination of outcome associations, so its variance is the reciprocal of \(\sum_j w_j\hat\beta_{Xj}^{\,2}\). Under the multiplicative model, that variance is multiplied by \(\phi\), giving \(SE_{\mathrm{RE}}=\sqrt{\phi}\,SE_{\mathrm{FE}}\).
The residual dispersion is summarized by the weighted residual sum of squares
There is one fitted parameter, \(\theta\), so the residual degrees of freedom are \(df=K-1\). Under the stated independent normal-error model, \(Q/\phi\) has a chi-squared distribution with \(K-1\) degrees of freedom. Consequently, \(Q/(K-1)\) estimates \(\phi\). A common conservative convention for an overdispersion adjustment is to use \(\hat\phi=\max\{1,Q/(K-1)\}\), so estimated underdispersion does not shrink the fixed-effect standard error. Then
Some implementations report the untruncated estimate \(Q/(K-1)\) as the multiplier. That convention can yield a standard error below the fixed-effect value when \(Q<K-1\). State which convention is used when reporting results; the examples here use the conservative cap at 1.
Why the dispersion estimate has \(K-1\) degrees of freedom
A short linear-algebra argument explains both the residual degrees of freedom and the scale estimate. Define \(z_j=\hat\beta_{Yj}/s_{Yj}\) and \(a_j=\hat\beta_{Xj}/s_{Yj}\). Then the weighted fit is an ordinary one-parameter regression of \(z_j\) on \(a_j\) through the origin, and \(Q\) is the squared length of the residual vector. Fitting one coefficient projects the \(K\)-dimensional data vector onto a one-dimensional subspace, leaving a residual subspace of dimension \(K-1\).
Under the multiplicative model, the standardized errors have variance \(\phi\) in each independent direction. The expected squared length in the \(K-1\) residual directions is therefore \((K-1)\phi\). Thus \(E(Q)=(K-1)\phi\), which motivates estimating the variance multiplier by \(Q/(K-1)\). This is a scale estimate, not a procedure that changes the fitted coefficient.
Worked Example: Overdispersion widens uncertainty
Consider three hypothetical independent variants. Each has \(\hat\beta_X=0.10\) and \(s_Y=0.02\), while the estimated outcome associations are \(0.02\), \(0.05\), and \(0.08\). For a concrete interpretation, suppose the outcome associations are measured in outcome units per allele and the exposure associations in exposure units per allele.
Each weight is \(w=1/0.02^2=2500\). The IVW estimate is
The estimate is 0.5000 outcome units per exposure unit. The fixed-effect standard error is \(1/\sqrt{75}=0.1155\). The fitted outcome association for each variant is \(0.5000(0.10)=0.05\). Therefore the residuals are \(-0.03,\ 0,\ 0.03\), and
Here \(df=3-1=2\), so \(Q/df=2.25\) and the capped multiplier is \(\hat\phi=2.25\). The multiplicative random-effects standard error is \(\sqrt{2.25}(0.1155)=1.5(0.1155)=0.1732\). Using a normal 95% interval for illustration, the fixed-effect interval is \(0.5000\pm1.96(0.1155)=[0.2737,0.7263]\); the multiplicative random-effects interval is \(0.5000\pm1.96(0.1732)=[0.1605,0.8395]\). Both intervals use the same estimate. The second is wider because the observed residual dispersion is greater than the fixed-effect model predicts.
Worked Example: Little residual dispersion does not reduce the capped standard error
Now suppose three hypothetical independent variants each have \(\hat\beta_X=0.10\) and \(s_Y=0.02\), with outcome associations \(0.048,\ 0.050,\ 0.052\). The weighted estimate is the mean of these equally weighted associations divided by \(0.10\):
The fixed-effect standard error is again \(1/\sqrt{75}=0.1155\). The fitted outcome association is \(0.050\) for each variant, so the residuals are \(-0.002,\ 0,\ 0.002\). Thus \(Q=(-0.002/0.02)^2+0^2+(0.002/0.02)^2=0.0200\). With \(df=2\), the raw ratio is \(Q/df=0.0100\), but the stated cap sets \(\hat\phi=1\). The reported multiplicative random-effects standard error is therefore \(0.1155\), not \(0.1155\sqrt{0.0100}=0.01155\). The small observed residuals do not, under this convention, create an artificially precise estimate.
Worked Example: Comparing intervals with unequal instrument strength
Suppose two hypothetical independent variants have \((\hat\beta_{X1},\hat\beta_{Y1},s_{Y1})=(0.10,0.04,0.02)\) and \((\hat\beta_{X2},\hat\beta_{Y2},s_{Y2})=(0.20,0.16,0.04)\). The weights are \(2500\) and \(625\). The estimate and its fixed-effect standard error are
The fitted outcome associations are \(0.060\) and \(0.120\), giving residuals \(-0.020\) and \(0.040\). The dispersion statistic is \(Q=2500(0.020^2)+625(0.040^2)=1+1=2\). Since \(df=1\), \(\hat\phi=2\), and \(SE_{\mathrm{RE}}=\sqrt{2}(0.1414)=0.2000\). Normal 95% intervals are \(0.6000\pm1.96(0.1414)=[0.3228,0.8772]\) and \(0.6000\pm1.96(0.2000)=[0.2080,0.9920]\), respectively. The estimate has units of outcome units per exposure unit; the wider interval reflects extra dispersion, not a different causal-effect scale. With only two variants, the scale estimate is especially unstable because it is based on just one residual degree of freedom.
Interpretation, diagnostics, and alternatives
For a fixed-effect analysis, the uncertainty calculation assumes the observed scatter is adequately explained by the reported outcome-association standard errors. Multiplicative random effects retain the same relative weights and the same estimate, but inflate the variance by a common factor when \(Q/(K-1)>1\). A confidence interval is a measure of uncertainty under the specified model; it is not a probability statement that the fixed causal effect lies in a particular computed interval.
The value of \(Q\) is useful as a diagnostic of fit, but it is not a verdict on the cause of the scatter. A large value may arise from chance, underestimated standard errors, violations of the simple linear relationship, or variant-specific effects not represented by the model. It does not by itself identify which variants are problematic, prove horizontal pleiotropy, or show that the causal estimate is biased. Conversely, a small \(Q\), particularly with few variants, does not prove that the assumptions hold.
| Approach | Point estimate | Uncertainty treatment | Main implication |
|---|---|---|---|
| Fixed-effect IVW | Weighted IVW estimate | Uses \(\phi=1\) | Most precise when the fixed-effect variance model is adequate |
| Multiplicative random-effects IVW | Same weighted IVW estimate | Scales the standard error by \(\sqrt{\hat\phi}\) | Allows excess dispersion while keeping the relative weights |
| Additive random-effects approaches | May differ from fixed-effect IVW | Add a between-variant variance component, often changing relative weights | Represent a different model; not interchangeable with a common multiplicative scale |
The multiplicative approach is convenient when the aim is to retain the IVW point estimate but avoid treating excess scatter as if it were absent. Its limitation follows from that same feature: it widens uncertainty without correcting a systematic shift in the estimate. It also relies on a common dispersion factor and does not account for dependence among variants. The calculations here assume independent variants; when that assumption is not reasonable, the covariance among associations must be incorporated rather than treated as a common scale increase.
Common mistake
A frequent error is to see \(\hat\phi>1\) and multiply the IVW estimate itself by \(\sqrt{\hat\phi}\). That changes the estimated causal effect and is not the multiplicative random-effects procedure. The correction is to leave \(\hat\theta_{\mathrm{IVW}}\) unchanged and multiply its standard error by \(\sqrt{\hat\phi}\); the resulting interval becomes wider while remaining centered at the same estimate. Another error is to interpret the wider interval as evidence that the estimate is unbiased. It only reflects an uncertainty adjustment under the stated model.
Check Your Understanding
Answer each question, then compare with the short solutions.
- If \(Q=12\) for \(K=5\) independent variants, what are \(df\) and the capped multiplicative standard-error factor?
- Why does a common multiplicative variance factor leave the IVW point estimate unchanged?
- Under the convention in this tutorial, what happens to the standard error when \(Q<K-1\)?
- Does a large \(Q\) prove that the IVW causal estimate is biased? Give one reason for your answer.
- A fixed-effect estimate is \(0.30\) outcome units per exposure unit, with standard error \(0.05\), and \(\hat\phi=4\). Give the random-effects standard error and the normal 95% interval.
Solutions. (1) \(df=K-1=4\), so \(Q/df=12/4=3\) and the standard-error factor is \(\sqrt{3}=1.732\). (2) The factor scales every weight by the same constant, which cancels between the numerator and denominator of the weighted estimate. (3) The cap sets \(\hat\phi=1\), so the standard error remains the fixed-effect standard error. (4) No: a large \(Q\) indicates more residual dispersion than the model predicts, but it does not identify its cause or establish bias. (5) The standard error is \(\sqrt{4}(0.05)=0.10\); the interval is \(0.30\pm1.96(0.10)=[0.104,0.496]\) outcome units per exposure unit.