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.

PharmIV

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 pharmacoepidemiologyInternational Journal of Epidemiology46, 1627–1632.