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 | 
| 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/, https://mrcieu.r-universe.dev/OneSampleMR | 
| NeedsCompilation: | no | 
| Citation: | OneSampleMR citation info | 
| Materials: | README, NEWS | 
| CRAN checks: | OneSampleMR results | 
| Reference manual: | OneSampleMR.html , OneSampleMR.pdf | 
| Vignettes: | Comparison fits of the multiplicative structural mean model (source, R code) Comparison of conditional F-statistics (source, R code) | 
| Package source: | OneSampleMR_0.1.6.tar.gz | 
| Windows binaries: | r-devel: OneSampleMR_0.1.6.zip, r-release: OneSampleMR_0.1.6.zip, r-oldrel: OneSampleMR_0.1.6.zip | 
| macOS binaries: | r-release (arm64): OneSampleMR_0.1.6.tgz, r-oldrel (arm64): OneSampleMR_0.1.6.tgz, r-release (x86_64): OneSampleMR_0.1.6.tgz, r-oldrel (x86_64): OneSampleMR_0.1.6.tgz | 
| Old sources: | OneSampleMR archive | 
Please use the canonical form https://CRAN.R-project.org/package=OneSampleMR to link to this page.