A power calculator for instrumental variable analyses using a single binary instrument Z to analyse the causal effect of a binary exposure X on a continuous outcome Y in the context of pharmacoepidemiology. Available as an online calculator, as well as packages in both Stata and R.
If you use this tool, please cite:
Walker, V. M., Davies, N. M., Windmeijer, F., Burgess, S., & Martin, R. M. (2017). Power calculator for instrumental variable analysis in pharmacoepidemiology. International Journal of Epidemiology, 46, 1627–1632.