CRAN/E | OneSampleMR

OneSampleMR

One Sample Mendelian Randomization and Instrumental Variable Analyses

Installation

About

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.

github.com/remlapmot/OneSampleMR
remlapmot.github.io/OneSampleMR/
Bug report File report

Key Metrics

Version 0.1.3
R ≥ 3.6.0
Published 2023-05-03 365 days ago
Needs compilation? no
License GPL (≥ 3)
CRAN checks OneSampleMR results

Downloads

Yesterday 15 +88%
Last 7 days 83 -5%
Last 30 days 289 +4%
Last 90 days 750 -20%
Last 365 days 3.328 +7%

Maintainer

Maintainer

Tom Palmer

remlapmot@hotmail.com

Authors

Tom Palmer

aut / cre

Wes Spiller

aut

Eleanor Sanderson

aut

Material

README
NEWS
Reference manual
Package source

Vignettes

Comparison fits of the multiplicative structural mean model
Comparison of conditional F-statistics

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

OneSampleMR archive

Depends

R ≥ 3.6.0

Imports

Formula
gmm
ivreg
lmtest
msm

Suggests

haven
knitr
lfe
rmarkdown
testthat ≥ 3.0.0