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 [aut, cre], Wes Spiller [aut], Eleanor Sanderson [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 |
Reference manual: | OneSampleMR.pdf |
Vignettes: |
Comparison fits of the multiplicative structural mean model Comparison of conditional F-statistics |
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 |
Please use the canonical form https://CRAN.R-project.org/package=OneSampleMR to link to this page.