Title
ivonesamplemr -- commands for one-sample Mendelian randomization (MR) / instrumental variable (IV) analyses.
https://github.com/remlapmot/ivonesamplemr#readme
Commands
ivasmm Is simply a helpfile linking to ivregress and ivreg2, which as linear IV estimators fit the additive structural mean model (ASMM), i.e. estimate a causal risk difference for a binary outcome.
ivlsmm Fits the (double) logistic structural mean model (LSMM), i.e. estimates a causal odds ratio for a binary outcome.
ivmsmm Fits the multiplicative structural mean model (MSMM), i.e. estimates a causal risk ratio for a binary outcome.
ivmw Prefix command which specifies the moving window be applied to the command after the prefix, e.g. ivmw, window(100): ivmsmm ....
ivtsps Fits two-stage predictor substitution (TSPS) estimators.
ivtsri Fits two-stage residual inclusion (TSRI) estimators.
ivxtile Prefix command which performs estimation within quantiles of the first stage residuals.
iv Allows the use of the iv prefix, hence ivlsmm can instead be called as iv lsmm ....
Description
ivonesamplemr is a suite of programs implementing various instrumental variable (IV) estimators for individual level (a.k.a. one-sample) data. These are useful for Mendelian randomization (MR) analyses.
References
Palmer TM, Sterne JAC, Harbord RM, Lawlor DA, Sheehan NA, Meng S, Granell R, Davey Smith G, Didelez V. Instrumental variable estimation of causal risk ratios and causal odds ratios in Mendelian randomization analyses. American Journal of Epidemiology, 2011, 173, 12, 1392-1403. DOI
Author
INCLUDE help ivonesamplemr-author