The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

OneSampleMR: One Sample Mendelian Randomization and Instrumental Variable Analyses

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.5
Depends: R (≥ 4.3)
Imports: Formula, gmm, ivreg, lmtest, msm, rlang (≥ 1.0.0)
Suggests: haven, knitr, lfe, rmarkdown, testthat (≥ 3.0.0)
Published: 2024-06-26
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 <remlapmot at hotmail.com>
BugReports: https://github.com/remlapmot/OneSampleMR/issues/
License: GPL (≥ 3)
URL: https://github.com/remlapmot/OneSampleMR, https://remlapmot.github.io/OneSampleMR/
NeedsCompilation: no
Citation: OneSampleMR citation info
Materials: README NEWS
CRAN checks: OneSampleMR results

Documentation:

Reference manual: OneSampleMR.pdf
Vignettes: Comparison fits of the multiplicative structural mean model
Comparison of conditional F-statistics

Downloads:

Package source: OneSampleMR_0.1.5.tar.gz
Windows binaries: r-devel: OneSampleMR_0.1.5.zip, r-release: OneSampleMR_0.1.5.zip, r-oldrel: OneSampleMR_0.1.5.zip
macOS binaries: r-release (arm64): OneSampleMR_0.1.5.tgz, r-oldrel (arm64): OneSampleMR_0.1.5.tgz, r-release (x86_64): OneSampleMR_0.1.5.tgz, r-oldrel (x86_64): OneSampleMR_0.1.5.tgz
Old sources: OneSampleMR archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=OneSampleMR to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.