Learn R Programming

CVEK (version 0.1-2)

compute_stat: Computing Score Test Statistics.

Description

Compute score test statistics.

Usage

compute_stat(Y, K_int, y_fixed, K0, sigma2_hat, tau_hat)

Arguments

Y

(matrix, n*1) The vector of response variable.

K_int

(matrix, n*n) The kernel matrix to be tested.

y_fixed

(vector of length n) Estimated fixed effect of the response.

sigma2_hat

(numeric) The estimated noise of the fixed effect.

tau_hat

(numeric) The estimated noise of the kernel effect.

K_0

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

Value

test_stat

(numeric) The computed test statistic.

Details

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

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.