CRAN/E | GEint

GEint

Misspecified Models for Gene-Environment Interaction

Installation

About

The first major functionality is to compute the bias in misspecified linear gene-environment interaction models. The most generalized function for this objective is GE_bias(). However GE_bias() requires specification of many higher order moments of covariates in the model. If users are unsure about how to calculate/estimate these higher order moments, it may be easier to use GE_bias_normal_squaredmis(). This function places many more assumptions on the covariates (most notably that they are all jointly generated from a multivariate normal distribution) and is thus able to automatically calculate many of the higher order moments automatically, necessitating only that the user specify some covariances. There are also functions to solve for the bias through simulation and non-linear equation solvers, these can be used to check your work. Second major functionality is to implement the Bootstrap Inference with Correct Sandwich (BICS) testing procedure, which we have found to provide better finite-sample performance than other inference procedures for testing GxE interaction. More details on these functions are available in Sun, Carroll, Christiani, and Lin (2018) doi:10.1111/biom.12813.

Key Metrics

Version 1.0
Published 2022-05-18 709 days ago
Needs compilation? no
License GPL-3
CRAN checks GEint results

Downloads

Yesterday 10 0%
Last 7 days 12 +20%
Last 30 days 53 -21%
Last 90 days 173 -13%
Last 365 days 677 -80%

Maintainer

Maintainer

Ryan Sun

ryansun.work@gmail.com

Authors

Ryan Sun

aut / cre

Richard Barfield

ctb

Material

Reference manual
Package source

Vignettes

GEint Tutorial

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

GEint archive

Imports

mvtnorm
bindata
nleqslv
pracma
speedglm
rje
geepack
stats

Suggests

knitr
rmarkdown
testthat