compute_stat: Computing Score Test Statistics.

Description Usage Arguments Details Value Author(s) References

View source: R/util.R

Description

Compute score test statistics.

Usage

1
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.

Details

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

Value

test_stat

(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.


CVEK documentation built on Jan. 8, 2021, 5:42 p.m.