Package: OneSampleMR 0.1.6
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:
OneSampleMR_0.1.6.tar.gz
OneSampleMR_0.1.6.zip(r-4.6)OneSampleMR_0.1.6.zip(r-4.5)OneSampleMR_0.1.6.zip(r-4.4)
OneSampleMR_0.1.6.tgz(r-4.6-any)OneSampleMR_0.1.6.tgz(r-4.5-any)
OneSampleMR_0.1.6.tar.gz(r-4.6-any)OneSampleMR_0.1.6.tar.gz(r-4.5-any)
OneSampleMR_0.1.6.tgz(r-4.5-emscripten)
OneSampleMR.pdf |OneSampleMR.html✨
OneSampleMR/json (API)
NEWS
| # Install 'OneSampleMR' in R: |
| install.packages('OneSampleMR', repos = c('https://remlapmot.r-universe.dev', 'https://cloud.r-project.org')) |
Pkgdown/docs site:https://remlapmot.github.io
instrumental-variableinstrumental-variablesmendelian-randomisationmendelian-randomizationmendelianrandomisationmendelianrandomization
Last updated from:23a1f07011. Checks:9 OK. Indexed: no.
| Target | Result | Total time | Artifact |
|---|---|---|---|
| linux-devel-x86_64 | OK | 144 | |
| source / vignettes | OK | 246 | |
| linux-release-x86_64 | OK | 155 | |
| macos-devel-arm64 | OK | 98 | |
| macos-release-arm64 | OK | 114 | |
| windows-devel | OK | 85 | |
| windows-release | OK | 96 | |
| windows-oldrel | OK | 101 | |
| wasm-release | OK | 129 |
Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecowplotcpp11curlDerivdoBydplyrexpmfarverforecastFormulafracdiffgenericsggplot2gluegmmgtableisobandivregjsonlitelabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmsmmvtnormnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquadprogquantmodquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangS7sandwichscalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimeDatetseriesTTRurcautf8vctrsviridisLitewithrxtszoo
Comparison fits of the multiplicative structural mean model
Rendered fromcompare-smm-fits.Rmdusingknitr::rmarkdownon Dec 28 2025.Last update: 2024-08-27
Started: 2021-08-19
Comparison of conditional F-statistics
Rendered fromf-statistic-comparison.Rmdusingknitr::rmarkdownon Dec 28 2025.Last update: 2024-08-27
Started: 2021-08-19
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| OneSampleMR: One Sample Mendelian Randomization and Instrumental Variable Analyses | OneSampleMR-package OneSampleMR onesamplemr |
| Additive structural mean model | asmm |
| Conditional F-statistic of Sanderson and Windmeijer (2016) | fsw fsw.ivreg |
| Multiplicative structural mean model | msmm |
| Summarizing MSMM Fits | print.msmm print.summary.msmm summary.msmm |
| Summarizing TSPS Fits | print.summary.tsps print.tsps summary.tsps |
| Summarizing TSRI Fits | print.summary.tsri print.tsri summary.tsri |
| Two-stage predictor substitution (TSPS) estimators | tsps |
| Two-stage residual inclusion (TSRI) estimators | tsri |
