gxe.test.boosting {logicDT}R Documentation

Gene-environment (GxE) interaction test based on boosted linear models

Description

This function takes a fitted linear.logic model and independent test data as input for testing if there is a general GxE interaction. This hypothesis test is based on a likelihood-ratio test.

Usage

gxe.test.boosting(model, X, y, Z)

Arguments

model

A fitted linear.logic model (i.e., a model created via fitLinearLogicModel or fitLinearBoostingModel)

X

Matrix or data frame of binary input data. This object should correspond to the binary matrix for fitting the model.

y

Response vector. 0-1 coding for binary outcomes.

Z

Quantitative covariable supplied as a matrix or data frame

Details

In detail, the null hypothesis

H_0: \delta_1 = \ldots = \delta_B = 0

using the supplied linear model

g(E[Y]) = \beta_0 + \sum_{i=1}^B \beta_i \cdot 1[C_i] + \delta_0 \cdot E + \sum_{i=1}^B \delta_i \cdot 1[C_i] \cdot E

is tested.

Value

A list containing

Deviance

The deviance used for performing the likelihood-ratio test

p.value

The p-value of the test


[Package logicDT version 1.0.4 Index]