Description Usage Arguments Details Value Author(s) References Examples
Compute score test statistics.
1 | compute_stat(n, Y, X12, beta0, K_gpr, sigma2_hat, tau_hat)
|
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. |
The test statistic is distributed as a scaled Chi-squared distribution.
test_stat |
(numeric) The computed test statistic. |
V0_inv |
(numeric) The computed test statistic. |
Wenying Deng
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.
1 | compute_stat(n = 100, Y, X12, beta0, K_gpr, sigma2_hat, tau_hat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.