If genetic variants have different minor allele frequencies (MAFs), then a better measure of instrument strength can be constructed, as causal estimates from variants with low minor allele frequencies will have low precision. Provided that the genetic associations with the outcome are all estimated on the same individuals, the MAF-correction factors will be proportional to the standard errors of the gene–outcome associations σYj present in equation (3) under the assumption that the variant is in Hardy–Weinberg equilibrium, and so this correction is equivalent to performing Egger regression as a weighted linear regression using the σYj−2 as weights. The MAF-corrected weights are the same as those used by the IVW method in formula (3). If one uses the MAF-corrected weights within Egger regression, the InSIDE assumption must be that they are independent of the direct effects on the outcome. In order to distinguish our novel adaptation of Egger regression to Mendelian randomization from its original context, we will henceforth refer to its general application in this setting as `MR-Egger regression' and Egger's test as the ‘MR-Egger' test.