Package: OneSampleMR 0.1.5.9000

Tom Palmer

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

Authors:Tom Palmer [aut, cre], Wes Spiller [aut], Eleanor Sanderson [aut]

OneSampleMR_0.1.5.9000.tar.gz
OneSampleMR_0.1.5.9000.zip(r-4.5)OneSampleMR_0.1.5.9000.zip(r-4.4)OneSampleMR_0.1.5.9000.zip(r-4.3)
OneSampleMR_0.1.5.9000.tgz(r-4.5-any)OneSampleMR_0.1.5.9000.tgz(r-4.4-any)OneSampleMR_0.1.5.9000.tgz(r-4.3-any)
OneSampleMR_0.1.5.9000.tar.gz(r-4.5-noble)OneSampleMR_0.1.5.9000.tar.gz(r-4.4-noble)
OneSampleMR_0.1.5.9000.tgz(r-4.4-emscripten)OneSampleMR_0.1.5.9000.tgz(r-4.3-emscripten)
OneSampleMR.pdf |OneSampleMR.html
OneSampleMR/json (API)
NEWS

# Install 'OneSampleMR' in R:
install.packages('OneSampleMR', repos = c('https://mrcieu.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/remlapmot/onesamplemr/issues

Pkgdown site:https://remlapmot.github.io

On CRAN:

instrumental-variableinstrumental-variablesmendelian-randomisationmendelian-randomizationmendelianrandomisationmendelianrandomization

6.66 score 19 stars 16 scripts 290 downloads 4 exports 71 dependencies

Last updated 6 hours agofrom:1da9b90aec. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 20 2025
R-4.5-winOKFeb 20 2025
R-4.5-macOKFeb 20 2025
R-4.5-linuxOKFeb 20 2025
R-4.4-winOKFeb 20 2025
R-4.4-macOKFeb 20 2025
R-4.3-winOKFeb 20 2025
R-4.3-macOKFeb 20 2025

Exports:fswmsmmtspstsri

Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecowplotcpp11DerivdoBydplyrexpmfansifarverFormulagenericsggplot2gluegmmgtableisobandivreglabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmsmmunsellmvtnormnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangsandwichscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithrzoo

Comparison fits of the multiplicative structural mean model

Rendered fromcompare-smm-fits.Rmdusingknitr::rmarkdownon Feb 20 2025.

Last update: 2024-08-27
Started: 2021-08-19

Comparison of conditional F-statistics

Rendered fromf-statistic-comparison.Rmdusingknitr::rmarkdownon Feb 20 2025.

Last update: 2024-08-27
Started: 2021-08-19