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.
gxe.test.boosting(model, X, y, Z)
A list containing
Deviance
The deviance used for performing the likelihood-ratio test
p.value
The p-value of the test
A fitted linear.logic
model (i.e., a model created via
fitLinearLogicModel
or fitLinearBoostingModel
)
Matrix or data frame of binary input data. This object should correspond to the binary matrix for fitting the model.
Response vector. 0-1 coding for binary outcomes.
Quantitative covariable supplied as a matrix or data frame
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.