Learn R Programming

PIGE (version 1.1)

LR.inter.cont.boot: Wald test for an interaction term

Description

The LR.inter.cont.boot function performs a Wald test for an interaction term between a continuous variable and a SNP. The function returns the p-value of the Wald test.

Usage

LR.inter.cont.boot(x, formula, data, Z1)

Arguments

x

numeric vector corresponding to the new response variable (from parametric bootstrap)

formula

an object of class "formula" : a symbolic description of the model to be fitted without the interaction term

data

a data frame containing the variables in the model

Z1

name of the variable which is tested in interaction with x (x:Z1)

Value

pvalue of the Wald test for the interaction term