doi:10.1016/j.jeconom.2015.06.004> conditional F-statistic, the multiplicative structural mean model Hernán and Robins (2006) <doi:10.1097/01.ede.0000222409.00878.37>, and two-stage predictor substitution and two-stage residual inclusion estimators explained by Terza et al. (2008) <doi:10.1016/j.jhealeco.2007.09.009>.">

OneSampleMR: One Sample Mendelian Randomization and Instrumental Variable Analyses (original) (raw)

Useful functions for one-sample (individual level data) Mendelian randomization and instrumental variable analyses. The package includes implementations of; the Sanderson and Windmeijer (2016) <doi:10.1016/j.jeconom.2015.06.004> conditional F-statistic, the multiplicative structural mean model Hernán and Robins (2006) <doi:10.1097/01.ede.0000222409.00878.37>, and two-stage predictor substitution and two-stage residual inclusion estimators explained by Terza et al. (2008) <doi:10.1016/j.jhealeco.2007.09.009>.

Version: 0.1.6
Depends: R (≥ 4.3)
Imports: Formula, gmm, ivreg (≥ 0.6-5), lmtest, msm, rlang (≥ 1.0.0)
Suggests: haven, knitr, lfe, rmarkdown, testthat (≥ 3.0.0)
Published: 2025-05-21
DOI: 10.32614/CRAN.package.OneSampleMR
Author: Tom Palmer ORCID iD [aut, cre], Wes Spiller ORCID iD [aut], Eleanor Sanderson ORCID iD [aut]
Maintainer: Tom Palmer
BugReports: https://github.com/remlapmot/OneSampleMR/issues/
License: GPL (≥ 3)
URL: https://github.com/remlapmot/OneSampleMR,https://remlapmot.github.io/OneSampleMR/,https://mrcieu.r-universe.dev/OneSampleMR
NeedsCompilation: no
Citation: OneSampleMR citation info
Materials: README, NEWS
CRAN checks: OneSampleMR results

Documentation:

Downloads:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=OneSampleMRto link to this page.