compute_stat: Computing Score Test Statistics.

Description Usage Arguments Details Value Author(s) References Examples

Description

Compute score test statistics.

Usage

1
compute_stat(n, Y, X12, beta0, K_gpr, sigma2_hat, tau_hat)

Arguments

n

(integer) A numeric number specifying the number of observations.

Y

(vector of length n) Reponses of the dataframe.

X12

(dataframe, n*(p1\*p2)) The interaction items of first and second types of factors in the dataframe.

beta0

(numeric) Estimated bias of the model.

K_gpr

(matrix, n*n) Estimated ensemble kernel matrix.

sigma2_hat

(numeric) The estimated noise of the fixed effects.

tau_hat

(numeric) The estimated noise of the random effects.

Details

The test statistic is distributed as a scaled Chi-squared distribution.

Value

test_stat

(numeric) The computed test statistic.

V0_inv

(numeric) The computed test statistic.

Author(s)

Wenying Deng

References

Arnab Maity and Xihong Lin. Powerful tests for detecting a gene effect in the presence of possible gene-gene interactions using garrote kernel machines. December 2011.

Examples

1
compute_stat(n = 100, Y, X12, beta0, K_gpr, sigma2_hat, tau_hat)

IrisTeng/CVEK documentation built on May 31, 2019, 4:50 p.m.