hughesevoanth/glsmr: GAM and linear stratified observational and MR estimates of exposure on outcome

A pacakge to derive observational & causal estimates, in a Mendelian Randomization framework, for exposure on outcome relationships that may be non-linear. The package will fit both a linear and a generalized additive model (GAM) to the data, and will stratify your exposure to derive linear estimates for each strata. Non-linearity can be evaluated by testing the GAM to the linear model over the entire data or by evaluating heterogenity in the strata point estimates.

Getting started

Package details

AuthorDavid A Hughes
MaintainerThe package maintainer <d.a.hughes@bristol.ac.uk>
LicenseMIT + file LICENSE
Version1.1.0
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("hughesevoanth/glsmr")
hughesevoanth/glsmr documentation built on May 14, 2023, 3:41 p.m.