Skip to content

OneSampleMR

One Sample Mendelian Randomization and Instrumental Variable Analyses

v0.1.7 · Mar 9, 2026 · GPL (>= 3)

Description

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>.

Downloads

550

Last 30 days

7330th

1.8K

Last 90 days

6.8K

Last year

Trend: -18.6% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies Formula gmm ivreg lmtest msm rlang OneSampleMR

Version History

new 0.1.7 Mar 10, 2026
updated 0.1.7 ← 0.1.6 diff Mar 8, 2026
updated 0.1.6 ← 0.1.5 diff May 20, 2025
updated 0.1.5 ← 0.1.4 diff Jun 25, 2024
updated 0.1.4 ← 0.1.3 diff Jun 12, 2024
updated 0.1.3 ← 0.1.2 diff May 2, 2023
updated 0.1.2 ← 0.1.1 diff May 10, 2022
updated 0.1.1 ← 0.1.0 diff Apr 27, 2022
new 0.1.0 Nov 11, 2021