Sample Size Calculator (Continuous outcome)

Result

Parameter interpretation

Power: Study the probability of being able to detect the true effect

Alpha: Type-I error rate, defaults to 0.05

βyx: Regression coefficient, representing the potential causal relationship between exposure and outcome, i.e. the beta value after MR analysis

R2: Explanation of exposure by instrumental variables,The input required is the joint R2, which can be obtained by directly summing the R2 of each of the exposed SNPs to obtain the joint R2, while ensuring that there are no linkage disequilibrium (LD)

Sample Size Calculator (Binary outcome)

Result

Parameter interpretation

Power: Study the probability of being able to detect the true effect

Alpha: Type-I error rate, defaults to 0.05

K: The ratio of cases to controls, for example, if there are 3400 cases and 5000 controls, then the K = 3400/5000 = 0.68.

OR: odds ratio:The effect of the exposure factor on the outcome, i.e. the multiplicative increase in the odds of the outcome occurring when the exposure factor is increased by one unit.

R2: Explanation of exposure by instrumental variables,The input required is the joint R2, which can be obtained by directly summing the R2 of each of the exposed SNPs to obtain the joint R2, while ensuring that there are no linkage disequilibrium(LD)

1. Stephen Burgess, Sample size and power calculations in Mendelian randomization with a single instrumental variable and a binary outcome, International Journal of Epidemiology, Volume 43, Issue 3, June 2014, Pages 922–929, https://doi.org/10.1093/ije/dyu005

2. Stephen Burgess, Simon G Thompson, CRP CHD Genetics Collaboration, Avoiding bias from weak instruments in Mendelian randomization studies, International Journal of Epidemiology, Volume 40, Issue 3, June 2011, Pages 755–764, https://doi.org/10.1093/ije/dyr036