Exploratory analyses showed that genetically proxied inhibition of HMGCR appeared to have a similar effect to long-term statin therapy in modifying the risk of coronary artery disease and type 2 diabetes, suggesting that the HMGCR score might be a reliable model to assess the effect of statin. Here, HMGCR is linked to type 2 diabetes mellitus.